
Client server protocol
The instrument provides the information and will send a response on every command from the HOST. Every request from the
HOST is acknowledged by 0, 1 or more responses and a prompt. See examples 1 to 3. The instruments transmit a status message
periodically. A status message should not be acknowledged by the HOST (see example 4).
The application protocol
• Presentation: All data transfers will use 7 bit or 8 bit printable ASCII code.
• Application: The application protocol is a set of commands and responses.
Command structure
Commands, also referred as requests, are sent from the HOST to the instrument. After each request a response is sent by the
instrument. Commands are processed after receiving the linefeed. Carriage returns are discarded. Commands are case sensitive.
Commands must start with a dot
.
Optional parameters are separated by spaces or semicolons.
The instrument will send the
.OK;
prompt, after every command or response.
Show hostname
The command:
.show hostname;
will show the network hostname of the instrument. The hostname is a text string consisting of
the instrument type and a 6-character serial number: <type><serial>
Arguments (none)
Example
Request:
.show hostname;
Response:
.hostname=RaZON140123; .ok;
Direction
Client (host)
Server (instrument)
Example 1
Action host
Request
Response
Action instrument
→
Transmit request Request
Process request
←
Prompt Acknowledge
Example 2
→
Transmit request Request
Process request
←
Response
Send response
←
Prompt Acknowledge
Example 3
→
Transmit request Request
Process request
←
Response1 Send response 1 to 3
←
Response2
←
Response3
←
Prompt
Acknowledge
Example 4
←
Status
Send status
Содержание RaZON+
Страница 1: ...RaZON Solar Monitoring System Instruction Manual ...
Страница 2: ...2 ...
Страница 4: ...4 ...
Страница 6: ...6 ...
Страница 12: ...12 ...
Страница 42: ...42 ...
Страница 44: ...44 ...
Страница 50: ...50 ...
Страница 52: ...52 ...
Страница 71: ...71 Example of a logged ASCII data file via Wi Fi Logging Eport Log File ...