Search code examples
xbee

Is client connected on XBee s6b


I have an XBee S6B setup in wireless access mode and physically connected to a Raspberry PI. I connect my laptop to the XBee WiFi access point and I can send data back and forth between the Raspberry PI and the XBee over WiFi.

Can someone tell me if there is a way for the Raspberry PI to know that the laptop has successfully connected or disconnected? Are there any commands the Raspberry PI can send to the XBee to establish if something has connected/disconnected?


Solution

  • There’s no Node Join frame, but if it’s in Access Point mode then you could just periodically ping the other device. You would know its address since there can’t be more than one external device in AP mode.