netdev_ieee802154_minimal.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2022 HAW Hamburg
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
28 #include "net/netdev.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 #ifdef DOXYGEN
39 #define NETDEV_IEEE802154_MINIMAL_NUMOF
40 #endif
41 
52 
60 
74 
89 int netdev_ieee802154_minimal_get(struct netdev *dev, netopt_t opt, void *data, size_t max_len);
90 
105 int netdev_ieee802154_minimal_set(struct netdev *dev, netopt_t opt, void *data, size_t len);
106 
107 #ifdef __cplusplus
108 }
109 #endif
110 
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:41
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:35
Structure to hold driver state.
Definition: netdev.h:365