- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I want to start WiFi as AP with a specific SSID.
My SSID has to be "MyProduct_SNXXXX" where "XXXX" is the serial number of my product
and has to be stored in some non volatile memory (FLASH, EEPROM, uSD).
Using "wifi_config_dct.h" macro is not a good idea.
Solved! Go to Solution.
- Labels:
-
WICED Studio Wi-Fi Combo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Take a look at /43xxx_Wi-Fi/apps/snip/dct_read_write
You can start your application, then set the serial number of whatever that is needed in the WIFI DCT section and then start the AP.
This should solve the requirement that is needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Take a look at /43xxx_Wi-Fi/apps/snip/dct_read_write
You can start your application, then set the serial number of whatever that is needed in the WIFI DCT section and then start the AP.
This should solve the requirement that is needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, it's a good solution,
but If I want to start AP with a SSID defined run-time ?
For example, I want to save the serial number in DCT but I want to build SSID from this serial number, for example in this way
int sn = read_sn_from_dct();
char ssid[10];
sprintf(ssid, "MyProduct_SN%d",sn);
/* start AP */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The same approach can be employed right? Have some ssid during build which you can overwrite in the DCT during runtime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, I understand ... I can write in DCT the new SSID
int sn = read_sn_from_dct();
char ssid[10];
sprintf(ssid, "MyProduct_SN%d",sn);
write_new_ssid ( );
start_AP ( );
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content