MetaWear C++ API
0.20.0
C++ implementation of the MetaWear protocol
|
Callback functions for handling notifications from the logger. More...
#include <logging.h>
Public Attributes | |
void * | context |
Pointer to additional data for the callback functions. | |
void(* | received_progress_update )(void *context, uint32_t entries_left, uint32_t total_entries) |
Called when a progress update is received. More... | |
void(* | received_unknown_entry )(void *context, uint8_t id, int64_t epoch, const uint8_t *data, uint8_t length) |
Called when a log entry has been received but cannot be matched to a log handler. More... | |
MblMwFnData | received_unhandled_entry |
Called when a log entry has been received but has no MblMwFnData pointer to forward the data to. | |
Callback functions for handling notifications from the logger.
void(* MblMwLogDownloadHandler::received_progress_update) (void *context, uint32_t entries_left, uint32_t total_entries) |
Called when a progress update is received.
context | Pointer to the context field |
entries_left | Number of entries left to download |
total_entries | Total number of entries |
void(* MblMwLogDownloadHandler::received_unknown_entry) (void *context, uint8_t id, int64_t epoch, const uint8_t *data, uint8_t length) |
Called when a log entry has been received but cannot be matched to a log handler.
context | Pointer to the context field |
id | Id of the received log entry |
epoch | Number of milliseconds since epoch |
data | Byte array holding the data |
length | Length of the array |