Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I've been unable to modify the wifi config section of the DCT.
The modification appears to be successful. The failure occurs when I make the wiced_network_up() call following the DCT modification. The board fails to connect three times and then returns the 1024 error code.
I'm using the dct_read_write snip as a starting point.
Below is a stripped down version of the dct_read_write snip that modifies the network name & password before connecting to the network.
I'm not sure if I'm supposed to use the strcpy() function to modify the dct_wifi_config->stored_ap_list.details.SSID.value & dct_wifi_config->stored_ap_list.security_key variables. I saw this line ( strcpy( app_dct->string_var, modified_string_var ); ) in the dct_read_write snip, and was hoping they all work the same way.