In my case, I need to be able to set the country code at runtime specifically, and setting it at compile-time will not be a sufficient solution.
There is already a facility for the user to provide the country information to the system before attempting a wifi AP connection. And I know that we can change the value in dct_wifi_config to change the operation.
I was hoping to get some clarification on what is strictly required and what is recommended to make this change at runtime.
And to slightly complicate things, we are on an ancient version of the SDK (3.1.2) and the wifi FW that is bundled therein. (I think it is updated in later versions of the SDK?)
1 of 1 people found this helpful
Country code setting dynamically is not possible in WICED. Once the firmware downloaded it will configure the values taking from the dct. It is not possible to change the country code unless you reboot the board.
Excellent, that is the answer I was looking for.
Now it means that we have to do the more complicated workaround to deal with this, since we want to be able to support 802.11n-only networks out of the box, but the device needs to know its correct country code first.