| Contiki 3.x
    | 
The IEEE 802.15.4 frame has a number of constant/fixed fields that can be counted to make frame construction and max payload calculations easier. More...
#include <core/net/mac/frame802154.h>
| Data Fields | |
| uint8_t | frame_type | 
| 3 bit.  More... | |
| uint8_t | security_enabled | 
| 1 bit.  More... | |
| uint8_t | frame_pending | 
| 1 bit.  More... | |
| uint8_t | ack_required | 
| 1 bit.  More... | |
| uint8_t | panid_compression | 
| 1 bit.  More... | |
| uint8_t | dest_addr_mode | 
| < 3 bit.  More... | |
| uint8_t | frame_version | 
| 2 bit.  More... | |
| uint8_t | src_addr_mode | 
| 2 bit.  More... | |
The IEEE 802.15.4 frame has a number of constant/fixed fields that can be counted to make frame construction and max payload calculations easier.
    These include:
    1. FCF                  - 2 bytes       - Fixed
    2. Sequence number      - 1 byte        - Fixed
    3. Addressing fields    - 4 - 20 bytes  - Variable
    4. Aux security header  - 0 - 14 bytes  - Variable
    5. CRC                  - 2 bytes       - Fixed
Defines the bitfields of the frame control field (FCF).
Definition at line 133 of file frame802154.h.
| uint8_t frame802154_fcf_t::ack_required | 
1 bit.
Is an ack frame required?
Definition at line 137 of file frame802154.h.
Referenced by frame802154_create(), and frame802154_parse().
| uint8_t frame802154_fcf_t::dest_addr_mode | 
< 3 bit.
Unused bits 2 bit. Destination address mode, see 802.15.4
Definition at line 140 of file frame802154.h.
Referenced by frame802154_create(), and frame802154_parse().
| uint8_t frame802154_fcf_t::frame_pending | 
1 bit.
True if sender has more data to send
Definition at line 136 of file frame802154.h.
Referenced by frame802154_create(), and frame802154_parse().
| uint8_t frame802154_fcf_t::frame_type | 
3 bit.
Frame type field, see 802.15.4
Definition at line 134 of file frame802154.h.
Referenced by frame802154_create(), and frame802154_parse().
| uint8_t frame802154_fcf_t::frame_version | 
2 bit.
802.15.4 frame version
Definition at line 141 of file frame802154.h.
Referenced by frame802154_create(), and frame802154_parse().
| uint8_t frame802154_fcf_t::panid_compression | 
1 bit.
Is this a compressed header?
Definition at line 138 of file frame802154.h.
Referenced by frame802154_create(), and frame802154_parse().
| uint8_t frame802154_fcf_t::security_enabled | 
1 bit.
True if security is used in this frame
Definition at line 135 of file frame802154.h.
Referenced by frame802154_create(), and frame802154_parse().
| uint8_t frame802154_fcf_t::src_addr_mode | 
2 bit.
Source address mode, see 802.15.4
Definition at line 142 of file frame802154.h.
Referenced by frame802154_create(), and frame802154_parse().
 1.8.5
 1.8.5