TCP/IP keepalive

From SmartSDR Wiki
Jump to: navigation, search

KEEPALIVE

C[D]<seq_number>|keepalive enable|disable

Example:

C19|keepalive enable

See Response Format for details on the format of the response messages from the radio

Responses
Hex Response Message Debug Output / Meaning
00000000   OK
50000013   Bad Command
5000002C   Incorrect number of parameters

Response Example:

R19|0|

With the TCP Channel Keep-alive mechanism enabled, the radio expects to receive a ping command from the client once per second. If 15 seconds elapse without a ping command, the client will be disconnected and the socket will be closed.