Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.
/ JXBee Public archive

Java library for communicating with Digi XBee modules

Notifications You must be signed in to change notification settings

michaelstoops/JXBee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JXBee project is an open-source software suite intended to make it easy to access Digi™ XBee™ devices from easily-available computing platforms. It provides professional-quality support for high-level software environments to access XBee modules.

JXBee software is written in Java, so the best way to access it is from other Java code. You can call it from other environments via wrappers. JXBee includes command-line tools that deliver functionality directly to the command line, and are also scriptable so they can be called by sh, PowerShell, CGI, cron, inetd, and the like.

JXBee software is licensed under the MIT License. You can use the code for whatever you like--commercial, hobbyist, or whatever--so long as the JXBee source code itself stays under the MIT License.

JXBee is not affiliated with Digi International Inc., owner of the "Digi" and "XBee" trademarks.

What other XBee projects are out there?

What makes JXBee different?

In a word, Wi-Fi. JXBee communicates directly over the air from your computing platform to the XBee module. The other libraries don't target the Wi-Fi family of XBee modules at all. They're missing several major advantages of the Wi-Fi family: interoperability, simplicity and cost.

Interoperability
All of the other XBee libraries expect to communicate with XBee modules via an RS-232 serial cable. Do your users' phones/tablets/desktops have RS-232 ports? Nope, but everybody has Wi-Fi, either internally or via an access point.
Simplicity
Because all the computers talk Wi-Fi directly, you don't need to mess with a serial connection and a matched pair of RF modules. The other XBee families would require the following arrangement:
PC/phone/whatever -> serial dongle -> local XBee -> remote XBee
In contrast, the Wi-Fi modules can use a much simpler arrangement:
PC/phone/whatever -> remote XBee
True, you still have to use a serial connection to initially configure the XBee module, but the same is true for the other modules. Wouldn't it be nice if Digi provided a simple auto-association feature to join all open networks round-robin-style so we could discover and configure them without a serial connection?
Cost
With the other XBee modules, you will need not just one module but two, and an RS-232 dongle too. With a Wi-Fi module, you just need your regular computer and a XBee module. Sure, the Wi-Fi modules themselves are priced at $35 each, where the other units are around $25. But think of the total cost--if you need two ZigBee modules at $25 each, that's $50. A USB serial dongle with an XBee socket is another $25 from SparkFun or $79 from Digi with a ZigBee module.
If you want to easily connect to an XBee module using the computing platform you already have, the Wi-Fi XBee module is the obvious choice.

Why Java?

Platform-independence. Java is everywhere, from cloud platforms to Raspberry Pi and your mobile phone. Java is very widely supported.

About

Java library for communicating with Digi XBee modules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages