Loading...
Searching...
No Matches
openwsn_radio.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 HAW Hamburg
3 * SPDX-FileCopyrightText: 2020 Inria
4 * SPDX-License-Identifier: LGPL-2.1-only
5 */
6
7#pragma once
8
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39#include "net/ieee802154/radio.h"
40#include "radio.h"
41
50int openwsn_radio_init(void *radio_dev);
51
55typedef struct {
57 radio_capture_cbt startFrame_cb;
58 radio_capture_cbt endFrame_cb;
60
61#ifdef __cplusplus
62}
63#endif
64
struct ieee802154_dev ieee802154_dev_t
Forward declaration of the IEEE802.15.4 device descriptor.
Definition radio.h:415
int openwsn_radio_init(void *radio_dev)
Initialize OpenWSN radio.
OpenWSN radio variables structure.
radio_capture_cbt endFrame_cb
end of frame capture callback
ieee802154_dev_t * dev
radio hal
radio_capture_cbt startFrame_cb
start of frame capture callback