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 Mode - IDataReceiveListener query | 1 | 566 | April 22, 2016 | |
| XBee APi master library | 1 | 555 | February 9, 2016 | |
| Java ExplicitDataListener stops listening | 1 | 395 | April 20, 2020 | |
| How to display my received data from an xbee with java api master library ? | 1 | 863 | June 4, 2016 | |
| XBee S1 read only the data values from API mode | 3 | 912 | March 16, 2016 |