MSW Wifi connection for XDK
Answer
6/27/18 6:03 AM
Hello there, may i ask whether XDK can connect to MSW network of Bosch and upload the data to cloud as normal? If yes, how to configure the "config.txt" while the MSW account require the username/password credential (not only SSID and password as instructed in the Wifi Guide)?
0 (0 Votes)
RE: MSW Wifi connection for XDK
Answer
6/27/18 4:00 PM as a reply to Nhan Nguyen.
Hello Nhan,

I assume that you are referring to the BoschXdkCloudConnectivity example .

Please note that the Bosch network is an enterprise network.
Unfortunately, this example does not provide a simple setup for an Enterprise WiFi, hence there are no configuration items for Enterprise WiFi.

If you intend to use the XDK example within an Enterprise WiFi network, you can feel free to implement it yourself. An example implementation for Enterprise WiFi can be found in this thread .

If you simply wish to try out the example, you could create a hotspot using a smartphone (or anything else capable of hosting a WiFi access point) and connect to the resulting WiFi network.

Please tell me if this was helpful, and do not hesitate to ask further questions.

Kind regards,
Franjo
0 (0 Votes)
RE: MSW Wifi connection for XDK
Answer
7/19/18 5:45 AM as a reply to Franjo Stjepandic.

Hello Franjo,

Following the thread but I have a problem when defining security type in EnterpriseWifi.h.This is my enterprise wifi information:

  • SSID: MSW_Access
  • EAP Method: PEAP
  • Phase 2 authentication: MSCHAPV2

I read wlan.h but I was confused.Could you pls help me define the line #define SEC_TYPE ? Thanks !

0 (0 Votes)
RE: MSW Wifi connection for XDK
Answer
7/19/18 2:49 PM as a reply to Nhan Tran Dinh.
Hello Nhan,

I can gladly assist you with that. The parameter SEC_TYPE describes the type of network you try to connect to.

In your case, it is a WPA2 Enterprise network. As such, a five would need to be passed into the struct secParams to represent the configuration for WPA2 Enterprise. Alternatively, you could also pass the define SL_SEC_TYPE_WPA_ENT into it which is equal to five and is provided by the simplelink interface wlan.h .

You can find the interface by navigating to the following folder in the SDK of the XDK:

SDK > xdk110 > Libraries > WiFi > 3rd-party > TI > simplelink > include

Please let me know if this was helpful and feel free to ask if you have further questions.

Kind regards,
Franjo
0 (0 Votes)
RE: MSW Wifi connection for XDK
Answer
7/20/18 6:17 AM as a reply to Franjo Stjepandic.

Hi Franjo,

Thanks for your helping ! I passed 0x05 into SEC_TYPE and flashed the program but it didn't work.XDK console stopped after the line " XDK DEVICE 2: Set IP setting to DHCP succeeded" there was no IP address or MAC address.Any ideas ?

0 (0 Votes)