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
848f98e5
Commit
848f98e5
authored
Mar 04, 2018
by
Shawn A
Committed by
Me No Dev
Mar 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix event reason logging > 176 (#1132)
off by one
parent
bb8b2554
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libraries/WiFi/src/WiFiGeneric.cpp
libraries/WiFi/src/WiFiGeneric.cpp
+1
-1
No files found.
libraries/WiFi/src/WiFiGeneric.cpp
View file @
848f98e5
...
...
@@ -286,7 +286,7 @@ const char * system_event_names[] = { "WIFI_READY", "SCAN_DONE", "STA_START", "S
#endif
#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_WARN
const
char
*
system_event_reasons
[]
=
{
"UNSPECIFIED"
,
"AUTH_EXPIRE"
,
"AUTH_LEAVE"
,
"ASSOC_EXPIRE"
,
"ASSOC_TOOMANY"
,
"NOT_AUTHED"
,
"NOT_ASSOCED"
,
"ASSOC_LEAVE"
,
"ASSOC_NOT_AUTHED"
,
"DISASSOC_PWRCAP_BAD"
,
"DISASSOC_SUPCHAN_BAD"
,
"IE_INVALID"
,
"MIC_FAILURE"
,
"4WAY_HANDSHAKE_TIMEOUT"
,
"GROUP_KEY_UPDATE_TIMEOUT"
,
"IE_IN_4WAY_DIFFERS"
,
"GROUP_CIPHER_INVALID"
,
"PAIRWISE_CIPHER_INVALID"
,
"AKMP_INVALID"
,
"UNSUPP_RSN_IE_VERSION"
,
"INVALID_RSN_IE_CAP"
,
"802_1X_AUTH_FAILED"
,
"CIPHER_SUITE_REJECTED"
,
"BEACON_TIMEOUT"
,
"NO_AP_FOUND"
,
"AUTH_FAIL"
,
"ASSOC_FAIL"
,
"HANDSHAKE_TIMEOUT"
};
#define reason2str(r) ((r>176)?system_event_reasons[r-17
6
]:system_event_reasons[r-1])
#define reason2str(r) ((r>176)?system_event_reasons[r-17
7
]:system_event_reasons[r-1])
#endif
esp_err_t
WiFiGenericClass
::
_eventCallback
(
void
*
arg
,
system_event_t
*
event
)
{
...
...
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