WLAN connection failes (sometimes)
Answer
7/10/19 8:42 AM

Hi,

 

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

 

0 (0 Votes)
RE: WLAN connection failes (sometimes)
Answer
7/11/19 8:20 AM as a reply to Markus B..

Hi Markus

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

Priyashi

 

 

0 (0 Votes)
RE: WLAN connection failes (sometimes)
Answer
7/11/19 9:10 AM as a reply to Priyashi Yadav.

Hi Priyashi,

 

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.

 

Regards

Kamran

0 (0 Votes)
RE: WLAN connection failes (sometimes)
Answer
7/18/19 1:09 PM as a reply to Markus B..
Noone with an idea how to avoid this issue?
0 (0 Votes)
RE: WLAN connection failes (sometimes)
Answer
7/25/19 1:03 PM as a reply to Markus B..

*Push*

 

0 (0 Votes)