![](/images/new-backgrounds/1174957/17495789x1.webp)
13 Protocol 3000
The
This section describes:
∙Kramer Protocol 3000 syntax (see Section 13.1)
∙Kramer Protocol 3000 commands (see Section 13.2)
13.1Kramer Protocol 3000 Syntax
13.1.1Host Message Format
Start |
| Address (optional) | Body |
|
| Delimiter |
| |
|
|
|
|
|
|
|
|
|
# |
| Destination_id@ | Message |
|
| CR |
|
|
|
|
|
|
|
|
|
|
|
13.1.1.1Simple Command
Command string with only one command without addressing:
Start | Body |
| Delimiter |
|
|
|
|
|
|
# | Command SP Parameter_1,Parameter_2,… |
| CR | |
|
|
|
|
|
13.1.1.2Command String
Formal syntax with commands concatenation and addressing:
Start | Address |
| Body |
| Delimiter |
|
|
|
|
|
|
|
|
# | Destination_id@ |
| Command_1 Parameter1_1,Parameter1_2,… |
| CR | |
|
|
| Command_2 Parameter2_1,Parameter2_2,… |
|
|
|
|
|
| Command_3 |
|
|
|
|
|
| Parameter3_1,Parameter3_2,…… |
|
|
|
|
|
|
|
|
|
|
13.1.2Device Message Format
Start |
| Address (optional) | Body |
|
| delimiter |
| |
|
|
|
|
|
|
|
|
|
~ |
| Sender_id@ | Message |
|
| CR | LF | |
|
|
|
|
|
|
|
|
|
13.1.2.1Device Long Response
Echoing command:
Start |
| Address (optional) | Body |
| Delimiter |
| ||
|
|
|
|
|
|
|
|
|
~ |
| Sender_id@ | Command SP [Param1 ,Param2 …] | result |
|
| CR LF | |
|
|
|
|
|
|
|
|
|
CR
LF
SP
=Carriage return (ASCII 13 = 0x0D)
=Line feed (ASCII 10 = 0x0A)
=Space (ASCII 32 = 0x20)
41 | |
|
|