Mistake on this page?
Report an issue in GitHub or email us
LoRaPHYIN865.h
Go to the documentation of this file.
1 /**
2  * @file LoRaPHYIN865.h
3  *
4  * @brief Implements LoRaPHY for Indian 865 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_IN865_H_
33 #define MBED_OS_LORAPHY_IN865_H_
34 
35 #if !(DOXYGEN_ONLY)
36 
37 #include "LoRaPHY.h"
38 
39 /*!
40  * LoRaMac maximum number of channels
41  */
42 #define IN865_MAX_NB_CHANNELS 16
43 
44 /*!
45  * Maximum number of bands
46  */
47 #define IN865_MAX_NB_BANDS 1
48 
49 #define IN865_CHANNEL_MASK_SIZE 1
50 
51 
52 class LoRaPHYIN865 : public LoRaPHY {
53 
54 public:
55 
56  LoRaPHYIN865();
57  virtual ~LoRaPHYIN865();
58 
59  virtual uint8_t apply_DR_offset(int8_t dr, int8_t dr_offset);
60 
61 private:
62  /*!
63  * LoRaMAC channels
64  */
65  channel_params_t channels[IN865_MAX_NB_CHANNELS];
66 
67  /*!
68  * LoRaMac bands
69  */
70  band_t bands[IN865_MAX_NB_BANDS];
71 
72  /*!
73  * LoRaMac channel mask
74  */
75  uint16_t channel_mask[IN865_CHANNEL_MASK_SIZE];
76 
77  /*!
78  * LoRaMac default channel mask
79  */
80  uint16_t default_channel_mask[IN865_CHANNEL_MASK_SIZE];
81 };
82 
83 #endif /* DOXYGEN_ONLY */
84 #endif /* MBED_OS_LORAPHY_IN865_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
virtual uint8_t apply_DR_offset(int8_t dr, int8_t dr_offset)
Computes new data rate according to the given offset.
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.