Contiki 2.6

frame.h File Reference

802.15.4 frame creation and parsing functions More...

#include "hal.h"

Go to the source code of this file.

Data Structures

union  fcf_t
 Defines the bitfields of the frame control field (FCF). More...
struct  scf_t
 802.15.4 security control bitfield. More...
struct  aux_hdr_t
 802.15.4 Aux security header More...
union  ADDR_SIZE_SPEC_t
 A union of short and long address types. More...
struct  PAN_ID_ADDR_SPEC_t
 Structure containing a PAN ID and an address. More...
struct  ADDR_FIELD_SPEC_t
 Structure containing both source and destination addresses. More...
union  addr_t
 Union of both short and long addresses. More...
struct  frame_result_t
 Strucure used to return that status of the frame create process. More...
struct  frame_create_params_t
 Parameters used by the frame_tx_create() function. More...

Defines

#define FIXEDFRAMEOVERHEAD   (5)
 Some constants for frame length calculations.

Functions

void frame_tx_create (frame_create_params_t *p, frame_result_t *frame_result)
 Creates a frame for transmission over the air.
void rx_frame_parse (hal_rx_frame_t *rx_frame, parsed_frame_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.

Id:
frame.h,v 1.2 2008/10/14 18:37:28 c_oflynn Exp

Definition in file frame.h.