MySensors Library & Examples
2.3.2
|
These options are specific to the nRF5 (with Enhanced ShockBurst) family of wireless transport modules.
The nRF5 driver is OTA compatible with the RF24 driver.
The following chips are supported by this driver:
Macros | |
#define | MY_RADIO_NRF5_ESB |
Define this to use nRF5 based radios for sensor network communication. More... | |
#define | MY_NRF5_ESB_ENABLE_ENCRYPTION |
Define this to enable software based (RF24 compatible) AES encryption. More... | |
#define | MY_DEBUG_VERBOSE_NRF5_ESB |
Define this for verbose debug prints related to the nRF5 driver. | |
#define | MY_NRF5_ESB_PA_LEVEL (NRF5_PA_MAX) |
Default nRF5 PA level. Override in sketch if needed. More... | |
#define | MY_NRF5_ESB_CHANNEL (76) |
RF channel for the sensor net, 0-125. More... | |
#define | MY_NRF5_ESB_MODE (NRF5_250KBPS) |
nRF5 mode. More... | |
#define | MY_NRF5_ESB_BASE_RADIO_ID 0x00, 0xFC, 0xE1, 0xA8, 0xA8 |
nRF5 radio network identifier. More... | |
#define | MY_NRF5_ESB_ADDR_WIDTH (5) |
nRF5 base address width. | |
#define | MY_NRF5_ESB_RX_BUFFER_SIZE (20) |
Declare the amount of incoming messages that can be buffered at driver level. | |
#define | MY_NRF5_ESB_REVERSE_ACK_TX |
Switch to SI24R1 or faked nRF24L01+ compatible ACK mode. ACK bit is reversed on TX side. | |
#define | MY_NRF5_ESB_REVERSE_ACK_RX |
Switch to SI24R1 or faked nRF24L01+ compatible ACK mode. ACK bit is reversed on RX side. | |
#define MY_NRF5_ESB_BASE_RADIO_ID 0x00, 0xFC, 0xE1, 0xA8, 0xA8 |
nRF5 radio network identifier.
This acts as base value for sensor nodeId addresses. Change this (or channel) if you have more than one sensor network.
Definition at line 557 of file MyConfig.h.
#define MY_NRF5_ESB_CHANNEL (76) |
RF channel for the sensor net, 0-125.
Frequencies: 2400 Mhz - 2525 Mhz
Channels: 126
In some countries there might be limitations, in Germany for example only the range 2400,0 - 2483,5 Mhz is allowed.
Definition at line 533 of file MyConfig.h.
#define MY_NRF5_ESB_ENABLE_ENCRYPTION |
Define this to enable software based (RF24 compatible) AES encryption.
All nodes and gateway must have this enabled, and all must be personalized with the same AES key.
Definition at line 2340 of file MyConfig.h.
#define MY_NRF5_ESB_MODE (NRF5_250KBPS) |
nRF5 mode.
Definition at line 546 of file MyConfig.h.
#define MY_NRF5_ESB_PA_LEVEL (NRF5_PA_MAX) |
Default nRF5 PA level. Override in sketch if needed.
Definition at line 509 of file MyConfig.h.
#define MY_RADIO_NRF5_ESB |
Define this to use nRF5 based radios for sensor network communication.
Definition at line 2339 of file MyConfig.h.