()
| 35 | } |
| 36 | |
| 37 | static set mode() @ "xs_wifi_set_mode"; |
| 38 | static get mode() @ "xs_wifi_get_mode"; |
| 39 | static scan(dictionary, callback) @ "xs_wifi_scan"; |
| 40 | static connect(dictionary) @ "xs_wifi_connect"; // no arguments to disconnect |
| 41 | static accessPoint(dictionary) @ "xs_wifi_accessPoint"; |
| 42 | static close() {throw new Error("use WiFi.disconnect()")} // deprecated |
| 43 | static disconnect() {WiFi.connect();} |
| 44 | |
| 45 | static Mode = Object.freeze({ |
no outgoing calls
no test coverage detected