nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
parser Struct Reference

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_apiapi
 Functions defining the functionality of this specific parser.
 

Detailed Description

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.


The documentation for this struct was generated from the following file: