Open
Description
The WiFi module documentation states that event callbacks in wifi.sta.config() have names connected_cb and disconnected_cb. Actually (according to the code) they should be named as connect_cb and disconnect_cb. Also, the disconnect_cb callback returns item reason instead of the specified REASON (in wifi.sta.disconnect too).