Loading...
Searching...
No Matches
esp_now_gnrc.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018 Timo Rothenpieler
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
18#ifndef ESP_NOW_GNRC_H
19#define ESP_NOW_GNRC_H
20
21#include "net/gnrc/netif.h"
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
40int gnrc_netif_esp_now_create(gnrc_netif_t *netif, char *stack, int stacksize, char priority,
41 char *name, netdev_t *dev);
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* ESP_NOW_GNRC_H */
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:135
Structure to hold driver state.
Definition netdev.h:365