| Demo HCI Implementation for WiMOD-LR Devices V2.0.3

WiMOD_SAP_LORAWAN_IDs_IL915.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
6
32 //------------------------------------------------------------------------------
33
34
35 /*
36 * THIS IS AN EXAMPLE IMPLEMENTATION ACCORDING THE THE HCI SPEC: V1.22 for IL915 (V0.1)
37 * FOR FIRMWARE: LoRaWAN_EndNode_Modem
38 *
39 * SEE FILE: WiMOD_LoRaWAN_EndNode_Modem_IL915_HCI_Spec_V0_1.pdf
40 * for detailed information
41 *
42 */
43
44
45 #ifndef ARDUINO_SAP_WIMOD_SAP_LORAWAN_IDS_IL915_H_
46 #define ARDUINO_SAP_WIMOD_SAP_LORAWAN_IDS_IL915_H_
47 //------------------------------------------------------------------------------
48 //
49 // Section Includes Files
50 //
51 //------------------------------------------------------------------------------
52
54
55 #define WIMOD_LORAWAN_IL915
56
57
58
59 // LoRa Radio Band Index
60 #define LORAWAN_BAND_IL_915 40
61
62
63 // LoRa Data Rate Index
64
65 #define LORAWAN_DATA_RATE_IL915_LORA_SF12_125KHZ 0
66 #define LORAWAN_DATA_RATE_IL915_LORA_SF11_125KHZ 1
67 #define LORAWAN_DATA_RATE_IL915_LORA_SF10_125KHZ 2
68 #define LORAWAN_DATA_RATE_IL915_LORA_SF9_125KHZ 3
69 #define LORAWAN_DATA_RATE_IL915_LORA_SF8_125KHZ 4
70 #define LORAWAN_DATA_RATE_IL915_LORA_SF7_125KHZ 5
71 #define LORAWAN_DATA_RATE_IL915_LORA_SF7_250KHZ 6
72 #define LORAWAN_DATA_RATE_IL915_LORA_FSK 7
73
74 #define IS_LORAWAN_IL915_DATA_RATE(x) ( ((x) >= LORAWAN_DATA_RATE_IL915_LORA_SF12_125KHZ) && \
75 ((x) <= LORAWAN_DATA_RATE_IL915_LORA_FSK) )
76
78
79
83 typedef enum TLoRaWANDataRateIL915
84 {
85 LoRaWAN_DataRate_IL915_LoRa_SF12_125kHz = 0,
86 LoRaWAN_DataRate_IL915_LoRa_SF11_125kHz,
87 LoRaWAN_DataRate_IL915_LoRa_SF10_125kHz,
88 LoRaWAN_DataRate_IL915_LoRa_SF9_125kHz,
89 LoRaWAN_DataRate_IL915_LoRa_SF8_125kHz,
90 LoRaWAN_DataRate_IL915_LoRa_SF7_125kHz,
91 LoRaWAN_DataRate_IL915_LoRa_SF7_250kHz,
92 LoRaWAN_DataRate_IL915_LoRa_FSK,
93 } TLoRaWANDataRateIL915;
94
96
97 // LoRa Channel Index ( IL915 )
98
99 #define LORAWAN_CH_IL_915_7_MHZ 0
100 #define LORAWAN_CH_IL_915_9_MHZ 1
101 #define LORAWAN_CH_IL_916_1_MHZ 2
102 #define LORAWAN_CH_IL_916_3_MHZ 128
103
104 #define IS_LORAWAN_CH_IL(x) ( ((x) == LORAWAN_CH_IL_915_7_MHZ) || \
105 ((x) == LORAWAN_CH_IL_915_9_MHZ) || \
106 ((x) == LORAWAN_CH_IL_916_1_MHZ) || \
107 ((x) == LORAWAN_CH_IL_916_3_MHZ) )
108
110
114 typedef enum TLoRaWAN_Channel_IL
115 {
116 LoRaWAN_Channel_IL_915_7_Mhz = 0,
117 LoRaWAN_Channel_IL_915_9_Mhz = 1,
118 LoRaWAN_Channel_IL_916_1_Mhz = 2,
119 LoRaWAN_Channel_IL_916_3_Mhz = 128,
120 } TLoRaWAN_Channel_IL;
121
122
123
124 #endif /* ARDUINO_SAP_WIMOD_SAP_LORAWAN_IDS_IL915_H_ */
LoRaWAN_DataRate_IL915_LoRa_SF12_125kHz
@ LoRaWAN_DataRate_IL915_LoRa_SF12_125kHz
Definition: WiMOD_SAP_LORAWAN_IDs_IL915.h:85
LoRaWAN_DataRate_IL915_LoRa_FSK
@ LoRaWAN_DataRate_IL915_LoRa_FSK
Definition: WiMOD_SAP_LORAWAN_IDs_IL915.h:92
LoRaWAN_Channel_IL_915_9_Mhz
@ LoRaWAN_Channel_IL_915_9_Mhz
Definition: WiMOD_SAP_LORAWAN_IDs_IL915.h:117
LoRaWAN_DataRate_IL915_LoRa_SF7_250kHz
@ LoRaWAN_DataRate_IL915_LoRa_SF7_250kHz
Definition: WiMOD_SAP_LORAWAN_IDs_IL915.h:91
LoRaWAN_Channel_IL_916_1_Mhz
@ LoRaWAN_Channel_IL_916_1_Mhz
Definition: WiMOD_SAP_LORAWAN_IDs_IL915.h:118
LoRaWAN_DataRate_IL915_LoRa_SF8_125kHz
@ LoRaWAN_DataRate_IL915_LoRa_SF8_125kHz
Definition: WiMOD_SAP_LORAWAN_IDs_IL915.h:89
LoRaWAN_Channel_IL_915_7_Mhz
@ LoRaWAN_Channel_IL_915_7_Mhz
Definition: WiMOD_SAP_LORAWAN_IDs_IL915.h:116
LoRaWAN_DataRate_IL915_LoRa_SF10_125kHz
@ LoRaWAN_DataRate_IL915_LoRa_SF10_125kHz
Definition: WiMOD_SAP_LORAWAN_IDs_IL915.h:87
LoRaWAN_DataRate_IL915_LoRa_SF7_125kHz
@ LoRaWAN_DataRate_IL915_LoRa_SF7_125kHz
Definition: WiMOD_SAP_LORAWAN_IDs_IL915.h:90
LoRaWAN_Channel_IL_916_3_Mhz
@ LoRaWAN_Channel_IL_916_3_Mhz
Definition: WiMOD_SAP_LORAWAN_IDs_IL915.h:119
LoRaWAN_DataRate_IL915_LoRa_SF11_125kHz
@ LoRaWAN_DataRate_IL915_LoRa_SF11_125kHz
Definition: WiMOD_SAP_LORAWAN_IDs_IL915.h:86
LoRaWAN_DataRate_IL915_LoRa_SF9_125kHz
@ LoRaWAN_DataRate_IL915_LoRa_SF9_125kHz
Definition: WiMOD_SAP_LORAWAN_IDs_IL915.h:88
TLoRaWANDataRateIL915
TLoRaWANDataRateIL915
LoRa data rate definitions for Israel 915 MHz Band.
Definition: WiMOD_SAP_LORAWAN_IDs_IL915.h:83
TLoRaWAN_Channel_IL
TLoRaWAN_Channel_IL
Channel definition for IL 915MHz Band.
Definition: WiMOD_SAP_LORAWAN_IDs_IL915.h:114