|
M5Unit-RF433 0.1.0 git rev:5415b86
|
SYN531R unit. More...
#include <unit_SYN531R.hpp>
Classes | |
| struct | config_t |
| Settings for begin. More... | |
Public Types | |
| using | container_type = rf433::container_type |
Public Member Functions | |
| virtual bool | begin () override |
| Initialize the receiver unit. | |
| virtual void | update (const bool force=false) override |
| Update the receiver unit. | |
| std::shared_ptr< rf433::ProtocolCodec > | codec () |
| Get codec (for codec-specific configuration) | |
| void | setCodec (std::shared_ptr< rf433::ProtocolCodec > codec) |
| Set protocol codec (default: M5Codec) | |
Configuration for begin | |
| config_t | config () |
| Gets the configuration. | |
| void | config (const config_t &cfg) |
| Set the configuration. | |
Data | |
| size_t | available () const |
| Gets the number of stored data. | |
| bool | empty () const |
| Is empty stored data? | |
| uint8_t | oldest () const |
| Retrieve oldest stored data. | |
| uint8_t | latest () const |
| Retrieve latest stored data. | |
| void | discard () |
| Discard the oldest data accumulated. | |
| void | flush () |
| Discard all data. | |
| const container_type & | container () const |
| Gets the received container reference. | |
Protected Member Functions | |
| bool | read_data () |
SYN531R unit.
RF433 Receiver