MySensors Library & Examples
2.3.2-62-ge298769
|
MySensors capabilities indications.
At node startup, a capabilities string is shown as part of the initialization logs. This string indicate what configuration the node is running with.
The string symbols are ordered in the following way:
Setting | Reset | Radio | OTA | Node | Architecture | Signing | Buffering | Encryption |
---|---|---|---|---|---|---|---|---|
Indicator | MY_CAP_RESET | MY_CAP_RADIO | MY_CAP_OTA_FW | MY_CAP_TYPE | MY_CAP_ARCH | MY_CAP_SIGN | MY_CAP_RXBUF | MY_CAP_ENCR |
Files | |
file | MyCapabilities.h |
Macros | |
#define | MY_CAP_RESET "R" |
Indicate the remote reset setting. More... | |
#define | MY_CAP_OTA_FW "N" |
Indicate the OTA update setting. More... | |
#define | MY_CAP_RADIO "-" |
Indicate the type of transport selected. More... | |
#define | MY_CAP_TYPE "N" |
Indicate the type of node. More... | |
#define | MY_CAP_ARCH "-" |
Indicate the architecture. More... | |
#define | MY_CAP_SIGN "-" |
Indicate the signing backend used. More... | |
#define | MY_CAP_RXBUF "-" |
Indicate the rx message buffer setting. More... | |
#define | MY_CAP_ENCR "-" |
Indicate the encryption setting. More... | |
#define | MY_CAPABILITIES MY_CAP_RESET MY_CAP_RADIO MY_CAP_OTA_FW MY_CAP_TYPE MY_CAP_ARCH MY_CAP_SIGN MY_CAP_RXBUF MY_CAP_ENCR |
This is the resulting capabilities string. More... | |
#define MY_CAP_ARCH "-" |
Indicate the architecture.
Architecture | Indicator |
---|---|
SAMD | S |
nRF5 | N |
ESP8266 | E |
ESP32 | F |
AVR | A |
STM32F1 | M |
TEENSY | T |
Linux | L |
Unknown | - |
Definition at line 175 of file MyCapabilities.h.
#define MY_CAP_ENCR "-" |
Indicate the encryption setting.
Setting | Indicator |
---|---|
Enabled | X |
Disabled | - |
Definition at line 232 of file MyCapabilities.h.
#define MY_CAP_OTA_FW "N" |
Indicate the OTA update setting.
Setting | Indicator |
---|---|
Enabled | O |
Disabled | N |
Definition at line 78 of file MyCapabilities.h.
#define MY_CAP_RADIO "-" |
Indicate the type of transport selected.
Radio | Indicator |
---|---|
nRF24/nRF5 | N |
RFM69 (old) | R |
RFM69 (new) | P |
RFM95 | L |
RS485 | S |
None | - |
Definition at line 112 of file MyCapabilities.h.
#define MY_CAP_RESET "R" |
Indicate the remote reset setting.
Setting | Indicator |
---|---|
Enabled | R |
Disabled | N |
Definition at line 60 of file MyCapabilities.h.
#define MY_CAP_RXBUF "-" |
Indicate the rx message buffer setting.
Setting | Indicator |
---|---|
Enabled | Q |
Disabled | - |
Definition at line 214 of file MyCapabilities.h.
#define MY_CAP_SIGN "-" |
Indicate the signing backend used.
Signing backend | Indicator |
---|---|
ATSHA204 | A |
Software | S |
No signing | - |
Definition at line 196 of file MyCapabilities.h.
#define MY_CAP_TYPE "N" |
Indicate the type of node.
Node type | Indicator |
---|---|
Gateway | G |
Repeater | R |
Passive | P |
Node | N |
Definition at line 136 of file MyCapabilities.h.
#define MY_CAPABILITIES MY_CAP_RESET MY_CAP_RADIO MY_CAP_OTA_FW MY_CAP_TYPE MY_CAP_ARCH MY_CAP_SIGN MY_CAP_RXBUF MY_CAP_ENCR |
This is the resulting capabilities string.
Definition at line 242 of file MyCapabilities.h.