Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
c3f34970
Unverified
Commit
c3f34970
authored
Oct 14, 2020
by
programminghoch10
Committed by
GitHub
Oct 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed some typos (#4395)
parent
18c33454
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
libraries/WiFi/examples/WPS/WPS.ino
libraries/WiFi/examples/WPS/WPS.ino
+4
-4
No files found.
libraries/WiFi/examples/WPS/WPS.ino
View file @
c3f34970
...
...
@@ -6,7 +6,7 @@ based WPS entry to get your ESP connected to your WiFi router.
Hardware Requirements
========================
ESP32 and a Router having
atleast one
WPS functionality
ESP32 and a Router having WPS functionality
This code is under Public Domain License.
...
...
@@ -63,7 +63,7 @@ void WiFiEvent(WiFiEvent_t event, system_event_info_t info){
WiFi
.
reconnect
();
break
;
case
SYSTEM_EVENT_STA_WPS_ER_SUCCESS
:
Serial
.
println
(
"WPS Successful
l
, stopping WPS and connecting to: "
+
String
(
WiFi
.
SSID
()));
Serial
.
println
(
"WPS Successful, stopping WPS and connecting to: "
+
String
(
WiFi
.
SSID
()));
esp_wifi_wps_disable
();
delay
(
10
);
WiFi
.
begin
();
...
...
@@ -75,7 +75,7 @@ void WiFiEvent(WiFiEvent_t event, system_event_info_t info){
esp_wifi_wps_start
(
0
);
break
;
case
SYSTEM_EVENT_STA_WPS_ER_TIMEOUT
:
Serial
.
println
(
"WPS Time
d
out, retrying"
);
Serial
.
println
(
"WPS Timeout, retrying"
);
esp_wifi_wps_disable
();
esp_wifi_wps_enable
(
&
config
);
esp_wifi_wps_start
(
0
);
...
...
@@ -106,4 +106,4 @@ void setup(){
void
loop
(){
//nothing to do here
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment