Remember
Register
Home
/
Support
/
Support Forum
/
On XBee Cellular in API mode how do I tell if remote end closed TCP connection?
Digi Forum
All Activity
Q&A
Questions
Hot!
Unanswered
Tags
Categories
Users
Ask a Question
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.
All categories
Digi Remote Manager
(358)
Python
(978)
RF Solutions and XBee
(8,101)
Device Cloud-enabled RF Gateways
(93)
XBee3
(362)
IEEE 802.11 (Wi-Fi)
(264)
IEEE 802.15.4
(1,635)
ZigBee PRO Featureset (and legacy ZNet 2.5)
(1,478)
ZigBee Smart Energy Profile 1.1
(110)
DigiMesh Proprietary Mesh Networking
(755)
Multipoint Proprietary
(195)
XLR PRO
(14)
XStream
(40)
XTend
(131)
XCite
(4)
XPress
(8)
Miscellaneous Hardware and Software
(501)
XBee Programmable Development
(763)
XBee Cellular
(104)
MicroPython
(57)
Digi TransPort
(740)
Digi Connect Cellular
(419)
DAL
(2)
Embedded Devices
(4,082)
Rabbit
(3,155)
Console Servers
(341)
Modbus and Industrial Automation
(235)
Realport
(582)
Serial Servers
(810)
Satellite Modules
(25)
USB
(1,226)
Serial Cards
(713)
ConnectPort Display
(54)
Feedback/Wish List
(86)
Other/Legacy
(341)
On XBee Cellular in API mode how do I tell if remote end closed TCP connection?
0
votes
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.
xbee-cellular
tcp
asked
Jun 12, 2017
in
XBee Cellular
by
jas
New to the Community
(
0
points)
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
0
votes
The transmit status frame should provide you with that data in the Status byte.
answered
Jun 12, 2017
by
mvut
Veteran of the Digi Community
(
14,294
points)
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.
Please
log in
or
register
to add a comment.
...