This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Serial LTE Modem MQTT event #XMQTTEVT result codes

Hi there,

We are using the Serial LTE Modem MQTT client.

So when the #XMQTTEVT messages comes in, the first parameter <evt_type>, is documented well here:

However, the second parameter <result> is not documented very well:

Is it documented somewhere which negative value corresponds to what reason?

For example, what would it mean if we get a message in like (or any negative value really):

#XMQTTEVT: 1,-20

Regards,
Frikkie
  • Hello,

    Is it documented somewhere which negative value corresponds to what reason?

    For example, what would it mean if we get a message in like (or any negative value really):

    I don't think there is anything in the documentation how to treat different error codes, but you can look at the errno.h file to get an idea maybe.

Related