- ESP_OK : succeed - ESP_ERR_ESPNOW_NOT_INIT : ESPNOW is not initialized - ESP_ERR_ESPNOW_ARG : invalid argument - ESP_ERR_ESPNOW_FULL : peer list is full - ESP_ERR_ESPNOW_NO_MEM : out of memory - ESP_ERR_ESPNOW_EXIST : peer has existed
Fetch a peer from peer list. Only return the peer which address is unicast, for the multicast/broadcast address, the function will ignore and try to find the next in the peer list.
Examples
esp_now_add_peer() is referenced by 1 libraries and example projects: