Contiki-NG
|
802.15.4 frame creation and parsing functions More...
Go to the source code of this file.
Data Structures | |
struct | frame802154_fcf_t |
The IEEE 802.15.4 frame has a number of constant/fixed fields that can be counted to make frame construction and max payload calculations easier. More... | |
struct | frame802154_scf_t |
802.15.4 security control bitfield. More... | |
struct | frame802154_aux_hdr_t |
802.15.4 Aux security header More... | |
struct | frame802154_t |
Parameters used by the frame802154_create() function. More... | |
FCF element values definitions | |
These are some definitions of values used in the FCF. See the 802.15.4 spec for details. | |
#define | FRAME802154_NOADDR (0x00) |
Only valid for ACK or Beacon frames. | |
int | frame802154_hdrlen (frame802154_t *p) |
Calculates the length of the frame header. | |
int | frame802154_create (frame802154_t *p, uint8_t *buf) |
Creates a frame for transmission over the air. | |
int | frame802154_parse (uint8_t *data, int len, frame802154_t *pf) |
Parses an input frame. | |
802.15.4 frame creation and parsing functions
This file converts to and from a structure to a packed 802.15.4 frame.
Definition in file frame802154.h.