nRF Connect SDK API 0.1.0
|
int parser_get_payload | ( | struct parser * | parser, |
char * | buf, | ||
uint8_t | buf_size | ||
) |
Get the payload.
This function will fill a user supplied buffer with payload data.
[in] | parser | Parser instance. |
[in,out] | buf | A user supplied buffer to put payload data into. |
[in] | buf_size | How much can be stored in the buffer |