Contiki 2.5
frame802154.c File Reference

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. More...
 
uint8_t frame802154_create (frame802154_t *p, uint8_t *buf, uint8_t buf_len)
 Creates a frame for transmission over the air. More...
 
uint8_t frame802154_parse (uint8_t *data, uint8_t len, frame802154_t *pf)
 Parses an input frame. More...
 

Detailed Description

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.