Skip to content
Set of Java APIs to interact with Digi International's XBee radio frequency modules.
Branch: master
Clone or download
rubenmoral abstract: synchronize method to get next frame ID to avoid multiple t…
…hreads

to increment the counter at the same time

This could fix an issue of a customer getting sometimes an
IllegalArgumentException when sending data (#130).

Signed-off-by: Ruben Moral <ruben.moral@digi.com>
Latest commit a22dbba Jan 28, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
distribution pom.xml: update pom.xml for publishing to JCenter instead of Maven Ce… Sep 6, 2017
examples pom.xml: update pom.xml for publishing to JCenter instead of Maven Ce… Sep 6, 2017
library
.gitignore Implemented the send broadcast data feature. Oct 1, 2014
CONTRIBUTING.md
LICENSE.txt [LICENSE] Added Mozilla Public License 2.0 file. Nov 11, 2014
README.md readme: add references for cellular nb-iot and thread protocols Aug 30, 2017
pom.xml pom.xml: update pom.xml for publishing to JCenter instead of Maven Ce… Sep 6, 2017
release_notes.txt release_notes: update release notes for version 1.2.1 Aug 30, 2017

README.md

XBee Java Library

This project contains the source code of the XBee Java Library, an easy-to-use API developed in Java that allows you to interact with Digi International's XBee radio frequency (RF) modules. This source has been contributed by Digi International.

The project includes the Java source code, unit tests for the library, and multiple examples that show how to use the available APIs. The examples are also available in source code format.

The main features of the library include:

  • Support for ZigBee, 802.15.4, DigiMesh, Point-to-Multipoint, Wi-Fi,
    Cellular, Cellular NB-IoT and Thread XBee devices.
  • Support for API and API escaped operating modes.
  • Support for Android.
  • Management of local (attached to the PC) and remote XBee device objects.
  • Discovery of remote XBee devices associated with the same network as the local device.
  • Configuration of local and remote XBee devices:
    • Configure common parameters with specific setters and getters.
    • Configure any other parameter with generic methods.
    • Execute AT commands.
    • Apply configuration changes.
    • Write configuration changes.
    • Reset the device.
  • Transmission of data to all the XBee devices on the network or to a specific device.
  • Reception of data from remote XBee devices:
    • Data polling.
    • Data reception callback.
  • Transmission and reception of IP, IPv6, CoAP and SMS messages.
  • Reception of network status changes related to the local XBee device.
  • IO lines management:
    • Configure IO lines.
    • Set IO line value.
    • Read IO line value.
    • Receive IO data samples from any remote XBee device on the network.
  • Support for explicit frames and application layer fields (Source endpoint, Destination endpoint, Profile ID, and Cluster ID).

Start Here

The best place to get started is the XBee Java Library documentation.

How to Contribute

The contributing guidelines are in the CONTRIBUTING.md document.

License

Copyright 2017, Digi International Inc.

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, you can obtain one at http://mozilla.org/MPL/2.0/.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Licensing terms for RXTX

GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

See http://www.gnu.org/licenses/lgpl.html

Licensing terms for SLF4J

SLF4J source code and binaries are distributed under the MIT license.

See http://www.slf4j.org/license.html

You can’t perform that action at this time.