cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

New Contributor

Hi forum, I'm working with a CYW94343WWCD1 evaluation board here and my goal is to get the ble_wifi_introducer demo project working  through a terminal interface and without a mobile peer app, like the one included for iOS. what parts of ble_wifi_introducer.c would I need to start modifying to make this happen? I've noticed a few functions which explicitly mention the app, like app_button_event_handler, but besides that I'm not sure where to look.

0 Likes
Reply
1 Solution
Moderator
Moderator

Are you trying to replace the BLE interface with a wired serial UART terminal to enter the SSID & Password ?

  1. If your aim is to only avoid the iOS APP, but still use the BLE interface to enter the WiFi Credentials, that can be done through an app like CYSmart or Light Blue. You just need to identify the correct characteristics to write to.
  2. If you want to use the UART Terminal , you can use the UART snip application and get values needed for the below function call. Line 521 in ble_wifi_introducer.c

int result_wifi_join = wifi_join( (char*)wifi_introducer_char_nw_ssid_value , strlen( (char*)wifi_introducer_char_nw_ssid_value), ap_info.security,

                                               wifi_introducer_char_nw_passphrase_value, strlen( (char*)wifi_introducer_char_nw_passphrase_value ), NULL, NULL, NULL );

Let me know if this is what you were looking for.

Regards
Winston

View solution in original post

2 Replies
Moderator
Moderator

Are you trying to replace the BLE interface with a wired serial UART terminal to enter the SSID & Password ?

  1. If your aim is to only avoid the iOS APP, but still use the BLE interface to enter the WiFi Credentials, that can be done through an app like CYSmart or Light Blue. You just need to identify the correct characteristics to write to.
  2. If you want to use the UART Terminal , you can use the UART snip application and get values needed for the below function call. Line 521 in ble_wifi_introducer.c

int result_wifi_join = wifi_join( (char*)wifi_introducer_char_nw_ssid_value , strlen( (char*)wifi_introducer_char_nw_ssid_value), ap_info.security,

                                               wifi_introducer_char_nw_passphrase_value, strlen( (char*)wifi_introducer_char_nw_passphrase_value ), NULL, NULL, NULL );

Let me know if this is what you were looking for.

Regards
Winston

View solution in original post

New Contributor

Thank you! That's what I was looking for~

0 Likes
Reply