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

◆ nrf_802154_frame_parser_level_t

Enumerator
PARSE_LEVEL_NONE 

Parse level at which no parsing has been performed on the frame.

All frame fields and offsets should be considered as incomplete and invalid at this parse level.

PARSE_LEVEL_FCF_OFFSETS 

Parse level at which the offsets that can be determined based on the FCF can be considered valid.

The following fields can be considered valid and complete:

  • FCF field

The following offsets can be considered valid by the user:

  • DSN field offset
  • Addressing offsets The data stored under the offsets should be considered as incomplete.
PARSE_LEVEL_DST_ADDRESSING_END 

Parse level at which the destination address data can be considered complete.

The following fields can be considered valid and complete:

  • DSN field
  • Destination addressing fields The completeness doesn't indicate that the fields are actually present in the frame.
PARSE_LEVEL_ADDRESSING_END 

Parse level at which the data under offsets determined by the FCF can be considered complete.

The following fields can be considered valid and complete:

  • DSN field
  • Addressing fields The completeness doesn't indicate that the fields are actually present in the frame.
PARSE_LEVEL_SEC_CTRL_OFFSETS 

Parse level at which the offsets that can be determined based on Security Control Field can be considered valid.

The following offsets can be considered valid by the user:

  • All offsets before the Auxiliary Security Header
  • All Auxiliary Security Header field offsets and field sizes The data stored under the offsets should be considered as incomplete.
PARSE_LEVEL_AUX_SEC_HDR_END 

Parse level at which the data under offsets determined by the Security Control Field can be considered complete.

The following fields can be considered valid and complete:

  • All fields before the Auxiliary Security Header
  • All Auxiliary Security Header fields The completeness doesn't indicate that the fields are actually present in the frame.
PARSE_LEVEL_FULL 

Parse level for fully parsed frame. All fields can be considered valid and complete.

The following fields can be considered valid and complete:

  • All fields in the frame The completeness doesn't indicate that the fields are actually present in the frame.

This is the only parse level at which the PSDU length is taken into account and is expected to be correct.

PARSE_LEVEL_MAX