Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Wi-Fi Combo Forum Discussions

Anonymous
Not applicable

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

0 Likes
1 Solution
JaeyoungY_71
Employee
100 likes received 50 likes received 25 likes received
Employee

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

View solution in original post

1 Reply
JaeyoungY_71
Employee
100 likes received 50 likes received 25 likes received
Employee

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