The friendly Operating System for the Internet of Things
cc110x_pkt_t Struct Reference

CC110X layer 0 protocol. More...

Detailed Description

---------------------------------------------------
|        |         |         |       |            |
| Length | Address | PhySrc  | Flags |    Data    |
|        |         |         |       |            |
---------------------------------------------------
  1 byte   1 byte    1 byte   1 byte   <= 251 bytes
Flags:
        Bit | Meaning
        --------------------
        7:4 | -
        3:1 | Protocol
          0 | Identification

Notes:

  • length & address are given by CC110X
  • Identification is increased is used to scan duplicates. It must be increased for each new packet and kept for packet retransmissions.

Definition at line 116 of file cc110x-internal.h.

#include <cc110x-internal.h>

Data Fields

uint8_t length
 Length of the packet (without length byte)
 
uint8_t address
 Destination address.
 
uint8_t phy_src
 Source address (physical source)
 
uint8_t flags
 Flags.
 
uint8_t data [CC110X_MAX_DATA_LENGTH]
 Data (high layer protocol)
 

The documentation for this struct was generated from the following file: