nRF Connect SDK API 0.1.0
|
Set of parser variables needed for parser framework to operate. More...
#include <parser.h>
Data Fields | |
uint8_t | buf_pos |
Iterator type of state information on where the parsing is proceeding. | |
uint8_t | buf [180] |
Parser data buffer that is processed. | |
uint16_t | buf_size |
Size of the actual data in buf. | |
uint8_t * | payload |
Payload output buffer that is processed. | |
uint8_t | payload_buf_size |
Payload output buffer size. | |
uint8_t | payload_pos |
Index to the start of the payload within buf. | |
void * | data |
Data structure to hold the parsed information. | |
struct parser_api * | api |
Functions defining the functionality of this specific parser. | |
Set of parser variables needed for parser framework to operate.
Holds state information about the parsing as it proceeds by passing this structure to functions storing relevant information out of the parser buffers.
Parser contains sub parsers that are available through parser_api and its get_parsers function.