Loading...
Searching...
No Matches
openwsn_radio.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2019 Hamburg University of Applied Sciences
3 * 2020 Inria
4 *
5 * This file is subject to the terms and conditions of the GNU Lesser
6 * General Public License v2.1. See the file LICENSE in the top level
7 * directory for more details.
8 */
9
10#pragma once
11
37
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42#include "net/ieee802154/radio.h"
43#include "radio.h"
44
53int openwsn_radio_init(void *radio_dev);
54
58typedef struct {
60 radio_capture_cbt startFrame_cb;
61 radio_capture_cbt endFrame_cb;
63
64#ifdef __cplusplus
65}
66#endif
67
struct ieee802154_dev ieee802154_dev_t
Forward declaration of the IEEE802.15.4 device descriptor.
Definition radio.h:414
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