On XBee Cellular in API mode how do I tell if remote side closed TCP connection?
It seems like the last thing I get is an RX packet.
On XBee Cellular in API mode how do I tell if remote side closed TCP connection?
It seems like the last thing I get is an RX packet.
The transmit status frame should provide you with that data in the Status byte.
Yes, however I’m not transmitting. Sorry if the question was unclear. I open a connection, send some data, the remote side sends some data and then eventually closes. How would one detect the (remote) close?
Apparently you cannot - as I’ve verified with email support. However I am experimenting with emitting an empty send to “poll” the connection to see if the send gets a “remote closed” error reliably.
No it does not have an option for that.