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

MQTT check_msg() Assertion Error - Bug ?

Postby 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.

Return to “General Discussion and Questions”

Who is online

Users browsing this forum: No registered users and 2 guests