|
SatCat5
|
Parse incoming CBOR telemetry and notify TelemetryWatcher callbacks.
Definition at line 319 of file net_telemetry.h.
#include <net_telemetry.h>
Public Member Functions | |
| void | telem_packet (satcat5::io::LimitedRead &src) |
| The child object MUST call this method for each received message. More... | |
| void | add_watcher (TelemetryWatcher *callback) |
| Manage the list of registered callback objects. | |
| void | remove_watcher (TelemetryWatcher *callback) |
| Manage the list of registered callback objects. | |
Protected Member Functions | |
| TelemetryRx () | |
| Constructor is only accessible to the child object. | |
Private Member Functions | |
| void | telem_item (QCBORDecodeContext *cbor, const QCBORItem &item) |
| Internal callback delivers one item to each watcher. | |
Private Attributes | |
| satcat5::util::List< satcat5::net::TelemetryWatcher > | m_watchers |
| Linked list of registered callback objects. | |
| void TelemetryRx::telem_packet | ( | satcat5::io::LimitedRead & | src | ) |
The child object MUST call this method for each received message.
This API is also used by net::TelemetryLoopback.
Definition at line 184 of file net_telemetry.cc.