Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mongoose-os-libs/rpc-service-wifi
https://github.com/mongoose-os-libs/rpc-service-wifi
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mongoose-os-libs/rpc-service-wifi
- Owner: mongoose-os-libs
- License: other
- Created: 2017-08-16T21:45:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-12-15T00:18:29.000Z (about 3 years ago)
- Last Synced: 2024-07-31T21:51:55.102Z (5 months ago)
- Language: C
- Size: 495 KB
- Stars: 2
- Watchers: 7
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mongoose-os - rpc-service-wifi
README
# RPC Service - WiFi
## Wifi.Scan
Scan wifi networks.
Arguments: none.
Example usage:
mos call Wifi.Scan
[
{
"ssid": "my_essid",
"bssid": "12:34:56:78:90:ab",
"auth": 0,
"channel": 1,
"rssi": -25
},
...
]### Authentication ENUM mapping
From mgos_wifi.h
```
enum mgos_wifi_auth_mode {
MGOS_WIFI_AUTH_MODE_OPEN = 0,
MGOS_WIFI_AUTH_MODE_WEP = 1,
MGOS_WIFI_AUTH_MODE_WPA_PSK = 2,
MGOS_WIFI_AUTH_MODE_WPA2_PSK = 3,
MGOS_WIFI_AUTH_MODE_WPA_WPA2_PSK = 4,
MGOS_WIFI_AUTH_MODE_WPA2_ENTERPRISE = 5,
};
```