I started to use XBee Java API Library from https://docs.digi.com/display/XBJLIB/XBee+Java+Library for my project. I am using Xbee 802.15.4 modules. Can I use this generic XBeeDevice class for my modules or do I have to use Raw802Device class? I can’t make these sample I/O projects work.
When using XBeeJavaAPI library should generic XBeeDevice class work with S1modules or should I use Raw802Device class?
Use the RAW802 device class.