XBee API

A Java API for Digi XBee/XBee-Pro OEM RF modules
Download

XBee API Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Andrew Rapp
  • Publisher web site:
  • http://code.google.com/u/andrew.rapp/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 5.9 MB

XBee API Tags


XBee API Description

A Java API for Digi XBee/XBee-Pro OEM RF modules The XBee API is a Java API that enables you to communicate with XBee/XBee-Pro series 1 (802.15.4) and series 2 (ZNet 2.5 and ZB/ZigBee Pro) OEM RF Modules, in API mode. The XBee API's objective is to provide a flexible and simple to use API to interact with XBee radios. In terms of flexibility, the goal is to not constrain you to a particular implementation (e.g. GUI, Web App), but instead let you decide how to use it. The XBee API software has been tested on Windows, Mac, and Linux and can run on any other platform that supports Java 5 or greater and RXTX. Here are some key features of "XBee API": · is a Java API for communication with XBee/XBee-Pro series 1 (802.15.4) and series 2 (ZNet 2.5 and ZB/ZigBee Pro) OEM RF Modules, in API mode. The objective of this project is to provide a flexible and simple to use API to interact with XBee radios. In terms of flexibility, the goal is to not constrain you to a particular implementation (e.g. GUI, Web App), but instead let you decide how to use it. This software has been tested on Windows, Mac, and Linux and can run on any other platform that supports Java 5 or greater and RXTX. Requirements: · Java What's New in This Release: · Maximum payload size is no longer enforced for both series 1 and 2 XBees. The reason for this change is the max size varies depending on the firmware. For example ZNet is 72 bytes but ZB Pro is up to 84 bytes and less based on certain configurations such as encryption. A new method (setMaxPayloadSize) was added to allow the user to define a max size. An exception will be thrown during send if the payload size exceeds the user defined limit. · Renamed TX_16_STATUS_RESPONSE to TX_STATUS_RESPONSE in ApiId to eliminate potential confusion as it also applies to 64 bit addressing · Added NodeDiscover class for Series 1 XBees · Added example of using NodeDiscover for series 2: NodeDiscoverTest.java · Added isSuccess() method to TxStatusResponse (series 1) and ZNetTxStatusResponse (series 2) · Added NO_RESPONSE (4) status response enum that is new in series 1 10C8 firmware · Renamed MAX_PAYLOAD_SIZE to ZNET_MAX_PAYLOAD_SIZE since it Added ZbForceSample class. Going forward I'll use the generic ZB (ZigBee) prefix instead of ZNet. Except where noted, both ZNet and ZB Pro firmware apply to all ZNet and ZB classes · Fixed bug with node id. Thanks to Nerio Montoya for reporting · Added INFO log level for packets going in/out of the serial. this will make it easier to analyze traffic w/o the verbosity of the debug level · Added equals implementation for 64-bit address to resolve RuntimeException issue · XBee now stops parsing packets when serial cable is disconnected. Previously RXTX would go bonkers and fill up your hard drive with log errors · Added isAddressBroadcast and isPanBroadcast methods for series 1 RX · Added new ZB PRO specific status to tx status response class · Replaced toChar with toString in byte utils · Added ZB Pro manual and updated other manuals. · Modified ZNetRemoteAtRequest to subclass AtCommand and ZNetRemoteAtResponse to subclass AtCommandResponse. To perform this change it was necessary to change the return type of the getStatus method in AtCommandResponse from int to Status (enum). If you are using the isOk() method then no change is required. · Created interface IXBee.java for XBee.java · Added all pins to XBeePins.java · Added abbreviated contructors for TX classes · Added isConnected method to XBee class · Added ZBForceSampleRequest class and corresponding example · Cleaned up examples · Added WPAN I/O Samples example · Added ZNet/ZB Pro I/O Samples example · Removed redundant synchronous send example


XBee API Related Software