Community news, upcoming events and general discussions
Threads: 36 Posts: 88
Get technical support from the community
Threads: 1427 Posts: 7608
Threads: 18 Posts: 64
Tell us how to make XDK better!
Threads: 36 Posts: 119
Share and discuss community member projects
Threads: 81 Posts: 350
I have trouble with the wlan connection.
I set everything up according to the MQTT Guide and most of the time it works just fine. But sometimes after I flash a new build (I don't change anything regarding the connection) on the device I get an error in the wlan package:
INFO | XDK DEVICE 1: Error in WLAN package. INFO | XDK DEVICE 1: Package ID: 10 INFO | XDK DEVICE 1: Module ID: 3 INFO | XDK DEVICE 1: Severity code: 2 INFO | XDK DEVICE 1: Error code: 1 INFO | XDK DEVICE 1: Unhandled MQTT Event: 2 INFO | XDK DEVICE 1: Unhandled MQTT Event: 3
Sometimes I also get the unhandled MQTT Event 16 and 17.
So far my solution is to restart the xdk and sometimes even the hotspot (I set up a hotspot on my laptop for testing purposes) until the connection can be established.
Did anyone else have this issue and knows why this is happening?
Best regards and thanks in advance
This error is from Simplink wifi library.
Currently in the application when we try to set the IP using DHCP .It fails only when sl_start fails .
The plaform code has a callback mapped to it for notifying user of IP acquisition using DHCP.
This error will come sometimes but not always .
thanks for your answer.
Is there anything I can do to prevent or handle this error? Since every time this error occurs I have to reboot the xdk hoping for it to successfully connect.