ESP8266_NONOS_MESH_API V1.0.0

- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
mesh_header_format Struct Reference

## Data Fields

uint8_t | ver:2
uint8_t | oe: 1
uint8_t | cp: 1
uint8_t | cr: 1
uint8_t | rsv:3
struct {
uint8_t d: 1
uint8_t p2p:1
uint8_t protocol:6
} | proto
uint16_t | len
uint8_t | dst_addr [ESP_MESH_ADDR_LEN]
uint8_t | src_addr [ESP_MESH_ADDR_LEN]
struct mesh_header_option_header_type | option [0]

## Field Documentation

uint8_t cp

piggyback congest permit in packet

uint8_t cr

piggyback congest request in packet

uint8_t d

direction, 1:upwards, 0:downwards

uint8_t dst_addr[ESP_MESH_ADDR_LEN]

destination address

uint16_t len

packet total length (include mesh header)

uint8_t oe

option flag

struct mesh_header_option_header_type option[0]

mesh option

uint8_t p2p

node to node packet

uint8_t protocol

protocol used by user data;

uint8_t rsv

reserved

uint8_t src_addr[ESP_MESH_ADDR_LEN]

source address

uint8_t ver

version of mesh

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

- include/espressif/mesh.h