Data Fields
p2p_hdr_t Struct Reference

## Data Fields
uint8_t | cmd
uint16_t | dst
uint16_t | fcf
uint16_t | pan
uint8_t | seq
uint16_t | src

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

## Field Documentation

uint8_t p2p_hdr_t::cmd

the command code that identifies the frame, see p2p_cmdcode_t

uint16_t p2p_hdr_t::dst

destination short address

uint16_t p2p_hdr_t::fcf

frame control field

uint16_t p2p_hdr_t::pan

destination pan id

uint8_t p2p_hdr_t::seq

sequence number

uint16_t p2p_hdr_t::src

source short address