stephenhouser / node-red-contrib-flexradio

NodeRed nodes for working with FlexRadio 6xxx series software defined radios
Other
9 stars 3 forks source link

Connection to the radio times out after a period of inactivity #10

Open stephenhouser opened 3 years ago

stephenhouser commented 3 years ago

I would like the radio to stay connected even if there is no activity on the command (TCP) channel of communication so that my flow does not have to constantly reconnect.

stephenhouser commented 3 years ago

The radio provides a ping command specifically for this purpose. The Radio object should schedule a timer to ping within the timeout needed to maintain the connection. Also configuration of the timeout should be investigated and adjusted to what seems appropriate.

stephenhouser commented 3 years ago

Workaround is you can send your own ping from your flow.