The Digi XBee family of modules provides wireless connectivity in a range of protocols and form factors. Digi ConnectCore boards have an XBee socket that allows you to connect any through-hole XBee module.
XBee modules have different capabilities depending on the application they are used for.
For example, XBee cellular modules are used to obtain cellular functionality such as Internet access and SMS capabilities. Others are used to create networks using different radio frequency protocols such as Zigbee, Digimesh and 802.15.4. You can see all the available XBee modules here.
These modules have different integration in Digi Embedded Yocto; for example, XBee cellular modules are managed directly by ModemManager. See Configure Digi XBee Cellular. Others need to be managed by the user. One option is to use a library to manage the interface.
XBee Python library
Digi maintains an XBee Python library that can easily be integrated in Digi Embedded Yocto.
You can use the library to control and manage an XBee connected to the ConnectCore 8X.
To include the library, add the following line to your project’s
IMAGE_INSTALL_append = " python3-xbee"
Note the required white space when appending a value to an array variable using the
For more information, see the XBee Python Library.
There are XBee libraries in other languages, although they are not integrated on Digi Embedded Yocto. For more information, see: