Mistake on this page?
Report an issue in GitHub or email us
LoRaPHYEU868.h
Go to the documentation of this file.
1 /**
2  * @file LoRaPHYEU868.h
3  *
4  * @brief Implements LoRaPHY for European 868 MHz band
5  *
6  * \code
7  * ______ _
8  * / _____) _ | |
9  * ( (____ _____ ____ _| |_ _____ ____| |__
10  * \____ \| ___ | (_ _) ___ |/ ___) _ \
11  * _____) ) ____| | | || |_| ____( (___| | | |
12  * (______/|_____)_|_|_| \__)_____)\____)_| |_|
13  * (C)2013 Semtech
14  * ___ _____ _ ___ _ _____ ___ ___ ___ ___
15  * / __|_ _/_\ / __| |/ / __/ _ \| _ \/ __| __|
16  * \__ \ | |/ _ \ (__| ' <| _| (_) | / (__| _|
17  * |___/ |_/_/ \_\___|_|\_\_| \___/|_|_\\___|___|
18  * embedded.connectivity.solutions===============
19  *
20  * \endcode
21  *
22  *
23  * License: Revised BSD License, see LICENSE.TXT file include in the project
24  *
25  * Maintainer: Miguel Luis ( Semtech ), Gregory Cristian ( Semtech ) and Daniel Jaeckle ( STACKFORCE )
26  *
27  * Copyright (c) 2017, Arm Limited and affiliates.
28  * SPDX-License-Identifier: BSD-3-Clause
29  *
30  */
31 
32 #ifndef MBED_OS_LORAPHY_EU868_H_
33 #define MBED_OS_LORAPHY_EU868_H_
34 
35 #if !(DOXYGEN_ONLY)
36 
37 #include "LoRaPHY.h"
38 
39 /*!
40  * LoRaMac maximum number of channels
41  */
42 #define EU868_MAX_NB_CHANNELS 16
43 
44 /*!
45  * Maximum number of bands
46  *
47  * We have broken down EU-868 MHz BAND 2 into two parts. That's why
48  * total number of sub-bands is 6.
49  * from 863 MHz to 865 MHz region is part of BAND 2, however
50  * we call it Band-5 here. Duty cycle limit is 0.1 % in this sub band.
51  */
52 #define EU868_MAX_NB_BANDS 6
53 
54 #define EU868_CHANNEL_MASK_SIZE 1
55 
56 class LoRaPHYEU868 : public LoRaPHY {
57 
58 public:
59  LoRaPHYEU868();
60  virtual ~LoRaPHYEU868();
61 
62 private:
63  /*!
64  * LoRaMAC channels
65  */
66  channel_params_t channels[EU868_MAX_NB_CHANNELS];
67 
68  /*!
69  * LoRaMac bands
70  */
71  band_t bands[EU868_MAX_NB_BANDS];
72 
73  /*!
74  * LoRaMac channels mask
75  */
76  uint16_t channel_mask[EU868_CHANNEL_MASK_SIZE];
77 
78  /*!
79  * LoRaMac default channel mask
80  */
81  uint16_t default_channel_mask[EU868_CHANNEL_MASK_SIZE];
82 };
83 
84 #endif /* DOXYGEN_ONLY*/
85 #endif /* MBED_OS_LORAPHY_EU868_H_ */
An abstract class providing radio object to children and provide base for implementing LoRa PHY layer...
LoRaPHY Class Parent class for LoRa regional PHY implementations.
Definition: LoRaPHY.h:46
DO NOT MODIFY, WILL BREAK THE API!
Default user application maximum data size for transmission.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.