- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
Does anyone know where to find example Java code for using the UPM XBee libraries to use with the Intel Edison?
I have searched on https://github.com/intel-iot-devkit/upm GitHub - intel-iot-devkit/upm and http://iotdk.intel.com/docs/master/upm/java/classupm__xbee_1_1_x_bee.html# details upm: XBee Class Reference but it seems there are no examples there.
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello TonyMontes,
Currently an example of xbee using Java hasn't been posted, however the upm- xbee library is available to use. You can find all the commands available in the document you posted above: http://iotdk.intel.com/docs/master/upm/java/classupm__xbee_1_1_x_bee.html# details upm: XBee Class Reference.
Even though there are no examples for Java, there is an example for C++ (https://github.com/intel-iot-devkit/upm/blob/master/examples/c%2B%2B/xbee.cxx xbee.cxx), Python (https://github.com/intel-iot-devkit/upm/blob/master/examples/python/xbee.py xbee.py) and JavaScript (https://github.com/intel-iot-devkit/upm/blob/master/examples/javascript/xbee.js xbee.js), this is probably because support to Java in mraa (and therefore upm) was added in one of its recent updates. In case you are interested in using Java, you could take any of these examples as your base to write your own script in Java. You could also contact the upm developers to ask them to add an xbee example in https://github.com/intel-iot-devkit/upm/issues Issues · intel-iot-devkit/upm · GitHub.
Peter.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello TonyMontes,
Currently an example of xbee using Java hasn't been posted, however the upm- xbee library is available to use. You can find all the commands available in the document you posted above: http://iotdk.intel.com/docs/master/upm/java/classupm__xbee_1_1_x_bee.html# details upm: XBee Class Reference.
Even though there are no examples for Java, there is an example for C++ (https://github.com/intel-iot-devkit/upm/blob/master/examples/c%2B%2B/xbee.cxx xbee.cxx), Python (https://github.com/intel-iot-devkit/upm/blob/master/examples/python/xbee.py xbee.py) and JavaScript (https://github.com/intel-iot-devkit/upm/blob/master/examples/javascript/xbee.js xbee.js), this is probably because support to Java in mraa (and therefore upm) was added in one of its recent updates. In case you are interested in using Java, you could take any of these examples as your base to write your own script in Java. You could also contact the upm developers to ask them to add an xbee example in https://github.com/intel-iot-devkit/upm/issues Issues · intel-iot-devkit/upm · GitHub.
Peter.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page