|
ndn-embeds 0.1.0
Lightweight NDN protocol stack for embedded systems
|
ESP-NOW Face implementation. More...
Go to the source code of this file.
Classes | |
| struct | ndn::PeerInfo |
| Peer information. More... | |
| class | ndn::EspNowFace |
| ESP-NOW Face. More... | |
Functions | |
| FaceId | ndn::macToFaceId (const uint8_t *mac) |
| Generate FaceId from MAC address. | |
Variables | |
| constexpr size_t | ndn::ESPNOW_MAX_PAYLOAD = 1470 |
| ESP-NOW maximum payload size (v2.0) | |
| constexpr size_t | ndn::ESPNOW_MAX_PEERS = 20 |
| ESP-NOW maximum number of peers. | |
| constexpr uint8_t | ndn::BROADCAST_MAC [6] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} |
| Broadcast MAC address. | |
ESP-NOW Face implementation.
NDN Face implementation using the ESP-NOW protocol. Supports both broadcast and unicast.
Definition in file espnow_face.hpp.
|
inline |
Generate FaceId from MAC address.
| mac | MAC address (6 bytes) |
Definition at line 37 of file espnow_face.hpp.
References ndn::macToFaceId().
Referenced by ndn::EspNowFace::addPeer(), and ndn::macToFaceId().
|
constexpr |
Broadcast MAC address.
Definition at line 30 of file espnow_face.hpp.
Referenced by ndn::EspNowFace::broadcast(), and ndn::EspNowFace::start().
|
constexpr |
ESP-NOW maximum payload size (v2.0)
Definition at line 24 of file espnow_face.hpp.
Referenced by ndn::EspNowFace::broadcast(), ndn::EspNowFace::maxPayloadSize(), and ndn::EspNowFace::sendTo().
|
constexpr |
ESP-NOW maximum number of peers.
Definition at line 27 of file espnow_face.hpp.