nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_802154_frame_parser_valid_data_extend()

bool nrf_802154_frame_parser_valid_data_extend ( nrf_802154_frame_parser_data_t * p_parser_data,
uint8_t valid_data_len,
nrf_802154_frame_parser_level_t requested_parse_level )

Extends the valid data and parses the frame.

This function extends the valid data and parses the given frame to the requested level. The parsing is performed to the extent that is achievable with the amount of valid data. The resulting parse level may be higher that the requested one, if it can be achieved without additional parsing.

Parameters
[in,out]p_parser_dataPointer to a parser data to extend.
[in]valid_data_lenNumber of valid bytes in the frame.
[in]requested_parse_levelRequested parse level.
Return values
trueThe parsing succeeded and requested parse level was achieved.
falseThe parsing failed or requested parse level could not be achieved.