Loading...
Searching...
No Matches
esp_now_gnrc.h File Reference

ESP-NOW adaption for Network interface API. More...

Detailed Description

#include "net/gnrc/netif.h"
+ Include dependency graph for esp_now_gnrc.h:

Go to the source code of this file.

int gnrc_netif_esp_now_create (gnrc_netif_t *netif, char *stack, int stacksize, char priority, char *name, netdev_t *dev)
 Creates the ESP-NOW network interface.
 

Function Documentation

◆ gnrc_netif_esp_now_create()

int gnrc_netif_esp_now_create ( gnrc_netif_t netif,
char *  stack,
int  stacksize,
char  priority,
char *  name,
netdev_t dev 
)

Creates the ESP-NOW network interface.

See also
gnrc_netif_create
Parameters
[out]netifThe interface. May not be NULL.
[in]stackThe stack for the network interface's thread.
[in]stacksizeSize of stack.
[in]priorityPriority for the network interface's thread.
[in]nameName for the network interface. May be NULL.
[in]devDevice for the interface.
Returns
0 on success
negative number on error