|
Ares LoRa Serial Driver Core
|
#include <ares_lora_serial.hpp>
Public Member Functions | |
| AresLoraConfig (const py::kwargs &kwargs) | |
| AresFrame | generate_frame () const |
Public Attributes | |
| uint32_t | frequency = 0 |
| uint16_t | preamble_length = 0 |
| uint8_t | bandwidth = 0 |
| uint8_t | datarate = 0 |
| uint8_t | coding_rate = 0 |
| int8_t | tx_power = 0 |
LoRa modem configurations.
|
explicit |
Construct from Python kwargs.
| kwargs | Python keyword arguments. |
|
nodiscard |
Generate an AresFrame from the object.
| uint8_t AresLoraConfig::bandwidth = 0 |
The bandwidth to use for transceiving.
| uint8_t AresLoraConfig::coding_rate = 0 |
The coding rate to use for transceiving.
| uint8_t AresLoraConfig::datarate = 0 |
The data-rate to use for transceiving.
| uint32_t AresLoraConfig::frequency = 0 |
Frequency in Hz to use for transceiving
| uint16_t AresLoraConfig::preamble_length = 0 |
Length of the preamble.
| int8_t AresLoraConfig::tx_power = 0 |
TX-power in dBm to use for transmission.