xbee-java | Java APIs to interact with Digi International
kandi X-RAY | xbee-java Summary
kandi X-RAY | xbee-java Summary
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.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Main method of the application
- Starts the application
- The main application method
- Main method
- Main entry point for testing purposes
- Main application
- Starts the Echo app
- Sends an explicit data sample to the application
- The main method
- Start the application
- Main method that starts the Bluetooth device
- Sends the application data
- The main method to send CoAP data to the device
- Sends some data to the device
- Start the application asynchronously
- Sends a broadcast data sample
- Simple test method
- Start the application sample
- Main method for sending SMS messages
- Start the application thread
- Returns the APIP packet specific data
- Returns the API parameters
- Returns a byte array specific data
- Returns the parameters for the XMPP protocol
- Writes the data to the connection
- Adds a list of remote devices to the network
- Generates a device ID associated with this address
- Returns the API parameters for the APIP packet
- Returns the parameters for the APIP packet
- Version of the APIAP packet specific data
- Opens the comm port
xbee-java Key Features
xbee-java Examples and Code Snippets
Community Discussions
Trending Discussions on xbee-java
QUESTION
I'm trying to make a simple Xbee example on my Raspberry Pi 3 work, using the XBee Java Lib and its tutorial, but I want to execute it before transforming it to a .jar file. I want just to execute it as a .class file, very simple, after that I want to import it to another project. (I'm not good with Java, as it's possible to see) After compiling I tried to execute it as:
...ANSWER
Answered 2017-Sep-21 at 16:17I've made it through. :D
I had to put in my CLASSPATH the absolute libs path, like /home/pi/.../libs/xbee-java-library-1.2.1.jar:...
After that I had another error, saying about the RXTX lib. To get through that one, I need to do an sudo apt-get install librxtx-java
as it said here
java.library.path location
and run it like this:
java -Djava.library.path=/usr/lib/jni -cp $XBJL_CLASS_PATH:. com.digi.xbee.example.MainApp
Hope it helps someone.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install xbee-java
You can use xbee-java like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the xbee-java component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page