Schemas / I/O
rig.io.espnow
v1.4.0 · stable maturity: draft 4 fields 0 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
enabled |
bool | optional | Optional. Stack active when true; absent = false |
peer |
string | optional | Optional. Peer MAC, six hex bytes separated by colons. Absent = no peer |
channel |
integer1 – 14 | optional | Optional. 2.4 GHz channel 1-14. Absent = the Wi-Fi radio's current channel |
payload |
string | optional | Optional. Bytes to send, as text. Absent = empty |
ESP-NOW peer and payload. Format when present. The send itself is an action.
The action id espnow.send sends payload to peer. A pending flag and the last result are host cache. ESP-NOW uses the Wi-Fi radio, so a host whose radio mode is off refuses the send. This is not rig.io.osc and not rig.net.replica.
JSON Schema
Resolves at https://rig.works/schemas/rig.io.espnow.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.io.espnow.schema.json",
"title": "rig.io.espnow",
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"$ref": "./_defs.schema.json#/$defs/bool"
},
"peer": {
"$ref": "./_defs.schema.json#/$defs/string"
},
"channel": {
"type": "integer",
"minimum": 1,
"maximum": 14
},
"payload": {
"$ref": "./_defs.schema.json#/$defs/string"
}
},
"x-rig-maturity": "draft"
}