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 ?
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().