Skip to content

Conversation

@P-R-O-C-H-Y
Copy link
Member

Summary

Implemented all types of Wifi SmartConfig.

Function changed from:
bool beginSmartConfig();
to
bool beginSmartConfig(smartconfig_type_t type = SC_TYPE_ESPTOUCH, char* crypt_key = NULL);

If WiFi.beginSmartConfig(); is called, ESPTOUCH is used as default type.
Or you can specify type nad crypt key (used for ESPTOUCH_V2 only):

char crypt_key[] = "ESPWIFISMARTCONF"; //should be 16 chars lenght
WiFi.beginSmartConfig(SC_TYPE_ESPTOUCH_V2, crypt_key);
SmartConfig types Protocol used
SC_TYPE_ESPTOUCH ESPTouch
SC_TYPE_AIRKISS AirKiss
SC_TYPE_ESPTOUCH_AIRKISS ESPTouch and AirKiss
SC_TYPE_ESPTOUCH_V2 ESPTouch v2

Impact

New types of WiFi SmartConfig supported.

Related links

Closes #5409
Closes #5226

@P-R-O-C-H-Y P-R-O-C-H-Y added Type: Feature request Feature request for Arduino ESP32 Area: BT&Wifi BT & Wifi related issues labels Mar 2, 2022
@P-R-O-C-H-Y P-R-O-C-H-Y requested a review from me-no-dev March 2, 2022 12:44
@P-R-O-C-H-Y P-R-O-C-H-Y self-assigned this Mar 2, 2022
@me-no-dev me-no-dev merged commit e8d6050 into espressif:master Mar 2, 2022
@VojtechBartoska VojtechBartoska added this to the 2.0.3 milestone Mar 2, 2022
@coloz
Copy link

coloz commented Apr 9, 2022

@P-R-O-C-H-Y
How to get custom data?

i try to get the custom data:

  esp_smartconfig_get_rvd_data(rvd_data, sizeof(rvd_data));
  Serial.write(rvd_data,sizeof(rvd_data));

but no work

@P-R-O-C-H-Y P-R-O-C-H-Y deleted the Feature_WifiSmartConfig_new_types_implemented branch April 19, 2023 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: BT&Wifi BT & Wifi related issues Type: Feature request Feature request for Arduino ESP32

Projects

4 participants