|
3-phase PV router
|
RF module support for RFM69. More...


Go to the source code of this file.
Namespaces | |
| namespace | SharedRF |
Functions | |
| bool | initialize_rf () |
| Initialize the shared RF module. | |
| RFM69 & | SharedRF::radio () |
| Accessor for the shared RFM69 instance. | |
| template<typename PayloadType> | |
| void | send_rf_data (const PayloadType &data) |
| Send RF data to gateway. | |
Variables | |
| bool | SharedRF::initialized { false } |
| constexpr bool | RF_CHIP_PRESENT { REMOTE_LOADS_PRESENT || RF_LOGGING_PRESENT } |
RF module support for RFM69.
Provides shared RFM69 radio instance and data logging functionality. Can be used standalone for data logging or together with remote loads. RF configuration is centralized in config_rf.h
Definition in file utils_rf.h.
|
inline |
Initialize the shared RF module.
Definition at line 57 of file utils_rf.h.


|
inline |
Send RF data to gateway.
| data | Reference to the telemetry data to send |
Sends telemetry data to the gateway node for data logging. Nothing is sent while the RF module is not initialized: sendResults() retries the initialization once per datalog period, for the remote loads as well. Uses fire-and-forget mode (no ACK) for better performance.
Definition at line 96 of file utils_rf.h.


|
inlineconstexpr |
Definition at line 25 of file utils_rf.h.