SENA Rhio10 User Manual
Page 77
77
par2 = inactivity timeout (sec)
if hostmode = TCP client (tcpc),
par1 = destination IP address,
par2 = destination TCP port,
par3 = cyclic connection interval (min),
par4 = inactivity timeout (sec)
if hostmode = TCP server & client (tcpsc),
par1 = listening TCP_port,
par2 = destination IP address,
par3 = destination TCP port,
par4 = cyclic connection interval (min),
par5 = inactivity timeout (sec)
* set cyclic connection interval to 0 not to use cyclic connection
* set inactivity timeout to 0 for unlimited timeout
To configure the RHIO10 to work as a TCP server, use ‘set’ command as follows:
set host tcps listening_TCP_port inactivity_timeout +
where,
listening_TCP_port: Listening TCP port
Inactivity_timeout: Inactivity timeout in seconds.
> set host tcps 6001 300
OK
>
To configure the RHIO10 to work as a TCP client, use set command as follows:
set host tcpc dest_ip dest_port cyclic_connection_interval inactivity_timeout +
where,
dest_ip = destination IP address
dest_port = destination TCP port
cyclic_connection_interval = cyclic connection interval in minutes
inactivity_timeout = inactivity timeout in seconds.
> set host tcpc 192.168.1.1 6001 10 300
OK
>