MQTT check_msg() Assertion Error - Bug ?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
User avatar
Posts: 142
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall

MQTT check_msg() Assertion Error - Bug ?

Post by devnull » Fri Feb 24, 2017 1:52 am

I am using the check_msg() to retrieve any waiting messages, and it crashes whenever it receives one.

I suspect that the cause is the QOS which is set on the incoming message and the umqtt_simple library is not handling it ??

Code: Select all

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "dev/", line 32, in <module>
  File "dev/", line 20, in connect
  File "/lib/", line 192, in check_msg
  File "/lib/", line 185, in wait_msg
Last edited by devnull on Fri Feb 24, 2017 1:24 pm, edited 1 time in total.

Post Reply