Contiki 2.6
|
802.15.4 frame creation and parsing functions More...
#include "sys/cc.h"
#include "net/mac/frame802154.h"
#include <string.h>
Go to the source code of this file.
Functions | |
FCF element values definitions | |
These are some definitions of values used in the FCF. See the 802.15.4 spec for details. | |
uint8_t | frame802154_hdrlen (frame802154_t *p) |
Calculates the length of the frame header. | |
uint8_t | frame802154_create (frame802154_t *p, uint8_t *buf, uint8_t buf_len) |
Creates a frame for transmission over the air. | |
uint8_t | frame802154_parse (uint8_t *data, uint8_t 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.c.