Other Parts Discussed in Thread: CC3135
We are using ti cc3135mod as wifi module.
It supports dual band 2.4GHz and 5gHz, we are using it for both AP mode and STA mode.
We tried using it for smart config to automatically switch between 2.4GHz and 5GHz based on the signal strength.
I mentioned the code I did for connecting the both:
for AP mode:
sl_WlanSet(SL_WLAN_CFG_AP_ID, SL_WLAN_AP_OPT_CHANNEL, 1, (&channel)); // channel setted
for STA mode:
I tried this code, mostly it works only for 2.4GHz,