By the way, the user_interface for the softap structure allocates the ssid as uint8 ssid[32];
So 32 is returned from sizeof() regardless of the string length of the ssid.
9 is returned from os_strlen() for my ssid.
I tried casting and also memcpy, yet still fail to connect to android.
os_sprintf((char *) ssid, "%s", WIFI_AP_NAME);
os_memcpy((char *) apconfig.ssid, ssid, os_strlen(ssid));
It seems that something else is going on. I can see the ssid from my android device, it just refuses to connect.
Thanks for your help. And please let it be know if there are any light bulbs going off...
Cheers!