In the xbee java api, all the examples that retrieve data from an Xbee device using a listener demonstrate how to get the data from the xbee message. But then they just print the data from within the listener. They don’t show how to actually get the data back to your main program. Apparently, you can’t use global variables within a listener. Any help or examples would be appreciated.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
XBee APi master library | 1 | 542 | February 9, 2016 | |
xbee: Receiving data in interrupts | 1 | 1029 | September 3, 2015 | |
How to display my received data from an xbee with java api master library ? | 1 | 846 | June 4, 2016 | |
How do I receive data from an existing xbee network to the XBee Gateway? | 2 | 381 | September 4, 2020 | |
How do you access different frame fields of data sent to XBee Socket on Gateway | 0 | 456 | October 20, 2017 |