Important
Work in progress! "Usage:" and "Examples:" are more like a specification atm.
If a serial port is specified, the server acts as a gateway server (= server with integrated gateway client).
Usage:
phyoip-server PORT [SPCFG DEV BAUD [CONFIG]]
phyoip-server --help
Examples:
phyoip-server 1234
phyoip-server 1234 A,0D0A /dev/ttyS4 115200
phyoip-server 1234 B,1500 COM7 19200
phyoip-server 1234 A,0A,24 COM3 9600 8E2Comma separated list of parameters. The first parameter specifies the protocol type.
ASCII protocols use one or two stop symbols, and optionally one start symbol: A,STOP[,START]. Only the stop symbol may have two characters. The start symbol can not be NULL.
| Symbol | Description |
|---|---|
xx,xxxx |
x has to be a hexadecimal digit |
LF |
Line Feed, 0Ah, 10d |
CR |
Carriage Return, 0Dh, 13d |
CRLF |
CR and LF, 0D0Ah |
NULL |
Null terminator, 00h, 0d |
B,TO[,LEN]
TOtimout as microsecondsLENbyte offset of the length specifier of the message