6 Replies Latest reply on Aug 20, 2020 12:22 PM by MaSk_4726556

    snip.config_mode using local wifi_config_dct.h behaves differently than using default_wifi_config_dct.h

      I am using snip.config_mode as a starting point or my project and want to use a local wifi_config_dct.h file.  I modified config_mode.mk to include the line

       

      WIFI_CONFIG_DCT_H  := wifi_config_dct.h

       

      and everything builds as expected.

       

      The problem occurs when I run it.  When the default_wifi_config_dct.h is used the program works as expected, the web server is started and it acts as a soft ap, when the local copy is used, the program tries to join the the SSID defined by CLIENT_AP_SSID in the wifi_config_dct.h file.

       

      The problem seems to occur in the function wiced_configure_device() when it calls wiced_dct_read_lock() getting the device_configured state.  When default_wifi_config_dct.h is used, device_configured returns WICED_FALSE, when the local copy (an identical copy) is used WICED_TRUE is returned.

       

      What am I missing?  Is there a document I should be reading?

       

      Thanks in advance