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
devnull
Posts: 473
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

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

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

Post Reply