µracoli Manual  Version foo
p2p_hdr_t Struct Reference

Data Fields

uint16_t fcf
 
uint8_t seq
 
uint16_t pan
 
uint16_t dst
 
uint16_t src
 
uint8_t cmd
 

Detailed Description

Frame header structure for P2P applications. This header is formated as a IEEE 802.15.4 frame header with short addressing mode for src and dst and pan comression set to on.

Definition at line 94 of file p2p_protocol.h.

Field Documentation

uint8_t p2p_hdr_t::cmd

the command code that identifies the frame, see p2p_cmdcode_t

Definition at line 101 of file p2p_protocol.h.

uint16_t p2p_hdr_t::dst

destination short address

Definition at line 99 of file p2p_protocol.h.

uint16_t p2p_hdr_t::fcf

frame control field

Definition at line 96 of file p2p_protocol.h.

uint16_t p2p_hdr_t::pan

destination pan id

Definition at line 98 of file p2p_protocol.h.

uint8_t p2p_hdr_t::seq

sequence number

Definition at line 97 of file p2p_protocol.h.

uint16_t p2p_hdr_t::src

source short address

Definition at line 100 of file p2p_protocol.h.