Loading...
Searching...
No Matches
esp_now_netdev_t Struct Reference

Device descriptor for ESP-NOW devices. More...

Detailed Description

Device descriptor for ESP-NOW devices.

Definition at line 84 of file esp_now_netdev.h.

#include <esp_now_netdev.h>

Data Fields

netdev_t netdev
 netdev parent struct
 
uint8_t addr [ESP_NOW_ADDR_LEN]
 device addr (MAC address)
 
uint8_t rx_len
 number of bytes received
 
uint8_t * rx_mac
 source mac of received data
 
uint8_t * rx_data
 received
 
uint8_t tx_mem [ESP_NOW_MAX_SIZE_RAW]
 memory holding outgoing package
 
mutex_t dev_lock
 device is already in use
 
uint8_t scan_event
 ESP-NOW peers have to be scanned.
 

Field Documentation

◆ addr

uint8_t esp_now_netdev_t::addr[ESP_NOW_ADDR_LEN]

device addr (MAC address)

Definition at line 88 of file esp_now_netdev.h.

◆ dev_lock

mutex_t esp_now_netdev_t::dev_lock

device is already in use

Definition at line 100 of file esp_now_netdev.h.

◆ netdev

netdev_t esp_now_netdev_t::netdev

netdev parent struct

Definition at line 86 of file esp_now_netdev.h.

◆ rx_data

uint8_t* esp_now_netdev_t::rx_data

received

Definition at line 92 of file esp_now_netdev.h.

◆ rx_len

uint8_t esp_now_netdev_t::rx_len

number of bytes received

Definition at line 90 of file esp_now_netdev.h.

◆ rx_mac

uint8_t* esp_now_netdev_t::rx_mac

source mac of received data

Definition at line 91 of file esp_now_netdev.h.

◆ scan_event

uint8_t esp_now_netdev_t::scan_event

ESP-NOW peers have to be scanned.

Definition at line 102 of file esp_now_netdev.h.

◆ tx_mem

uint8_t esp_now_netdev_t::tx_mem[ESP_NOW_MAX_SIZE_RAW]

memory holding outgoing package

Definition at line 94 of file esp_now_netdev.h.


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