I used ScheduledExecutorsService to update each 5 seconds, and works, but when I changed (.setDIOValue(IOLine.DIO0_AD0, IOValue.LOW) of RemoteXbee, ExecutorsService stops working.
Is there something that works better?
Should I use these interfaces , IPacketListener or IDataListener?
I have 30 Xbee’s + 1 router (antenna) + 1 coordinator ( Raspberry Pi + PiTFT + Lipo Battery 3.7V 6000 mAh + pololu 3.7V to 5V converter).
On Raspbian I have a JavaFX application with a ListView with 30 items, each one associated to a XBee. I want that when the operator touch a item is recovered a rssi value of XBee selected.
I have 30 Xbee’s + 1 router (antenna) + 1 coordinator ( Raspberry Pi + PiTFT + Lipo Battery 3.7V 6000 mAh + pololu 3.7V to 5V converter).
On Raspbian I have a JavaFX application with a ListView with 30 items, each one associated to a XBee. I want that when the operator touch a item is recovered a rssi value of XBee selected.