#[repr(u32)]pub enum Error {
NotInitialized = 12_389,
InvalidArgument = 12_390,
OutOfMemory = 12_391,
PeerListFull = 12_392,
NotFound = 12_393,
InternalError = 12_394,
PeerExists = 12_395,
InterfaceError = 12_396,
Other(u32),
}
Expand description
Internal errors that can occur with ESP-NOW.
Variants§
NotInitialized = 12_389
ESP-NOW is not initialized.
InvalidArgument = 12_390
Invalid argument.
OutOfMemory = 12_391
Indicates that there was insufficient memory to complete the operation.
PeerListFull = 12_392
ESP-NOW peer list is full.
NotFound = 12_393
ESP-NOW peer is not found.
InternalError = 12_394
Internal error.
PeerExists = 12_395
ESP-NOW peer already exists.
InterfaceError = 12_396
Interface error.
Other(u32)
Represents any other error not covered by the above variants, with an associated error code.