SYN115 unit.
More...
#include <unit_SYN115.hpp>
|
|
virtual bool | begin () override |
| |
|
virtual void | update (const bool force=false) override |
| |
| bool | push_back (const uint8_t *data, const uint32_t len) |
| |
| bool | send (const uint8_t burst_transmission_count=4) |
| | Send force if exists payload.
|
| |
|
void | clear () |
| | Clear inner buffer.
|
| |
|
|
config_t | config () |
| | Gets the configration.
|
| |
|
void | config (const config_t &cfg) |
| | Set the configration.
|
| |
|
|
rf433::communication_identifier_t | communicationIdentifier () const |
| | Get communication identifier.
|
| |
|
void | setCommunicationIdentifier (rf433::communication_identifier_t id) |
| | Set communication identifier.
|
| |
|
|
void | clear_rmt_buffer () |
| |
|
TickType_t | estimate_tx_timeout_ticks (const uint32_t margin_ms=10) const |
| |
|
|
m5::utility::CRC8_Checksum | _crc8 {} |
| |
|
uint16_t | _payload_size {} |
| |
SYN115 unit.
RF433 Transmitter
◆ push_back()
| bool m5::unit::UnitSYN115::push_back |
( |
const uint8_t * | data, |
|
|
const uint32_t | len ) |
- Parameters
-
| Push | back to payload |
| data | Input data buffer |
| len | Length of data buffer |
- Returns
- True if successful
◆ send()
| bool m5::unit::UnitSYN115::send |
( |
const uint8_t | burst_transmission_count = 4 | ) |
|
Send force if exists payload.
- Parameters
-
| burst_transmission_count | Count of burst transmission |
- Returns
- True if successful
- Note
- The payload will be empty if successful