Home/Support/Support Forum/Is there support for MQTT in XBee Cellular 3G?

Is there support for MQTT in XBee Cellular 3G?

+1 vote
As mentioned in Digi Micro python user guide, we are working on the examples mentioned in the user guide, MQTT examples are failed as paho is not defined.
Is there support for MQTT in Xbee Cellular 3G?
asked Apr 9, 2018 in XBee Cellular by Phoenix New to the Community (3 points)

Please log in or register to answer this question.

2 Answers

0 votes
It sounds like you need to install the paho-mqtt library. This is called out on the "Get started with MQTT" page: https://www.digi.com/resources/documentation/Digidocs/90001541/#concepts/c_mqtt.htm
answered Apr 9, 2018 by tckr Veteran of the Digi Community (404 points)
Since XBee cellular supports micropython, is MQTT library comes with pre-loaded in XBee Cellular, if not, do you have any link to upload a python file into XBee cellular or how install this library in XBee Cellular.
Thanks for the reply
0 votes
The XBee Cellular MicroPython builds do not include an MQTT library.

But the recent *0B firmware versions allow for uploading Python modules to a file system on the device. It isn't online yet, but there will eventually be an MQTT library and sample program in this repository:


It's based on the mqtt.simple module from micropython-lib, with some changes to accommodate how XBee Cellular handles SSL sockets.
answered Jul 6, 2018 by TomCollins Veteran of the Digi Community (2,051 points)