Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: mac/LoRaMac-board.h
- Revision:
- 1:2be292bd43f9
- Parent:
- 0:c58229885f95
- Child:
- 5:be347c6040c1
--- a/mac/LoRaMac-board.h Wed Dec 16 14:25:16 2015 +0000
+++ b/mac/LoRaMac-board.h Tue Mar 15 23:27:24 2016 +0000
@@ -5,19 +5,15 @@
_____) ) ____| | | || |_| ____( (___| | | |
(______/|_____)_|_|_| \__)_____)\____)_| |_|
(C)2013 Semtech
-
Description: LoRa MAC layer board dependent definitions
-
License: Revised BSD License, see LICENSE.TXT file include in the project
-
Maintainer: Miguel Luis and Gregory Cristian
*/
#ifndef __LORAMAC_BOARD_H__
#define __LORAMAC_BOARD_H__
+#include "utilities.h"
-#warning temproray set define USE_BAND_868
-#define USE_BAND_868
/*!
* Returns individual channel mask
*
@@ -314,12 +310,6 @@
#define LC1 { 868100000, { ( ( DR_5 << 4 ) | DR_0 ) }, 1 }
#define LC2 { 868300000, { ( ( DR_6 << 4 ) | DR_0 ) }, 1 }
#define LC3 { 868500000, { ( ( DR_5 << 4 ) | DR_0 ) }, 1 }
-#define LC4 { 867100000, { ( ( DR_5 << 4 ) | DR_0 ) }, 0 }
-#define LC5 { 867300000, { ( ( DR_5 << 4 ) | DR_0 ) }, 0 }
-#define LC6 { 867500000, { ( ( DR_5 << 4 ) | DR_0 ) }, 0 }
-#define LC7 { 867700000, { ( ( DR_5 << 4 ) | DR_0 ) }, 0 }
-#define LC8 { 867900000, { ( ( DR_5 << 4 ) | DR_0 ) }, 0 }
-#define LC9 { 868800000, { ( ( DR_7 << 4 ) | DR_7 ) }, 2 }
#elif defined( USE_BAND_915 ) || defined( USE_BAND_915_HYBRID )
@@ -431,7 +421,7 @@
* Channels[i].DrRange.Value = ( DR_3 << 4 ) | DR_0;
* Channels[i].Band = 0;
* }
- * // 500 kHz channels
+ * // 500 kHz channels
* for( uint8_t i = LORA_MAX_NB_CHANNELS - 8; i < LORA_MAX_NB_CHANNELS; i++ )
* {
* Channels[i].Frequency = 903.0e6 + ( i - ( LORA_MAX_NB_CHANNELS - 8 ) ) * 1.6e6;
@@ -444,4 +434,4 @@
#error "Please define a frequency band in the compiler options."
#endif
-#endif // __LORAMAC_BOARD_H__
+#endif // __LORAMAC_BOARD_H__
\ No newline at end of file