1 Reply Latest reply on Jan 11, 2016 10:17 AM by jayi

    API to setup wifi with SSID,passphrase

    sajid

      I am able to change the setting in wifi_dct_config.h to access the internet

      /* This is the default AP the device will connect to (as a client)*/

      #define CLIENT_AP_SSID       "xxx"

      #define CLIENT_AP_PASSPHRASE "yyy"

       

      I have created a BLE characteristic for a user to provide the ssid/passphrase from a mobile app.

       

      What API call do I make to setup the wifi with the ssid/passphrase I received through ble ?

       

      Sajid

        • 1. Re: API to setup wifi with SSID,passphrase
          jayi

          Hi Sajid,

           

          You will have to modify the configurations for the AP. Please refer to function wifi_join() in Wiced-SDK\libraries\utilities\command_console\wifi\command_console_wifi.c and you will see this procedure done before calling wiced_network_up().

           

          Thanks,

          Jaeyoung

          1 of 1 people found this helpful