Hello All,

I am working on an issue and come across a potential bug.  I normally have an Alphanumeric SSID and PWD for my Wi-Fi Hotspot.  With this I have always pretty easily been able to connect to Wi-Fi networks (PSK or Enterprise).  A colleague of mine was having trouble.  In helping him troubleshot I noticed he had a space in his SSID.  With another network he tried to connect to he had an @ in his password and in both cased he could not connect.  I then took code I have working.  Changed the Password to include a special character (the @ symbol) and i could not longer connect with the XDK to my hotspot.

Is there a known exception list of special characters that can/can't work in the SSID, Password and Username fields when trying to connect over Wi-Fi?  Is this a potential bug?  I am using Workbench 3.4.0 on a Windows 10 computer.  Thank you for your help.

Christopher Koch

+1 (1 Vote)
RE: Wi-Fi Connectivity Issues with Special Characters (workbench 3.4)
Answer
11/5/18 5:30 PM as a reply to BCDS Tester.
Dear Chris,

Thank you for reaching out. As far as I am aware of there is no exception list of special characters available yet.
As such, this actually might be a potential bug. I will take a deeper look and report further results.

Until then, I ask you for patience.

Kind regards,
Franjo
0 (0 Votes)
RE: Wi-Fi Connectivity Issues with Special Characters (workbench 3.4)
Answer
11/5/18 5:41 PM as a reply to Franjo Stjepandic.

Thanks Franjo.

I did look at this a little longer today.  I can connect with special characters.  The first time I try to connect to a network with special characters sometimes it takes two attempts though.  I confirmed this by connecting to the XDK on multiple networks with special characters.

This does beg the questions, why does it seem to fail sometimes and connect other times on the same network.  I started to wonder if there is a timeout that needs to be extended.  I know I can add a loop to to continually attempt to reconnect, and I will try and implement something like this today, but a short timeout might explain the root cause.

Christopher Koch

0 (0 Votes)
RE: Wi-Fi Connectivity Issues with Special Characters (workbench 3.4)
Answer
11/6/18 5:10 PM as a reply to BCDS Tester.

The solution seems to stem from using an updated service pack for the CC3100 Wi-Fi module.  I will have to further test this out but going back to an older service pack (2.7.0.0) should fix this issue.  On top of this the timeout issues may be another issue to tackle.  A potential solution and updated Wi-Fi driver is in the works for a future release of the workbench.

Christopher Koch

0 (0 Votes)
RE: Wi-Fi Connectivity Issues with Special Characters (workbench 3.4)
Answer
11/7/18 3:58 PM as a reply to BCDS Tester.
Dear Chris,

Thank you for providing further information.

In regards to the secondary connecting attempts, I might can give you more insight on that. The Wi-Fi API acts normally as non-blocking function with only a short delay. If a connection is not established after the delay the connection attempt automatically fails. As such, inserting further waiting loops for certain events of the Wi-Fi API are helpful to eliminate the connecting issue. Otherwise, calling the Wi-Fi connection function in a secondary timer task could also solve the issue.

Since you mentioned a new service pack, could you please go into detail about the service pack version you are currently using?

Kind regards,
Franjo
0 (0 Votes)