TuyaOS
Public 成员函数
ieee_802154_hdr结构体 参考

#include <ieee802154.h>

Public 成员函数

 PACK_STRUCT_FIELD (u16_t destination_pan_id)
 
 PACK_STRUCT_FIELD (u16_t frame_control)
 
 PACK_STRUCT_FIELD (u16_t source_pan_id)
 
 PACK_STRUCT_FLD_8 (u8_t destination_address[8])
 
 PACK_STRUCT_FLD_8 (u8_t sequence_number)
 
 PACK_STRUCT_FLD_8 (u8_t source_address[8])
 

详细描述

General MAC frame format This shows the full featured header, mainly for documentation. Some fields are omitted or shortened to achieve frame compression.

成员函数说明

◆ PACK_STRUCT_FIELD() [1/3]

ieee_802154_hdr::PACK_STRUCT_FIELD ( u16_t  destination_pan_id)

Destination PAN ID is omitted if Destination Addressing Mode is 0

◆ PACK_STRUCT_FIELD() [2/3]

ieee_802154_hdr::PACK_STRUCT_FIELD ( u16_t  frame_control)

See IEEE_802154_FC_* defines

◆ PACK_STRUCT_FIELD() [3/3]

ieee_802154_hdr::PACK_STRUCT_FIELD ( u16_t  source_pan_id)

Source PAN ID is omitted if Source Addressing Mode is 0 or if IEEE_802154_FC_PANID_COMPR is set in frame control

◆ PACK_STRUCT_FLD_8() [1/3]

ieee_802154_hdr::PACK_STRUCT_FLD_8 ( u8_t  destination_address[8])

Destination Address is omitted if Destination Addressing Mode is 0

◆ PACK_STRUCT_FLD_8() [2/3]

ieee_802154_hdr::PACK_STRUCT_FLD_8 ( u8_t  sequence_number)

Sequence number is omitted if IEEE_802154_FC_SEQNO_SUPPR is set in frame_control

◆ PACK_STRUCT_FLD_8() [3/3]

ieee_802154_hdr::PACK_STRUCT_FLD_8 ( u8_t  source_address[8])

Source Address is omitted if Source Addressing Mode is 0


该结构体的文档由以下文件生成: