Expand description
ESP-NOW is a kind of connectionless Wi-Fi communication protocol that is defined by Espressif.
In ESP-NOW, application data is encapsulated in a vendor-specific action frame and then transmitted from one Wi-Fi device to another without connection. CTR with CBC-MAC Protocol(CCMP) is used to protect the action frame for security. ESP-NOW is widely used in smart light, remote controlling, sensor, etc.
For more information see https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp_now.html
Structs§
- EspNow
 - ESP-NOW is a kind of connectionless Wi-Fi communication protocol that is defined by Espressif. In ESP-NOW, application data is encapsulated in a vendor-specific action frame and then transmitted from one Wi-Fi device to another without connection. CTR with CBC-MAC Protocol(CCMP) is used to protect the action frame for security. ESP-NOW is widely used in smart light, remote controlling, sensor, etc.
 - EspNow
Manager  - Manages the 
EspNowinstance lifecycle while ensuring it remains active. - EspNow
Receiver  - This is the receiver part of ESP-NOW. You can get this receiver by splitting
an 
EspNowinstance. - EspNow
Sender  - This is the sender part of ESP-NOW. You can get this sender by splitting
a 
EspNowinstance. - EspNow
With Wifi Create Token  - A token used to create an 
EspNowinstance while Wi-Fi is enabled. - Peer
Count  - Holds the count of peers in an ESP-NOW communication context.
 - Peer
Info  - ESP-NOW peer information parameters.
 - Receive
Info  - Information about a received packet.
 - Received
Data  - Stores information about the received data, including the packet content and associated information.
 - Send
Future  - A 
futurerepresenting the result of an asynchronous ESP-NOW send operation. - Send
Waiter  - This struct is returned by a sync esp now send. Invoking 
waitmethod of this struct will block current task until the callback function of esp now send is called and return the status of previous sending. 
Enums§
- Error
 - Internal errors that can occur with ESP-NOW.
 - EspNow
Error  - Common errors that can occur while using ESP-NOW driver.
 - Wifi
PhyRate  - ESP-NOW rate of specified interface.
 
Constants§
- BROADCAST_
ADDRESS  - Broadcast address
 - ESP_
NOW_ MAX_ DATA_ LEN  - Maximum payload length
 
Functions§
- enable_
esp_ now_ with_ wifi  - Enables ESP-NOW while keeping Wi-Fi active.