Community news, upcoming events and general discussions
Threads: 34 Posts: 85
Get technical support from the community
Threads: 1251 Posts: 6913
Threads: 16 Posts: 58
Tell us how to make XDK better!
Threads: 35 Posts: 117
Share and discuss community member projects
Threads: 67 Posts: 296
On the workbench main page I clicked on Wlan management and found these errors in the image. I just added the SSID of the network I wanted the device to connect to but it seems it doesnt connect. Can anyone help?
i am not sure what project you are using right now. Is it one of the tutorial projects?
But the Code you posted has a wrong syntax. The XDK is basically a microcontroller. So you have to program it with C code. You can use C89 or C99, both is ok.
Before you are going further in XDK programming i recommand to do a C tutorial to avoid syntax errors.
If you want to add a SSID of you WLAN the code should look something like that:
WlanConnect_SSID_T connectSSID = "yourWlanSsid";
You forgot the semicolons in the end of the lines.
If you have further questions feel free to ask.
Thanks Christian and Franjo,
I realized the mistakes I made due to poor knowledge of C. I wanted to program XDK to connect with my LAN so I could sense temperature and control SonOFF switch automatically, but it seems a long way now. Ill go through C tutorials for refreshers, thank you.