I am using the "SendDataOverMqtt" example. It is working well with my wifi. But now i have to use it in enterprise wifi. I have certificate file in .pem format. but I am not where and how to put it. From the not of WLAN_Enable() function, I found this:
If setup->IsHostPgmEnabled was enabled at the time of WLAN_Setup, then WLAN chip programming for dummy
certificate will be enabled (programmed) as well.WLAN_Setup must have been successful prior.This is a blocking call and will
connect to the WLAN network.Do not call this API more than once.For enterprise connection (IsEnterprise-true), wifi
connection can be authenticated (EnterpriseAuth-true). For WiFi connection authentication, ensure certificate is stored in
WiFi chip as /cert/ca.pem
Should I make a cert folder and put the .pem file in as ca.pem ?
Hello mainul,
this certificate is loaded into the XDK using the SD card.
Hi,
So I made a cert folder in the root of sd card and put the ca.pem file in that folder. Then followed the instruction of this page (from bosch site).
I exported the WiFi_firmware_update.zip and first flash and run the WifiHostProrammer. This output the messages "writing certificate /cert/ca.pem...file write complete" message. So this means the wifi module has been upgraded and the certificate has been read successfully. Then I flash and run the EnterprizeWifi. But the connection to the wifi is not established. Also no error messages.
What might go wrong?