netdev_ieee802154_minimal.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2022 HAW Hamburg
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 
9 #pragma once
10 
31 #include "net/netdev.h"
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
37 #ifdef DOXYGEN
42 #define NETDEV_IEEE802154_MINIMAL_NUMOF
43 #endif
44 
55 
63 
77 
92 int netdev_ieee802154_minimal_get(struct netdev *dev, netopt_t opt, void *data, size_t max_len);
93 
108 int netdev_ieee802154_minimal_set(struct netdev *dev, netopt_t opt, void *data, size_t len);
109 
110 #ifdef __cplusplus
111 }
112 #endif
113 
Definitions low-level network driver interface.
void(* netdev_event_cb_t)(netdev_t *dev, netdev_event_t event)
Event callback for signaling event to upper layers.
Definition: netdev.h:296
netopt_t
Global list of configuration options available throughout the network stack, e.g.
Definition: netopt.h:44
int netdev_ieee802154_minimal_set(struct netdev *dev, netopt_t opt, void *data, size_t len)
Set an option to netdev minimal.
int netdev_ieee802154_minimal_get(struct netdev *dev, netopt_t opt, void *data, size_t max_len)
Get an option from netdev minimal.
int netdev_ieee802154_minimal_init_devs(netdev_event_cb_t cb)
Device-under-test initialization function.
int netdev_ieee802154_minimal_send(struct netdev *dev, iolist_t *pkt)
Send a IEEE 802.15.4 frame This is wrapper for the internal netdev send function, that ensures all ne...
int netdev_ieee802154_minimal_init(void)
Initialize the module.
iolist structure definition
Definition: iolist.h:38
Structure to hold driver state.
Definition: netdev.h:364