-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
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
Update wifi event monitor documentation #1889
Conversation
Added a note to `wifi.eventmon.register()` and `wifi.sta.eventmonreg()`
9615615
to
62206e5
Compare
docs/en/modules/wifi.md
Outdated
@@ -398,6 +398,9 @@ none | |||
|
|||
Registers callbacks for WiFi station status events. | |||
|
|||
!!! note | |||
Please update your program to use the [`wifi.eventmon`](#wifieventmon-module) API, as the `wifi.sta.eventmon___()` API is to be depreciated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is to be depreciated
- That should be "deprecated" I guess?
- "to be" confuses me a little here, is it deprecated or not?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That should be "deprecated" I guess?
"to be" confuses me a little here, is it deprecated or not?
You're right, I found this Wikipedia page about deprecation, and it is indeed "deprecated".
So, it seems those functions really are deprecated (sorry, didn't know). How about adding Example usage: |
Done |
* Update wifi event monitor documentation Added a note to `wifi.eventmon.register()` and `wifi.sta.eventmonreg()` * Add deprecation note to `wifi.sta.eventMonReg()`
Update wifi event monitor documentation.
Fixes #1737.
dev
branch rather than formaster
.A lack of information about when the wifi event monitor callbacks should be registered is causing confusion, the new information provided should help to clarify the function of the event monitor .