|
Modbus Vault v1.0
|
Implementation of the system routing helpers. More...
#include "router.h"#include "blackbox_logger.h"#include "logger_service.h"#include "slab_pool.h"#include "telemetry_service.h"Functions | |
| static bool | replay_callback (void *arg_void_ptr, const blackbox_logger_entry_view_t *entry_ptr) |
| Publish replay and return error code. | |
| void | router_dispatch (const telemetry_pipeline_record_t *payload_ptr) |
| Dispatch serialized frames. | |
| bool | router_publish_replay (void) |
| Try publishing replays. | |
| void | router_on_replay_available_callback (void) |
| Notify telemetry service that replay is available. | |
Implementation of the system routing helpers.
|
static |
Publish replay and return error code.
| arg_void_ptr | Void pointer to argument |
| entry_ptr | Pointer to log entry |
| void router_dispatch | ( | const telemetry_pipeline_record_t * | payload_ptr | ) |
Dispatch serialized frames.
Dispatch serialized frames to be published if connected or loggger otherwise
| payload_ptr | Pointer to payload |
| bool router_publish_replay | ( | void | ) |
Try publishing replays.
Fetch next logged replay if MQTT connected and try to send it