|
PebbleOS
|
Record header and session structure. More...
Data Structures | |
| struct | PLogSession |
| Protobuf log session, behind a ProtobufLogRef. More... | |
Record header and session structure.
| struct PLogMessageHdr |
| struct PLogSession |
Protobuf log session, behind a ProtobufLogRef.
| Data Fields | ||
|---|---|---|
| ProtobufLogConfig | config | Configuration, with the measurement types copied after the structure. |
| uint8_t * | data_buffer | Encoded data accumulated so far (a measurement set or events), wrapped into a payload in msg_buffer on flush. |
| pb_ostream_t | data_stream | Stream writing to data_buffer. |
| size_t | max_data_size | Maximum size of the accumulated data. |
| size_t | max_msg_size | Record size in bytes. |
| uint8_t * | msg_buffer | Record buffer: PLogMessageHdr followed by the encoded payload. |
| time_t | start_utc | UTC time the current data started. |
| ProtobufLogTransportCB | transport | Transport. |