10 using namespace aruna;
25 auto* buffer =
static_cast<uint8_t *
>(malloc(status->
get_encode_size()));
28 if ((uint8_t) send_err)
const std::map< err_t, char * > err_to_char
err_t start()
start reporter to report all SIS activiry to the watcher over comm channels
status_t status
stores the comm status
virtual uint8_t get_encode_size()
err_t send(port_t to_port, uint8_t *data, size_t data_size, bool wait_for_ack=false)
comm::channel_t * comm_channel
log::channel_t * log_channel
virtual void encode(uint8_t *buffer)
endpoint type of a comm channel
int error(const char *format,...)
log error message
status that is to be reported to the watcher
void alert(status_t *status)
alert watcher with given status_t
static const comm::port_t port