Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
lora.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2019 HAW Hamburg
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser General
5
* Public License v2.1. See the file LICENSE in the top level directory for
6
* more details.
7
*/
8
21
#ifndef NET_NETDEV_LORA_H
22
#define NET_NETDEV_LORA_H
23
24
#include <stdint.h>
25
26
#include "
net/netdev.h
"
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
35
typedef
struct
{
36
uint8_t
rssi
;
37
int8_t
snr
;
38
}
netdev_lora_rx_info_t
;
39
40
41
#ifdef __cplusplus
42
}
43
#endif
44
45
#endif
/* NET_NETDEV_LORA_H */
46
netdev_lora_rx_info_t::rssi
uint8_t rssi
RSSI of a received packet.
Definition:
lora.h:36
netdev_lora_rx_info_t::snr
int8_t snr
S/N ratio.
Definition:
lora.h:37
netdev_lora_rx_info_t
Received LoRa packet status information.
Definition:
lora.h:35
netdev.h
Definitions low-level network driver interface.
Generated on Tue Nov 24 2020 19:46:51 by
1.8.17