55: WiFi Scan
Header
| Field | Name | Description | Type |
|---|---|---|---|
| 5 | Method | Request a service to be perform an action Possible values:
| uint8 |
Payload
| Field | Name | Description | Type | Unit |
|---|---|---|---|---|
| 1 | SSID | SSID of the access point | ascii | |
| 2 | MAC | MAC Address of the access point, as 6 bytes | bytes | |
| 3 | RSSI | Signal strength of the access point | int8 | |
| 4 | Channel | WiFi channel of the access point | uint8 |
Examples
Subscribe to WiFi scan results
📡 Real example from RH2 P1 v2296 on 2025-10-14This example is captured from an RH2 device as part of normal communications over I2C with the ESP32 co-processor, where P1 subscribes to WiFi scan results from Toit on the ESP32.
WiFi scan result
📡 Real example from RH2 ESP32 Toit on 2025-10-14This example is captured from an RH2 device as part of normal communications over I2C with the ESP32 co-processor, after WiFi scan results were subscribed to from P2, and a WiFi access point was found, sent back to P1.
Code
For convenience, the following constants can be used to reference this message type.