MQTT with MicroMod Asset Tracker

Hi all!

I’ve been trying to set up my board to send MQTT messages for a few days now, without success. The connect to the broker seems to work somehow, but somehow not. When I disconnect, I see the last-will message, but when I try to send a message, I just get an error message (“+CME ERROR: operation not allowed”). In the meantime, is there perhaps a working example somewhere.

Best regards,

Thomas

I think you’re maybe looking for these?

https://github.com/u-blox/ubxlib/tree/m … qtt_client

https://github.com/sparkfun/MicroMod_As … n/Examples

Thanks so far!

I would like to stay in the Arduino world.

I can’t find any documentation for the API of the SPARKFUN_SARA-R5 library. So I first tried to connect to my MQTT broker with the Asset Tracker Update Tool and m-center via AT commands. But here I have the described problems.

From SPARKFUN there seems to be no example for the usage of the Asset Tracker Carrierboard with MQTT. What I find a bit strange, because probably this is the preferred communication method of everyone.

Greetings,

Thomas