MLB-G3002 Terminal User Guide
40
Rev 1.1
- UDP endpoint URL
"sockudp://:<localPort>"
- UDP client URL
"sockudp://<host>:<remotePort>[;port=<localPort>]"
2. Transparent Socket
- Transparent TCP client
"socktcp[s]://<host>:<remotePort>;etx[=<etx-Char>][;timer=<value>]
[;keepidle=<value>][;keepcnt=<value>][;keepintvl=<value>]"
- Transparent UDP client
"sockudp://<host>:<remotePort>;etx[=<etxChar>][;timer=<value>]"
- Transparent TCP Listener
"socktcp://listener:<localPort>;etx[=<etxChar>][;timer=<value>][;autoconnect='0|1']
[;connecttimeout=<value>][;keepidle=<value>][;keepcnt=<value>][;keepintvl=<value>]
[;addrfilter=<filter>]"
Supported parameters for Socket services:
- <host>: IP address in the standard dot format (e.g. "192.168.1.2").
- <remotePort>: 1 ...
2
16
-1 for the remote port number.
- <localPort>: 1 ...
2
16
-1 for the local port number.
- "port": Local port of UDP client:
0: Port number will be assigned from service (default).
- "etx": Parameter is mandatory for Transparent Socket. Otherwise Socket service is
non-transparent.
- "<etxChar>": Specifies the character used to change from transparent access mode
to AT command mode.
range: 1...15,17...255 (16 is not allowed because it is used as DLE (0x10))
If parameter is not set no escaping is configured, thus requiring ++ or DTR
ON-OFF transition for changing to AT command mode. If value is set, the transmitted
bytes are parsed for the DLE (0x10) character followed by the specified <etxChar>
value. If both characters are found the service returns to AT command mode without
transmitting these two bytes (same as +++).