We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why do the upper reason codes not align with the bottom.
[W][WiFiGeneric.cpp:298] _eventCallback(): Reason: 202 - ASSOC_FAIL
WIFI_REASON_BEACON_TIMEOUT = 200, WIFI_REASON_NO_AP_FOUND = 201, WIFI_REASON_AUTH_FAIL = 202, WIFI_REASON_ASSOC_FAIL = 203, WIFI_REASON_HANDSHAKE_TIMEOUT = 204,
EDIT: ohhhh Ok so maybe its just reason2str that is wrong..
Should this maybe be 0 indexed instead, so (r-176)-1 #define reason2str(r) ((r>176)?system_event_reasons[r-177]:system_event_reasons[r-1])
#define reason2str(r) ((r>176)?system_event_reasons[r-177]:system_event_reasons[r-1])
The text was updated successfully, but these errors were encountered:
Closed due it's fixed here: #1132
Nice PR!
Sorry, something went wrong.
No branches or pull requests
Why do the upper reason codes not align with the bottom.
[W][WiFiGeneric.cpp:298] _eventCallback(): Reason: 202 - ASSOC_FAIL
EDIT: ohhhh
Ok so maybe its just
reason2str that is wrong..
Should this maybe be 0 indexed instead, so (r-176)-1
#define reason2str(r) ((r>176)?system_event_reasons[r-177]:system_event_reasons[r-1])
The text was updated successfully, but these errors were encountered: