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.
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.

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.


Generated on Mon Apr 11 14:23:46 2011 for Contiki 2.5 by  doxygen 1.6.1