File tree 3 files changed +9
-4
lines changed 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ void setup() {
35
35
}
36
36
*/
37
37
38
- WiFi.beginSmartConfig (hmacResult); // Enter param (byte hmacResult[32])
39
-
38
+ // WiFi.beginSmartConfig(hmacResult); //Enter param (byte hmacResult[32])
39
+ WiFi. beginSmartConfig ();
40
40
// --------------------------------------------------------------------
41
41
42
42
// Wait for SmartConfig packet from mobile
Original file line number Diff line number Diff line change @@ -621,7 +621,9 @@ bool WiFiSTAClass::_smartConfigStarted = false;
621
621
bool WiFiSTAClass::_smartConfigDone = false ;
622
622
623
623
624
- bool WiFiSTAClass::beginSmartConfig (byte hmac_key[32 ]) {
624
+ // bool WiFiSTAClass::beginSmartConfig(byte hmac_key[32]) {
625
+ bool WiFiSTAClass::beginSmartConfig () {
626
+
625
627
if (_smartConfigStarted) {
626
628
return false ;
627
629
}
Original file line number Diff line number Diff line change @@ -87,7 +87,8 @@ class WiFiSTAClass
87
87
static bool _autoReconnect;
88
88
89
89
public:
90
- bool beginSmartConfig (byte hmac_key[32 ]); // Include param (byte hmacResult[32])
90
+ // bool beginSmartConfig(byte hmac_key[32]); //Include param (byte hmacResult[32])
91
+ bool beginSmartConfig ();
91
92
bool stopSmartConfig ();
92
93
bool smartConfigDone ();
93
94
@@ -96,6 +97,8 @@ class WiFiSTAClass
96
97
static bool _smartConfigDone;
97
98
static void _smartConfigCallback (uint32_t status, void * result);
98
99
100
+ // static bool _checkHmacResult();
101
+
99
102
};
100
103
101
104
You can’t perform that action at this time.
0 commit comments