esp_now_gnrc.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2018 Timo Rothenpieler
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
18 #include "net/gnrc/netif.h"
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
37 int gnrc_netif_esp_now_create(gnrc_netif_t *netif, char *stack, int stacksize, char priority,
38  char *name, netdev_t *dev);
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 
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.
Definition for GNRC's network interfaces.
Representation of a network interface.
Definition: netif.h:132
Structure to hold driver state.
Definition: netdev.h:365