diff --git a/_lo_ra_w_a_n_8h_source.html b/_lo_ra_w_a_n_8h_source.html index 3aaea2f3..98e1ff95 100644 --- a/_lo_ra_w_a_n_8h_source.html +++ b/_lo_ra_w_a_n_8h_source.html @@ -86,203 +86,203 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
LoRaWAN.h
-
1 #if !defined(_RADIOLIB_LORAWAN_H) && !RADIOLIB_EXCLUDE_LORAWAN
-
2 #define _RADIOLIB_LORAWAN_H
+
1 #if !defined(_RADIOLIB_LW_H) && !RADIOLIB_EXCLUDE_LORAWAN
+
2 #define _RADIOLIB_LW_H
3 
4 #include "../../TypeDef.h"
5 #include "../PhysicalLayer/PhysicalLayer.h"
6 #include "../../utils/Cryptography.h"
7 
8 // activation mode
-
9 #define RADIOLIB_LORAWAN_MODE_OTAA (0x07AA)
-
10 #define RADIOLIB_LORAWAN_MODE_ABP (0x0AB9)
-
11 #define RADIOLIB_LORAWAN_MODE_NONE (0x0000)
+
9 #define RADIOLIB_LW_MODE_OTAA (0x07AA)
+
10 #define RADIOLIB_LW_MODE_ABP (0x0AB9)
+
11 #define RADIOLIB_LW_MODE_NONE (0x0000)
12 
13 // operation mode
-
14 #define RADIOLIB_LORAWAN_CLASS_A (0x0A)
-
15 #define RADIOLIB_LORAWAN_CLASS_B (0x0B)
-
16 #define RADIOLIB_LORAWAN_CLASS_C (0x0C)
+
14 #define RADIOLIB_LW_CLASS_A (0x0A)
+
15 #define RADIOLIB_LW_CLASS_B (0x0B)
+
16 #define RADIOLIB_LW_CLASS_C (0x0C)
17 
18 // preamble format
-
19 #define RADIOLIB_LORAWAN_LORA_SYNC_WORD (0x34)
-
20 #define RADIOLIB_LORAWAN_LORA_PREAMBLE_LEN (8)
-
21 #define RADIOLIB_LORAWAN_GFSK_SYNC_WORD (0xC194C1)
-
22 #define RADIOLIB_LORAWAN_GFSK_PREAMBLE_LEN (5)
+
19 #define RADIOLIB_LW_LORA_SYNC_WORD (0x34)
+
20 #define RADIOLIB_LW_LORA_PREAMBLE_LEN (8)
+
21 #define RADIOLIB_LW_GFSK_SYNC_WORD (0xC194C1)
+
22 #define RADIOLIB_LW_GFSK_PREAMBLE_LEN (5)
23 
24 // MAC header field encoding MSB LSB DESCRIPTION
-
25 #define RADIOLIB_LORAWAN_MHDR_MTYPE_JOIN_REQUEST (0x00 << 5) // 7 5 message type: join request
-
26 #define RADIOLIB_LORAWAN_MHDR_MTYPE_JOIN_ACCEPT (0x01 << 5) // 7 5 join accept
-
27 #define RADIOLIB_LORAWAN_MHDR_MTYPE_UNCONF_DATA_UP (0x02 << 5) // 7 5 unconfirmed data up
-
28 #define RADIOLIB_LORAWAN_MHDR_MTYPE_UNCONF_DATA_DOWN (0x03 << 5) // 7 5 unconfirmed data down
-
29 #define RADIOLIB_LORAWAN_MHDR_MTYPE_CONF_DATA_UP (0x04 << 5) // 7 5 confirmed data up
-
30 #define RADIOLIB_LORAWAN_MHDR_MTYPE_CONF_DATA_DOWN (0x05 << 5) // 7 5 confirmed data down
-
31 #define RADIOLIB_LORAWAN_MHDR_MTYPE_PROPRIETARY (0x07 << 5) // 7 5 proprietary
-
32 #define RADIOLIB_LORAWAN_MHDR_MTYPE_MASK (0x07 << 5) // 7 5 bitmask of all possible options
-
33 #define RADIOLIB_LORAWAN_MHDR_MAJOR_R1 (0x00 << 0) // 1 0 major version: LoRaWAN R1
+
25 #define RADIOLIB_LW_MHDR_MTYPE_JOIN_REQUEST (0x00 << 5) // 7 5 message type: join request
+
26 #define RADIOLIB_LW_MHDR_MTYPE_JOIN_ACCEPT (0x01 << 5) // 7 5 join accept
+
27 #define RADIOLIB_LW_MHDR_MTYPE_UNCONF_DATA_UP (0x02 << 5) // 7 5 unconfirmed data up
+
28 #define RADIOLIB_LW_MHDR_MTYPE_UNCONF_DATA_DOWN (0x03 << 5) // 7 5 unconfirmed data down
+
29 #define RADIOLIB_LW_MHDR_MTYPE_CONF_DATA_UP (0x04 << 5) // 7 5 confirmed data up
+
30 #define RADIOLIB_LW_MHDR_MTYPE_CONF_DATA_DOWN (0x05 << 5) // 7 5 confirmed data down
+
31 #define RADIOLIB_LW_MHDR_MTYPE_PROPRIETARY (0x07 << 5) // 7 5 proprietary
+
32 #define RADIOLIB_LW_MHDR_MTYPE_MASK (0x07 << 5) // 7 5 bitmask of all possible options
+
33 #define RADIOLIB_LW_MHDR_MAJOR_R1 (0x00 << 0) // 1 0 major version: LoRaWAN R1
34 
35 // frame control field encoding
-
36 #define RADIOLIB_LORAWAN_FCTRL_ADR_ENABLED (0x01 << 7) // 7 7 adaptive data rate: enabled
-
37 #define RADIOLIB_LORAWAN_FCTRL_ADR_DISABLED (0x00 << 7) // 7 7 disabled
-
38 #define RADIOLIB_LORAWAN_FCTRL_ADR_ACK_REQ (0x01 << 6) // 6 6 adaptive data rate ACK request
-
39 #define RADIOLIB_LORAWAN_FCTRL_ACK (0x01 << 5) // 5 5 confirmed message acknowledge
-
40 #define RADIOLIB_LORAWAN_FCTRL_FRAME_PENDING (0x01 << 4) // 4 4 downlink frame is pending
+
36 #define RADIOLIB_LW_FCTRL_ADR_ENABLED (0x01 << 7) // 7 7 adaptive data rate: enabled
+
37 #define RADIOLIB_LW_FCTRL_ADR_DISABLED (0x00 << 7) // 7 7 disabled
+
38 #define RADIOLIB_LW_FCTRL_ADR_ACK_REQ (0x01 << 6) // 6 6 adaptive data rate ACK request
+
39 #define RADIOLIB_LW_FCTRL_ACK (0x01 << 5) // 5 5 confirmed message acknowledge
+
40 #define RADIOLIB_LW_FCTRL_FRAME_PENDING (0x01 << 4) // 4 4 downlink frame is pending
41 
42 // port field
-
43 #define RADIOLIB_LORAWAN_FPORT_MAC_COMMAND (0x00 << 0) // 7 0 payload contains MAC commands only
-
44 #define RADIOLIB_LORAWAN_FPORT_RESERVED (0xE0 << 0) // 7 0 reserved port values
+
43 #define RADIOLIB_LW_FPORT_MAC_COMMAND (0x00 << 0) // 7 0 payload contains MAC commands only
+
44 #define RADIOLIB_LW_FPORT_RESERVED (0xE0 << 0) // 7 0 reserved port values
45 
46 // MAC commands - only those sent from end-device to gateway
-
47 #define RADIOLIB_LORAWAN_LINK_CHECK_REQ (0x02 << 0) // 7 0 MAC command: request to check connectivity to network
-
48 #define RADIOLIB_LORAWAN_LINK_ADR_ANS (0x03 << 0) // 7 0 answer to ADR change
-
49 #define RADIOLIB_LORAWAN_DUTY_CYCLE_ANS (0x04 << 0) // 7 0 answer to duty cycle change
-
50 #define RADIOLIB_LORAWAN_RX_PARAM_SETUP_ANS (0x05 << 0) // 7 0 answer to reception slot setup request
-
51 #define RADIOLIB_LORAWAN_DEV_STATUS_ANS (0x06 << 0) // 7 0 device status information
-
52 #define RADIOLIB_LORAWAN_NEW_CHANNEL_ANS (0x07 << 0) // 7 0 acknowledges change of a radio channel
-
53 #define RADIOLIB_LORAWAN_RX_TIMING_SETUP_ANS (0x08 << 0) // 7 0 acknowledges change of a reception slots timing
+
47 #define RADIOLIB_LW_LINK_CHECK_REQ (0x02 << 0) // 7 0 MAC command: request to check connectivity to network
+
48 #define RADIOLIB_LW_LINK_ADR_ANS (0x03 << 0) // 7 0 answer to ADR change
+
49 #define RADIOLIB_LW_DUTY_CYCLE_ANS (0x04 << 0) // 7 0 answer to duty cycle change
+
50 #define RADIOLIB_LW_RX_PARAM_SETUP_ANS (0x05 << 0) // 7 0 answer to reception slot setup request
+
51 #define RADIOLIB_LW_DEV_STATUS_ANS (0x06 << 0) // 7 0 device status information
+
52 #define RADIOLIB_LW_NEW_CHANNEL_ANS (0x07 << 0) // 7 0 acknowledges change of a radio channel
+
53 #define RADIOLIB_LW_RX_TIMING_SETUP_ANS (0x08 << 0) // 7 0 acknowledges change of a reception slots timing
54 
-
55 #define RADIOLIB_LORAWAN_NOPTS_LEN (8)
+
55 #define RADIOLIB_LW_NOPTS_LEN (8)
56 
57 // data rate encoding
-
58 #define RADIOLIB_LORAWAN_DATA_RATE_FSK_50_K (0x01 << 7) // 7 7 FSK @ 50 kbps
-
59 #define RADIOLIB_LORAWAN_DATA_RATE_SF_12 (0x06 << 4) // 6 4 LoRa spreading factor: SF12
-
60 #define RADIOLIB_LORAWAN_DATA_RATE_SF_11 (0x05 << 4) // 6 4 SF11
-
61 #define RADIOLIB_LORAWAN_DATA_RATE_SF_10 (0x04 << 4) // 6 4 SF10
-
62 #define RADIOLIB_LORAWAN_DATA_RATE_SF_9 (0x03 << 4) // 6 4 SF9
-
63 #define RADIOLIB_LORAWAN_DATA_RATE_SF_8 (0x02 << 4) // 6 4 SF8
-
64 #define RADIOLIB_LORAWAN_DATA_RATE_SF_7 (0x01 << 4) // 6 4 SF7
-
65 #define RADIOLIB_LORAWAN_DATA_RATE_BW_500_KHZ (0x00 << 2) // 3 2 LoRa bandwidth: 500 kHz
-
66 #define RADIOLIB_LORAWAN_DATA_RATE_BW_250_KHZ (0x01 << 2) // 3 2 250 kHz
-
67 #define RADIOLIB_LORAWAN_DATA_RATE_BW_125_KHZ (0x02 << 2) // 3 2 125 kHz
-
68 #define RADIOLIB_LORAWAN_DATA_RATE_BW_RESERVED (0x03 << 2) // 3 2 reserved value
-
69 #define RADIOLIB_LORAWAN_DATA_RATE_CR_4_5 (0x00 << 0) // 1 0 LoRa coding rate: 4/5
-
70 #define RADIOLIB_LORAWAN_DATA_RATE_CR_4_6 (0x01 << 0) // 1 0 4/6
-
71 #define RADIOLIB_LORAWAN_DATA_RATE_CR_4_7 (0x02 << 0) // 1 0 4/7
-
72 #define RADIOLIB_LORAWAN_DATA_RATE_CR_4_8 (0x03 << 0) // 1 0 4/8
-
73 #define RADIOLIB_LORAWAN_DATA_RATE_UNUSED (0xFF << 0) // 7 0 unused data rate
+
58 #define RADIOLIB_LW_DATA_RATE_FSK_50_K (0x01 << 7) // 7 7 FSK @ 50 kbps
+
59 #define RADIOLIB_LW_DATA_RATE_SF_12 (0x06 << 4) // 6 4 LoRa spreading factor: SF12
+
60 #define RADIOLIB_LW_DATA_RATE_SF_11 (0x05 << 4) // 6 4 SF11
+
61 #define RADIOLIB_LW_DATA_RATE_SF_10 (0x04 << 4) // 6 4 SF10
+
62 #define RADIOLIB_LW_DATA_RATE_SF_9 (0x03 << 4) // 6 4 SF9
+
63 #define RADIOLIB_LW_DATA_RATE_SF_8 (0x02 << 4) // 6 4 SF8
+
64 #define RADIOLIB_LW_DATA_RATE_SF_7 (0x01 << 4) // 6 4 SF7
+
65 #define RADIOLIB_LW_DATA_RATE_BW_500_KHZ (0x00 << 2) // 3 2 LoRa bandwidth: 500 kHz
+
66 #define RADIOLIB_LW_DATA_RATE_BW_250_KHZ (0x01 << 2) // 3 2 250 kHz
+
67 #define RADIOLIB_LW_DATA_RATE_BW_125_KHZ (0x02 << 2) // 3 2 125 kHz
+
68 #define RADIOLIB_LW_DATA_RATE_BW_RESERVED (0x03 << 2) // 3 2 reserved value
+
69 #define RADIOLIB_LW_DATA_RATE_CR_4_5 (0x00 << 0) // 1 0 LoRa coding rate: 4/5
+
70 #define RADIOLIB_LW_DATA_RATE_CR_4_6 (0x01 << 0) // 1 0 4/6
+
71 #define RADIOLIB_LW_DATA_RATE_CR_4_7 (0x02 << 0) // 1 0 4/7
+
72 #define RADIOLIB_LW_DATA_RATE_CR_4_8 (0x03 << 0) // 1 0 4/8
+
73 #define RADIOLIB_LW_DATA_RATE_UNUSED (0xFF << 0) // 7 0 unused data rate
74 
-
75 #define RADIOLIB_LORAWAN_CHANNEL_DIR_UPLINK (0x00 << 0)
-
76 #define RADIOLIB_LORAWAN_CHANNEL_DIR_DOWNLINK (0x01 << 0)
-
77 #define RADIOLIB_LORAWAN_CHANNEL_DIR_BOTH (0x02 << 0)
-
78 #define RADIOLIB_LORAWAN_CHANNEL_DIR_NONE (0x03 << 0)
-
79 #define RADIOLIB_LORAWAN_BAND_DYNAMIC (0)
-
80 #define RADIOLIB_LORAWAN_BAND_FIXED (1)
-
81 #define RADIOLIB_LORAWAN_CHANNEL_NUM_DATARATES (15)
-
82 #define RADIOLIB_LORAWAN_CHANNEL_INDEX_NONE (0xFF >> 0)
+
75 #define RADIOLIB_LW_CHANNEL_DIR_UPLINK (0x00 << 0)
+
76 #define RADIOLIB_LW_CHANNEL_DIR_DOWNLINK (0x01 << 0)
+
77 #define RADIOLIB_LW_CHANNEL_DIR_BOTH (0x02 << 0)
+
78 #define RADIOLIB_LW_CHANNEL_DIR_NONE (0x03 << 0)
+
79 #define RADIOLIB_LW_BAND_DYNAMIC (0)
+
80 #define RADIOLIB_LW_BAND_FIXED (1)
+
81 #define RADIOLIB_LW_CHANNEL_NUM_DATARATES (15)
+
82 #define RADIOLIB_LW_CHANNEL_INDEX_NONE (0xFF >> 0)
83 
84 // recommended default settings
-
85 #define RADIOLIB_LORAWAN_RECEIVE_DELAY_1_MS (1000)
-
86 #define RADIOLIB_LORAWAN_RECEIVE_DELAY_2_MS ((RADIOLIB_LORAWAN_RECEIVE_DELAY_1_MS) + 1000)
-
87 #define RADIOLIB_LORAWAN_RX1_DR_OFFSET (0)
-
88 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_DELAY_1_MS (5000)
-
89 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_DELAY_2_MS (6000)
-
90 #define RADIOLIB_LORAWAN_MAX_FCNT_GAP (16384)
-
91 #define RADIOLIB_LORAWAN_ADR_ACK_LIMIT_EXP (0x06)
-
92 #define RADIOLIB_LORAWAN_ADR_ACK_DELAY_EXP (0x05)
-
93 #define RADIOLIB_LORAWAN_RETRANSMIT_TIMEOUT_MIN_MS (1000)
-
94 #define RADIOLIB_LORAWAN_RETRANSMIT_TIMEOUT_MAX_MS (3000)
-
95 #define RADIOLIB_LORAWAN_POWER_STEP_SIZE_DBM (-2)
-
96 #define RADIOLIB_LORAWAN_REJOIN_MAX_COUNT_N (10) // send rejoin request 16384 uplinks
-
97 #define RADIOLIB_LORAWAN_REJOIN_MAX_TIME_N (15) // once every year, not actually implemented
+
85 #define RADIOLIB_LW_RECEIVE_DELAY_1_MS (1000)
+
86 #define RADIOLIB_LW_RECEIVE_DELAY_2_MS ((RADIOLIB_LW_RECEIVE_DELAY_1_MS) + 1000)
+
87 #define RADIOLIB_LW_RX1_DR_OFFSET (0)
+
88 #define RADIOLIB_LW_JOIN_ACCEPT_DELAY_1_MS (5000)
+
89 #define RADIOLIB_LW_JOIN_ACCEPT_DELAY_2_MS (6000)
+
90 #define RADIOLIB_LW_MAX_FCNT_GAP (16384)
+
91 #define RADIOLIB_LW_ADR_ACK_LIMIT_EXP (0x06)
+
92 #define RADIOLIB_LW_ADR_ACK_DELAY_EXP (0x05)
+
93 #define RADIOLIB_LW_RETRANSMIT_TIMEOUT_MIN_MS (1000)
+
94 #define RADIOLIB_LW_RETRANSMIT_TIMEOUT_MAX_MS (3000)
+
95 #define RADIOLIB_LW_POWER_STEP_SIZE_DBM (-2)
+
96 #define RADIOLIB_LW_REJOIN_MAX_COUNT_N (10) // send rejoin request 16384 uplinks
+
97 #define RADIOLIB_LW_REJOIN_MAX_TIME_N (15) // once every year, not actually implemented
98 
99 // join request message layout
-
100 #define RADIOLIB_LORAWAN_JOIN_REQUEST_LEN (23)
-
101 #define RADIOLIB_LORAWAN_JOIN_REQUEST_JOIN_EUI_POS (1)
-
102 #define RADIOLIB_LORAWAN_JOIN_REQUEST_DEV_EUI_POS (9)
-
103 #define RADIOLIB_LORAWAN_JOIN_REQUEST_DEV_NONCE_POS (17)
-
104 #define RADIOLIB_LORAWAN_JOIN_REQUEST_TYPE (0xFF)
-
105 #define RADIOLIB_LORAWAN_JOIN_REQUEST_TYPE_0 (0x00)
-
106 #define RADIOLIB_LORAWAN_JOIN_REQUEST_TYPE_1 (0x01)
-
107 #define RADIOLIB_LORAWAN_JOIN_REQUEST_TYPE_2 (0x02)
+
100 #define RADIOLIB_LW_JOIN_REQUEST_LEN (23)
+
101 #define RADIOLIB_LW_JOIN_REQUEST_JOIN_EUI_POS (1)
+
102 #define RADIOLIB_LW_JOIN_REQUEST_DEV_EUI_POS (9)
+
103 #define RADIOLIB_LW_JOIN_REQUEST_DEV_NONCE_POS (17)
+
104 #define RADIOLIB_LW_JOIN_REQUEST_TYPE (0xFF)
+
105 #define RADIOLIB_LW_JOIN_REQUEST_TYPE_0 (0x00)
+
106 #define RADIOLIB_LW_JOIN_REQUEST_TYPE_1 (0x01)
+
107 #define RADIOLIB_LW_JOIN_REQUEST_TYPE_2 (0x02)
108 
109 // join accept message layout
-
110 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_MAX_LEN (33)
-
111 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_JOIN_NONCE_POS (1)
-
112 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_HOME_NET_ID_POS (4)
-
113 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_DEV_ADDR_POS (7)
-
114 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_JOIN_EUI_POS (4)
-
115 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_DL_SETTINGS_POS (11)
-
116 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_RX_DELAY_POS (12)
-
117 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_DEV_NONCE_POS (12)
-
118 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_CFLIST_POS (13)
-
119 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_CFLIST_LEN (16)
-
120 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_CFLIST_TYPE_POS (RADIOLIB_LORAWAN_JOIN_ACCEPT_CFLIST_POS + RADIOLIB_LORAWAN_JOIN_ACCEPT_CFLIST_LEN - 1)
+
110 #define RADIOLIB_LW_JOIN_ACCEPT_MAX_LEN (33)
+
111 #define RADIOLIB_LW_JOIN_ACCEPT_JOIN_NONCE_POS (1)
+
112 #define RADIOLIB_LW_JOIN_ACCEPT_HOME_NET_ID_POS (4)
+
113 #define RADIOLIB_LW_JOIN_ACCEPT_DEV_ADDR_POS (7)
+
114 #define RADIOLIB_LW_JOIN_ACCEPT_JOIN_EUI_POS (4)
+
115 #define RADIOLIB_LW_JOIN_ACCEPT_DL_SETTINGS_POS (11)
+
116 #define RADIOLIB_LW_JOIN_ACCEPT_RX_DELAY_POS (12)
+
117 #define RADIOLIB_LW_JOIN_ACCEPT_DEV_NONCE_POS (12)
+
118 #define RADIOLIB_LW_JOIN_ACCEPT_CFLIST_POS (13)
+
119 #define RADIOLIB_LW_JOIN_ACCEPT_CFLIST_LEN (16)
+
120 #define RADIOLIB_LW_JOIN_ACCEPT_CFLIST_TYPE_POS (RADIOLIB_LW_JOIN_ACCEPT_CFLIST_POS + RADIOLIB_LW_JOIN_ACCEPT_CFLIST_LEN - 1)
121 
122 // join accept message variables
-
123 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_R_1_0 (0x00 << 7) // 7 7 LoRaWAN revision: 1.0
-
124 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_R_1_1 (0x01 << 7) // 7 7 1.1
-
125 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_F_NWK_S_INT_KEY (0x01)
-
126 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_APP_S_KEY (0x02)
-
127 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_S_NWK_S_INT_KEY (0x03)
-
128 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_NWK_S_ENC_KEY (0x04)
-
129 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_JS_ENC_KEY (0x05)
-
130 #define RADIOLIB_LORAWAN_JOIN_ACCEPT_JS_INT_KEY (0x06)
+
123 #define RADIOLIB_LW_JOIN_ACCEPT_R_1_0 (0x00 << 7) // 7 7 LoRaWAN revision: 1.0
+
124 #define RADIOLIB_LW_JOIN_ACCEPT_R_1_1 (0x01 << 7) // 7 7 1.1
+
125 #define RADIOLIB_LW_JOIN_ACCEPT_F_NWK_S_INT_KEY (0x01)
+
126 #define RADIOLIB_LW_JOIN_ACCEPT_APP_S_KEY (0x02)
+
127 #define RADIOLIB_LW_JOIN_ACCEPT_S_NWK_S_INT_KEY (0x03)
+
128 #define RADIOLIB_LW_JOIN_ACCEPT_NWK_S_ENC_KEY (0x04)
+
129 #define RADIOLIB_LW_JOIN_ACCEPT_JS_ENC_KEY (0x05)
+
130 #define RADIOLIB_LW_JOIN_ACCEPT_JS_INT_KEY (0x06)
131 
132 // frame header layout
-
133 #define RADIOLIB_LORAWAN_FHDR_LEN_START_OFFS (16)
-
134 #define RADIOLIB_LORAWAN_FHDR_DEV_ADDR_POS (RADIOLIB_LORAWAN_FHDR_LEN_START_OFFS + 1)
-
135 #define RADIOLIB_LORAWAN_FHDR_FCTRL_POS (RADIOLIB_LORAWAN_FHDR_LEN_START_OFFS + 5)
-
136 #define RADIOLIB_LORAWAN_FHDR_FCNT_POS (RADIOLIB_LORAWAN_FHDR_LEN_START_OFFS + 6)
-
137 #define RADIOLIB_LORAWAN_FHDR_FOPTS_POS (RADIOLIB_LORAWAN_FHDR_LEN_START_OFFS + 8)
-
138 #define RADIOLIB_LORAWAN_FHDR_FOPTS_LEN_MASK (0x0F)
-
139 #define RADIOLIB_LORAWAN_FHDR_FOPTS_MAX_LEN (15)
-
140 #define RADIOLIB_LORAWAN_FHDR_FPORT_POS(FOPTS) (RADIOLIB_LORAWAN_FHDR_LEN_START_OFFS + 8 + (FOPTS))
-
141 #define RADIOLIB_LORAWAN_FRAME_PAYLOAD_POS(FOPTS) (RADIOLIB_LORAWAN_FHDR_LEN_START_OFFS + 9 + (FOPTS))
-
142 #define RADIOLIB_LORAWAN_FRAME_LEN(PAYLOAD, FOPTS) (16 + 13 + (PAYLOAD) + (FOPTS))
+
133 #define RADIOLIB_LW_FHDR_LEN_START_OFFS (16)
+
134 #define RADIOLIB_LW_FHDR_DEV_ADDR_POS (RADIOLIB_LW_FHDR_LEN_START_OFFS + 1)
+
135 #define RADIOLIB_LW_FHDR_FCTRL_POS (RADIOLIB_LW_FHDR_LEN_START_OFFS + 5)
+
136 #define RADIOLIB_LW_FHDR_FCNT_POS (RADIOLIB_LW_FHDR_LEN_START_OFFS + 6)
+
137 #define RADIOLIB_LW_FHDR_FOPTS_POS (RADIOLIB_LW_FHDR_LEN_START_OFFS + 8)
+
138 #define RADIOLIB_LW_FHDR_FOPTS_LEN_MASK (0x0F)
+
139 #define RADIOLIB_LW_FHDR_FOPTS_MAX_LEN (15)
+
140 #define RADIOLIB_LW_FHDR_FPORT_POS(FOPTS) (RADIOLIB_LW_FHDR_LEN_START_OFFS + 8 + (FOPTS))
+
141 #define RADIOLIB_LW_FRAME_PAYLOAD_POS(FOPTS) (RADIOLIB_LW_FHDR_LEN_START_OFFS + 9 + (FOPTS))
+
142 #define RADIOLIB_LW_FRAME_LEN(PAYLOAD, FOPTS) (16 + 13 + (PAYLOAD) + (FOPTS))
143 
144 // payload encryption/MIC blocks common layout
-
145 #define RADIOLIB_LORAWAN_BLOCK_MAGIC_POS (0)
-
146 #define RADIOLIB_LORAWAN_BLOCK_CONF_FCNT_POS (1)
-
147 #define RADIOLIB_LORAWAN_BLOCK_DIR_POS (5)
-
148 #define RADIOLIB_LORAWAN_BLOCK_DEV_ADDR_POS (6)
-
149 #define RADIOLIB_LORAWAN_BLOCK_FCNT_POS (10)
+
145 #define RADIOLIB_LW_BLOCK_MAGIC_POS (0)
+
146 #define RADIOLIB_LW_BLOCK_CONF_FCNT_POS (1)
+
147 #define RADIOLIB_LW_BLOCK_DIR_POS (5)
+
148 #define RADIOLIB_LW_BLOCK_DEV_ADDR_POS (6)
+
149 #define RADIOLIB_LW_BLOCK_FCNT_POS (10)
150 
151 // payload encryption block layout
-
152 #define RADIOLIB_LORAWAN_ENC_BLOCK_MAGIC (0x01)
-
153 #define RADIOLIB_LORAWAN_ENC_BLOCK_COUNTER_ID_POS (4)
-
154 #define RADIOLIB_LORAWAN_ENC_BLOCK_COUNTER_POS (15)
+
152 #define RADIOLIB_LW_ENC_BLOCK_MAGIC (0x01)
+
153 #define RADIOLIB_LW_ENC_BLOCK_COUNTER_ID_POS (4)
+
154 #define RADIOLIB_LW_ENC_BLOCK_COUNTER_POS (15)
155 
156 // payload MIC blocks layout
-
157 #define RADIOLIB_LORAWAN_MIC_BLOCK_MAGIC (0x49)
-
158 #define RADIOLIB_LORAWAN_MIC_BLOCK_LEN_POS (15)
-
159 #define RADIOLIB_LORAWAN_MIC_DATA_RATE_POS (3)
-
160 #define RADIOLIB_LORAWAN_MIC_CH_INDEX_POS (4)
+
157 #define RADIOLIB_LW_MIC_BLOCK_MAGIC (0x49)
+
158 #define RADIOLIB_LW_MIC_BLOCK_LEN_POS (15)
+
159 #define RADIOLIB_LW_MIC_DATA_RATE_POS (3)
+
160 #define RADIOLIB_LW_MIC_CH_INDEX_POS (4)
161 
162 // maximum allowed dwell time on bands that implement dwell time limitations
-
163 #define RADIOLIB_LORAWAN_DWELL_TIME (400)
+
163 #define RADIOLIB_LW_DWELL_TIME (400)
164 
165 // unused frame counter value
-
166 #define RADIOLIB_LORAWAN_FCNT_NONE (0xFFFFFFFF)
+
166 #define RADIOLIB_LW_FCNT_NONE (0xFFFFFFFF)
167 
168 // MAC commands
-
169 #define RADIOLIB_LORAWAN_NUM_MAC_COMMANDS (16)
+
169 #define RADIOLIB_LW_NUM_MAC_COMMANDS (16)
170 
-
171 #define RADIOLIB_LORAWAN_MAC_RESET (0x01)
-
172 #define RADIOLIB_LORAWAN_MAC_LINK_CHECK (0x02)
-
173 #define RADIOLIB_LORAWAN_MAC_LINK_ADR (0x03)
-
174 #define RADIOLIB_LORAWAN_MAC_DUTY_CYCLE (0x04)
-
175 #define RADIOLIB_LORAWAN_MAC_RX_PARAM_SETUP (0x05)
-
176 #define RADIOLIB_LORAWAN_MAC_DEV_STATUS (0x06)
-
177 #define RADIOLIB_LORAWAN_MAC_NEW_CHANNEL (0x07)
-
178 #define RADIOLIB_LORAWAN_MAC_RX_TIMING_SETUP (0x08)
-
179 #define RADIOLIB_LORAWAN_MAC_TX_PARAM_SETUP (0x09)
-
180 #define RADIOLIB_LORAWAN_MAC_DL_CHANNEL (0x0A)
-
181 #define RADIOLIB_LORAWAN_MAC_REKEY (0x0B)
-
182 #define RADIOLIB_LORAWAN_MAC_ADR_PARAM_SETUP (0x0C)
-
183 #define RADIOLIB_LORAWAN_MAC_DEVICE_TIME (0x0D)
-
184 #define RADIOLIB_LORAWAN_MAC_FORCE_REJOIN (0x0E)
-
185 #define RADIOLIB_LORAWAN_MAC_REJOIN_PARAM_SETUP (0x0F)
-
186 #define RADIOLIB_LORAWAN_MAC_PROPRIETARY (0x80)
+
171 #define RADIOLIB_LW_MAC_RESET (0x01)
+
172 #define RADIOLIB_LW_MAC_LINK_CHECK (0x02)
+
173 #define RADIOLIB_LW_MAC_LINK_ADR (0x03)
+
174 #define RADIOLIB_LW_MAC_DUTY_CYCLE (0x04)
+
175 #define RADIOLIB_LW_MAC_RX_PARAM_SETUP (0x05)
+
176 #define RADIOLIB_LW_MAC_DEV_STATUS (0x06)
+
177 #define RADIOLIB_LW_MAC_NEW_CHANNEL (0x07)
+
178 #define RADIOLIB_LW_MAC_RX_TIMING_SETUP (0x08)
+
179 #define RADIOLIB_LW_MAC_TX_PARAM_SETUP (0x09)
+
180 #define RADIOLIB_LW_MAC_DL_CHANNEL (0x0A)
+
181 #define RADIOLIB_LW_MAC_REKEY (0x0B)
+
182 #define RADIOLIB_LW_MAC_ADR_PARAM_SETUP (0x0C)
+
183 #define RADIOLIB_LW_MAC_DEVICE_TIME (0x0D)
+
184 #define RADIOLIB_LW_MAC_FORCE_REJOIN (0x0E)
+
185 #define RADIOLIB_LW_MAC_REJOIN_PARAM_SETUP (0x0F)
+
186 #define RADIOLIB_LW_MAC_PROPRIETARY (0x80)
187 
188 // the length of internal MAC command queue - hopefully this is enough for most use cases
-
189 #define RADIOLIB_LORAWAN_MAC_COMMAND_QUEUE_SIZE (9)
+
189 #define RADIOLIB_LW_MAC_COMMAND_QUEUE_SIZE (9)
190 
191 // the maximum number of simultaneously available channels
-
192 #define RADIOLIB_LORAWAN_NUM_AVAILABLE_CHANNELS (16)
+
192 #define RADIOLIB_LW_NUM_AVAILABLE_CHANNELS (16)
193 
194 // maximum MAC command sizes
-
195 #define RADIOLIB_LORAWAN_MAX_MAC_COMMAND_LEN_DOWN (5)
-
196 #define RADIOLIB_LORAWAN_MAX_MAC_COMMAND_LEN_UP (2)
-
197 #define RADIOLIB_LORAWAN_MAX_NUM_ADR_COMMANDS (8)
+
195 #define RADIOLIB_LW_MAX_MAC_COMMAND_LEN_DOWN (5)
+
196 #define RADIOLIB_LW_MAX_MAC_COMMAND_LEN_UP (2)
+
197 #define RADIOLIB_LW_MAX_NUM_ADR_COMMANDS (8)
198 
205  const uint8_t cid;
@@ -294,24 +294,24 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
214  const bool user;
215 };
216 
-
217 constexpr LoRaWANMacSpec_t MacTable[RADIOLIB_LORAWAN_NUM_MAC_COMMANDS + 1] = {
+
217 constexpr LoRaWANMacSpec_t MacTable[RADIOLIB_LW_NUM_MAC_COMMANDS + 1] = {
218  { 0x00, 0, 0, false }, // not an actual MAC command, exists for index offsetting
-
219  { RADIOLIB_LORAWAN_MAC_RESET, 1, 1, false },
-
220  { RADIOLIB_LORAWAN_MAC_LINK_CHECK, 2, 0, true },
-
221  { RADIOLIB_LORAWAN_MAC_LINK_ADR, 4, 1, false },
-
222  { RADIOLIB_LORAWAN_MAC_DUTY_CYCLE, 1, 0, false },
-
223  { RADIOLIB_LORAWAN_MAC_RX_PARAM_SETUP, 4, 1, false },
-
224  { RADIOLIB_LORAWAN_MAC_DEV_STATUS, 0, 2, false },
-
225  { RADIOLIB_LORAWAN_MAC_NEW_CHANNEL, 5, 1, false },
-
226  { RADIOLIB_LORAWAN_MAC_RX_TIMING_SETUP, 1, 0, false },
-
227  { RADIOLIB_LORAWAN_MAC_TX_PARAM_SETUP, 1, 0, false },
-
228  { RADIOLIB_LORAWAN_MAC_DL_CHANNEL, 4, 1, false },
-
229  { RADIOLIB_LORAWAN_MAC_REKEY, 1, 1, false },
-
230  { RADIOLIB_LORAWAN_MAC_ADR_PARAM_SETUP, 1, 0, false },
-
231  { RADIOLIB_LORAWAN_MAC_DEVICE_TIME, 5, 0, true },
-
232  { RADIOLIB_LORAWAN_MAC_FORCE_REJOIN, 2, 0, false },
-
233  { RADIOLIB_LORAWAN_MAC_REJOIN_PARAM_SETUP, 1, 1, false },
-
234  { RADIOLIB_LORAWAN_MAC_PROPRIETARY, 5, 0, true }
+
219  { RADIOLIB_LW_MAC_RESET, 1, 1, false },
+
220  { RADIOLIB_LW_MAC_LINK_CHECK, 2, 0, true },
+
221  { RADIOLIB_LW_MAC_LINK_ADR, 4, 1, false },
+
222  { RADIOLIB_LW_MAC_DUTY_CYCLE, 1, 0, false },
+
223  { RADIOLIB_LW_MAC_RX_PARAM_SETUP, 4, 1, false },
+
224  { RADIOLIB_LW_MAC_DEV_STATUS, 0, 2, false },
+
225  { RADIOLIB_LW_MAC_NEW_CHANNEL, 5, 1, false },
+
226  { RADIOLIB_LW_MAC_RX_TIMING_SETUP, 1, 0, false },
+
227  { RADIOLIB_LW_MAC_TX_PARAM_SETUP, 1, 0, false },
+
228  { RADIOLIB_LW_MAC_DL_CHANNEL, 4, 1, false },
+
229  { RADIOLIB_LW_MAC_REKEY, 1, 1, false },
+
230  { RADIOLIB_LW_MAC_ADR_PARAM_SETUP, 1, 0, false },
+
231  { RADIOLIB_LW_MAC_DEVICE_TIME, 5, 0, true },
+
232  { RADIOLIB_LW_MAC_FORCE_REJOIN, 2, 0, false },
+
233  { RADIOLIB_LW_MAC_REJOIN_PARAM_SETUP, 1, 1, false },
+
234  { RADIOLIB_LW_MAC_PROPRIETARY, 5, 0, true }
235 };
236 
@@ -329,59 +329,59 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
262 
264  uint8_t len;
265 
-
267  LoRaWANMacCommand_t commands[RADIOLIB_LORAWAN_MAC_COMMAND_QUEUE_SIZE];
+
267  LoRaWANMacCommand_t commands[RADIOLIB_LW_MAC_COMMAND_QUEUE_SIZE];
268 };
269 
-
270 #define RADIOLIB_LORAWAN_NONCES_VERSION_VAL (0x0001)
+
270 #define RADIOLIB_LW_NONCES_VERSION_VAL (0x0001)
271 
272 enum LoRaWANSchemeBase_t {
-
273  RADIOLIB_LORAWAN_NONCES_START = 0x00,
-
274  RADIOLIB_LORAWAN_NONCES_VERSION = RADIOLIB_LORAWAN_NONCES_START, // 2 bytes
-
275  RADIOLIB_LORAWAN_NONCES_MODE = RADIOLIB_LORAWAN_NONCES_VERSION + sizeof(uint16_t), // 2 bytes
-
276  RADIOLIB_LORAWAN_NONCES_CLASS = RADIOLIB_LORAWAN_NONCES_MODE + sizeof(uint16_t), // 1 byte
-
277  RADIOLIB_LORAWAN_NONCES_PLAN = RADIOLIB_LORAWAN_NONCES_CLASS + sizeof(uint8_t), // 1 byte
-
278  RADIOLIB_LORAWAN_NONCES_CHECKSUM = RADIOLIB_LORAWAN_NONCES_PLAN + sizeof(uint8_t), // 2 bytes
-
279  RADIOLIB_LORAWAN_NONCES_DEV_NONCE = RADIOLIB_LORAWAN_NONCES_CHECKSUM + sizeof(uint16_t), // 2 bytes
-
280  RADIOLIB_LORAWAN_NONCES_JOIN_NONCE = RADIOLIB_LORAWAN_NONCES_DEV_NONCE + sizeof(uint16_t), // 3 bytes
-
281  RADIOLIB_LORAWAN_NONCES_ACTIVE = RADIOLIB_LORAWAN_NONCES_JOIN_NONCE + 3, // 1 byte
-
282  RADIOLIB_LORAWAN_NONCES_SIGNATURE = RADIOLIB_LORAWAN_NONCES_ACTIVE + sizeof(uint8_t), // 2 bytes
-
283  RADIOLIB_LORAWAN_NONCES_BUF_SIZE = RADIOLIB_LORAWAN_NONCES_SIGNATURE + sizeof(uint16_t) // Nonces buffer size
+
273  RADIOLIB_LW_NONCES_START = 0x00,
+
274  RADIOLIB_LW_NONCES_VERSION = RADIOLIB_LW_NONCES_START, // 2 bytes
+
275  RADIOLIB_LW_NONCES_MODE = RADIOLIB_LW_NONCES_VERSION + sizeof(uint16_t), // 2 bytes
+
276  RADIOLIB_LW_NONCES_CLASS = RADIOLIB_LW_NONCES_MODE + sizeof(uint16_t), // 1 byte
+
277  RADIOLIB_LW_NONCES_PLAN = RADIOLIB_LW_NONCES_CLASS + sizeof(uint8_t), // 1 byte
+
278  RADIOLIB_LW_NONCES_CHECKSUM = RADIOLIB_LW_NONCES_PLAN + sizeof(uint8_t), // 2 bytes
+
279  RADIOLIB_LW_NONCES_DEV_NONCE = RADIOLIB_LW_NONCES_CHECKSUM + sizeof(uint16_t), // 2 bytes
+
280  RADIOLIB_LW_NONCES_JOIN_NONCE = RADIOLIB_LW_NONCES_DEV_NONCE + sizeof(uint16_t), // 3 bytes
+
281  RADIOLIB_LW_NONCES_ACTIVE = RADIOLIB_LW_NONCES_JOIN_NONCE + 3, // 1 byte
+
282  RADIOLIB_LW_NONCES_SIGNATURE = RADIOLIB_LW_NONCES_ACTIVE + sizeof(uint8_t), // 2 bytes
+
283  RADIOLIB_LW_NONCES_BUF_SIZE = RADIOLIB_LW_NONCES_SIGNATURE + sizeof(uint16_t) // Nonces buffer size
284 };
285 
286 enum LoRaWANSchemeSession_t {
-
287  RADIOLIB_LORAWAN_SESSION_START = 0x00,
-
288  RADIOLIB_LORAWAN_SESSION_NWK_SENC_KEY = RADIOLIB_LORAWAN_SESSION_START, // 16 bytes
-
289  RADIOLIB_LORAWAN_SESSION_APP_SKEY = RADIOLIB_LORAWAN_SESSION_NWK_SENC_KEY + RADIOLIB_AES128_BLOCK_SIZE, // 16 bytes
-
290  RADIOLIB_LORAWAN_SESSION_FNWK_SINT_KEY = RADIOLIB_LORAWAN_SESSION_APP_SKEY + RADIOLIB_AES128_BLOCK_SIZE, // 16 bytes
-
291  RADIOLIB_LORAWAN_SESSION_SNWK_SINT_KEY = RADIOLIB_LORAWAN_SESSION_FNWK_SINT_KEY + RADIOLIB_AES128_BLOCK_SIZE, // 16 bytes
-
292  RADIOLIB_LORAWAN_SESSION_DEV_ADDR = RADIOLIB_LORAWAN_SESSION_SNWK_SINT_KEY + RADIOLIB_AES128_BLOCK_SIZE, // 4 bytes
-
293  RADIOLIB_LORAWAN_SESSION_NONCES_SIGNATURE = RADIOLIB_LORAWAN_SESSION_DEV_ADDR + sizeof(uint32_t), // 2 bytes
-
294  RADIOLIB_LORAWAN_SESSION_A_FCNT_DOWN = RADIOLIB_LORAWAN_SESSION_NONCES_SIGNATURE + sizeof(uint16_t), // 4 bytes
-
295  RADIOLIB_LORAWAN_SESSION_CONF_FCNT_UP = RADIOLIB_LORAWAN_SESSION_A_FCNT_DOWN + sizeof(uint32_t), // 4 bytes
-
296  RADIOLIB_LORAWAN_SESSION_CONF_FCNT_DOWN = RADIOLIB_LORAWAN_SESSION_CONF_FCNT_UP + sizeof(uint32_t), // 4 bytes
-
297  RADIOLIB_LORAWAN_SESSION_RJ_COUNT0 = RADIOLIB_LORAWAN_SESSION_CONF_FCNT_DOWN + sizeof(uint32_t), // 2 bytes
-
298  RADIOLIB_LORAWAN_SESSION_RJ_COUNT1 = RADIOLIB_LORAWAN_SESSION_RJ_COUNT0 + sizeof(uint16_t), // 2 bytes
-
299  RADIOLIB_LORAWAN_SESSION_HOMENET_ID = RADIOLIB_LORAWAN_SESSION_RJ_COUNT1 + sizeof(uint16_t), // 4 bytes
-
300  RADIOLIB_LORAWAN_SESSION_VERSION = RADIOLIB_LORAWAN_SESSION_HOMENET_ID + sizeof(uint32_t), // 1 byte
-
301  RADIOLIB_LORAWAN_SESSION_DUTY_CYCLE = RADIOLIB_LORAWAN_SESSION_VERSION + sizeof(uint8_t), // 1 byte
-
302  RADIOLIB_LORAWAN_SESSION_RX_PARAM_SETUP = RADIOLIB_LORAWAN_SESSION_DUTY_CYCLE + MacTable[RADIOLIB_LORAWAN_MAC_DUTY_CYCLE].lenDn, // 4 bytes
-
303  RADIOLIB_LORAWAN_SESSION_RX_TIMING_SETUP = RADIOLIB_LORAWAN_SESSION_RX_PARAM_SETUP + MacTable[RADIOLIB_LORAWAN_MAC_RX_PARAM_SETUP].lenDn, // 1 byte
-
304  RADIOLIB_LORAWAN_SESSION_TX_PARAM_SETUP = RADIOLIB_LORAWAN_SESSION_RX_TIMING_SETUP + MacTable[RADIOLIB_LORAWAN_MAC_RX_TIMING_SETUP].lenDn, // 1 byte
-
305  RADIOLIB_LORAWAN_SESSION_ADR_PARAM_SETUP = RADIOLIB_LORAWAN_SESSION_TX_PARAM_SETUP + MacTable[RADIOLIB_LORAWAN_MAC_TX_PARAM_SETUP].lenDn, // 1 byte
-
306  RADIOLIB_LORAWAN_SESSION_REJOIN_PARAM_SETUP = RADIOLIB_LORAWAN_SESSION_ADR_PARAM_SETUP + MacTable[RADIOLIB_LORAWAN_MAC_ADR_PARAM_SETUP].lenDn, // 1 byte
-
307  RADIOLIB_LORAWAN_SESSION_BEACON_FREQ = RADIOLIB_LORAWAN_SESSION_REJOIN_PARAM_SETUP + MacTable[RADIOLIB_LORAWAN_MAC_REJOIN_PARAM_SETUP].lenDn, // 3 bytes
-
308  RADIOLIB_LORAWAN_SESSION_PING_SLOT_CHANNEL = RADIOLIB_LORAWAN_SESSION_BEACON_FREQ + 3, // 4 bytes
-
309  RADIOLIB_LORAWAN_SESSION_PERIODICITY = RADIOLIB_LORAWAN_SESSION_PING_SLOT_CHANNEL + 4, // 1 byte
-
310  RADIOLIB_LORAWAN_SESSION_LAST_TIME = RADIOLIB_LORAWAN_SESSION_PERIODICITY + 1, // 4 bytes
-
311  RADIOLIB_LORAWAN_SESSION_UL_CHANNELS = RADIOLIB_LORAWAN_SESSION_LAST_TIME + 4, // 16*5 bytes
-
312  RADIOLIB_LORAWAN_SESSION_DL_CHANNELS = RADIOLIB_LORAWAN_SESSION_UL_CHANNELS + 16*MacTable[RADIOLIB_LORAWAN_MAC_NEW_CHANNEL].lenDn, // 16*4 bytes
-
313  RADIOLIB_LORAWAN_SESSION_MAC_QUEUE_UL = RADIOLIB_LORAWAN_SESSION_DL_CHANNELS + 16*MacTable[RADIOLIB_LORAWAN_MAC_DL_CHANNEL].lenDn, // 9*8+2 bytes
-
314  RADIOLIB_LORAWAN_SESSION_N_FCNT_DOWN = RADIOLIB_LORAWAN_SESSION_MAC_QUEUE_UL + sizeof(LoRaWANMacCommandQueue_t), // 4 bytes
-
315  RADIOLIB_LORAWAN_SESSION_ADR_FCNT = RADIOLIB_LORAWAN_SESSION_N_FCNT_DOWN + sizeof(uint32_t), // 4 bytes
-
316  RADIOLIB_LORAWAN_SESSION_LINK_ADR = RADIOLIB_LORAWAN_SESSION_ADR_FCNT + sizeof(uint32_t), // 4 bytes
-
317  RADIOLIB_LORAWAN_SESSION_FCNT_UP = RADIOLIB_LORAWAN_SESSION_LINK_ADR + MacTable[RADIOLIB_LORAWAN_MAC_LINK_ADR].lenDn, // 4 bytes
-
318  RADIOLIB_LORAWAN_SESSION_SIGNATURE = RADIOLIB_LORAWAN_SESSION_FCNT_UP + sizeof(uint32_t), // 2 bytes
-
319  RADIOLIB_LORAWAN_SESSION_BUF_SIZE = RADIOLIB_LORAWAN_SESSION_SIGNATURE + sizeof(uint16_t) // Session buffer size
+
287  RADIOLIB_LW_SESSION_START = 0x00,
+
288  RADIOLIB_LW_SESSION_NWK_SENC_KEY = RADIOLIB_LW_SESSION_START, // 16 bytes
+
289  RADIOLIB_LW_SESSION_APP_SKEY = RADIOLIB_LW_SESSION_NWK_SENC_KEY + RADIOLIB_AES128_BLOCK_SIZE, // 16 bytes
+
290  RADIOLIB_LW_SESSION_FNWK_SINT_KEY = RADIOLIB_LW_SESSION_APP_SKEY + RADIOLIB_AES128_BLOCK_SIZE, // 16 bytes
+
291  RADIOLIB_LW_SESSION_SNWK_SINT_KEY = RADIOLIB_LW_SESSION_FNWK_SINT_KEY + RADIOLIB_AES128_BLOCK_SIZE, // 16 bytes
+
292  RADIOLIB_LW_SESSION_DEV_ADDR = RADIOLIB_LW_SESSION_SNWK_SINT_KEY + RADIOLIB_AES128_BLOCK_SIZE, // 4 bytes
+
293  RADIOLIB_LW_SESSION_NONCES_SIGNATURE = RADIOLIB_LW_SESSION_DEV_ADDR + sizeof(uint32_t), // 2 bytes
+
294  RADIOLIB_LW_SESSION_A_FCNT_DOWN = RADIOLIB_LW_SESSION_NONCES_SIGNATURE + sizeof(uint16_t), // 4 bytes
+
295  RADIOLIB_LW_SESSION_CONF_FCNT_UP = RADIOLIB_LW_SESSION_A_FCNT_DOWN + sizeof(uint32_t), // 4 bytes
+
296  RADIOLIB_LW_SESSION_CONF_FCNT_DOWN = RADIOLIB_LW_SESSION_CONF_FCNT_UP + sizeof(uint32_t), // 4 bytes
+
297  RADIOLIB_LW_SESSION_RJ_COUNT0 = RADIOLIB_LW_SESSION_CONF_FCNT_DOWN + sizeof(uint32_t), // 2 bytes
+
298  RADIOLIB_LW_SESSION_RJ_COUNT1 = RADIOLIB_LW_SESSION_RJ_COUNT0 + sizeof(uint16_t), // 2 bytes
+
299  RADIOLIB_LW_SESSION_HOMENET_ID = RADIOLIB_LW_SESSION_RJ_COUNT1 + sizeof(uint16_t), // 4 bytes
+
300  RADIOLIB_LW_SESSION_VERSION = RADIOLIB_LW_SESSION_HOMENET_ID + sizeof(uint32_t), // 1 byte
+
301  RADIOLIB_LW_SESSION_DUTY_CYCLE = RADIOLIB_LW_SESSION_VERSION + sizeof(uint8_t), // 1 byte
+
302  RADIOLIB_LW_SESSION_RX_PARAM_SETUP = RADIOLIB_LW_SESSION_DUTY_CYCLE + MacTable[RADIOLIB_LW_MAC_DUTY_CYCLE].lenDn, // 4 bytes
+
303  RADIOLIB_LW_SESSION_RX_TIMING_SETUP = RADIOLIB_LW_SESSION_RX_PARAM_SETUP + MacTable[RADIOLIB_LW_MAC_RX_PARAM_SETUP].lenDn, // 1 byte
+
304  RADIOLIB_LW_SESSION_TX_PARAM_SETUP = RADIOLIB_LW_SESSION_RX_TIMING_SETUP + MacTable[RADIOLIB_LW_MAC_RX_TIMING_SETUP].lenDn, // 1 byte
+
305  RADIOLIB_LW_SESSION_ADR_PARAM_SETUP = RADIOLIB_LW_SESSION_TX_PARAM_SETUP + MacTable[RADIOLIB_LW_MAC_TX_PARAM_SETUP].lenDn, // 1 byte
+
306  RADIOLIB_LW_SESSION_REJOIN_PARAM_SETUP = RADIOLIB_LW_SESSION_ADR_PARAM_SETUP + MacTable[RADIOLIB_LW_MAC_ADR_PARAM_SETUP].lenDn, // 1 byte
+
307  RADIOLIB_LW_SESSION_BEACON_FREQ = RADIOLIB_LW_SESSION_REJOIN_PARAM_SETUP + MacTable[RADIOLIB_LW_MAC_REJOIN_PARAM_SETUP].lenDn, // 3 bytes
+
308  RADIOLIB_LW_SESSION_PING_SLOT_CHANNEL = RADIOLIB_LW_SESSION_BEACON_FREQ + 3, // 4 bytes
+
309  RADIOLIB_LW_SESSION_PERIODICITY = RADIOLIB_LW_SESSION_PING_SLOT_CHANNEL + 4, // 1 byte
+
310  RADIOLIB_LW_SESSION_LAST_TIME = RADIOLIB_LW_SESSION_PERIODICITY + 1, // 4 bytes
+
311  RADIOLIB_LW_SESSION_UL_CHANNELS = RADIOLIB_LW_SESSION_LAST_TIME + 4, // 16*5 bytes
+
312  RADIOLIB_LW_SESSION_DL_CHANNELS = RADIOLIB_LW_SESSION_UL_CHANNELS + 16*MacTable[RADIOLIB_LW_MAC_NEW_CHANNEL].lenDn, // 16*4 bytes
+
313  RADIOLIB_LW_SESSION_MAC_QUEUE_UL = RADIOLIB_LW_SESSION_DL_CHANNELS + 16*MacTable[RADIOLIB_LW_MAC_DL_CHANNEL].lenDn, // 9*8+2 bytes
+
314  RADIOLIB_LW_SESSION_N_FCNT_DOWN = RADIOLIB_LW_SESSION_MAC_QUEUE_UL + sizeof(LoRaWANMacCommandQueue_t), // 4 bytes
+
315  RADIOLIB_LW_SESSION_ADR_FCNT = RADIOLIB_LW_SESSION_N_FCNT_DOWN + sizeof(uint32_t), // 4 bytes
+
316  RADIOLIB_LW_SESSION_LINK_ADR = RADIOLIB_LW_SESSION_ADR_FCNT + sizeof(uint32_t), // 4 bytes
+
317  RADIOLIB_LW_SESSION_FCNT_UP = RADIOLIB_LW_SESSION_LINK_ADR + MacTable[RADIOLIB_LW_MAC_LINK_ADR].lenDn, // 4 bytes
+
318  RADIOLIB_LW_SESSION_SIGNATURE = RADIOLIB_LW_SESSION_FCNT_UP + sizeof(uint32_t), // 2 bytes
+
319  RADIOLIB_LW_SESSION_BUF_SIZE = RADIOLIB_LW_SESSION_SIGNATURE + sizeof(uint16_t) // Session buffer size
320 };
321 
@@ -397,7 +397,7 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
342 };
343 
344 // alias for unused channel
-
345 #define RADIOLIB_LORAWAN_CHANNEL_NONE { .enabled = false, .idx = RADIOLIB_LORAWAN_CHANNEL_INDEX_NONE, .freq = 0, .drMin = 0, .drMax = 0 }
+
345 #define RADIOLIB_LW_CHANNEL_NONE { .enabled = false, .idx = RADIOLIB_LW_CHANNEL_INDEX_NONE, .freq = 0, .drMin = 0, .drMax = 0 }
346 
354  uint8_t numChannels;
@@ -414,14 +414,14 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
370 };
371 
372 // alias for unused channel span
-
373 #define RADIOLIB_LORAWAN_CHANNEL_SPAN_NONE { .numChannels = 0, .freqStart = 0, .freqStep = 0, .drMin = 0, .drMax = 0, .joinRequestDataRate = RADIOLIB_LORAWAN_DATA_RATE_UNUSED }
+
373 #define RADIOLIB_LW_CHANNEL_SPAN_NONE { .numChannels = 0, .freqStart = 0, .freqStep = 0, .drMin = 0, .drMax = 0, .joinRequestDataRate = RADIOLIB_LW_DATA_RATE_UNUSED }
374 
381  uint8_t bandNum;
382 
384  uint8_t bandType;
385 
-
387  uint8_t payloadLenMax[RADIOLIB_LORAWAN_CHANNEL_NUM_DATARATES];
+
387  uint8_t payloadLenMax[RADIOLIB_LW_CHANNEL_NUM_DATARATES];
388 
390  int8_t powerMax;
391 
@@ -447,7 +447,7 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
421 
424 
-
426  uint8_t dataRates[RADIOLIB_LORAWAN_CHANNEL_NUM_DATARATES];
+
426  uint8_t dataRates[RADIOLIB_LW_CHANNEL_NUM_DATARATES];
427 };
428 
429 // supported bands
@@ -475,7 +475,7 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
455 };
456 
457 // provide easy access to the number of currently supported bands
-
458 #define RADIOLIB_LORAWAN_NUM_SUPPORTED_BANDS (BandLast - BandEU868)
+
458 #define RADIOLIB_LW_NUM_SUPPORTED_BANDS (BandLast - BandEU868)
459 
460 // array of currently supported bands
461 extern const LoRaWANBand_t* LoRaWANBands[];
@@ -519,9 +519,9 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
546 
551  int16_t restore(uint16_t checkSum, uint16_t lwMode, uint8_t lwClass, uint8_t freqPlan);
552 
-
564  int16_t beginOTAA(uint64_t joinEUI, uint64_t devEUI, uint8_t* nwkKey, uint8_t* appKey, bool force = false, uint8_t joinDr = RADIOLIB_LORAWAN_DATA_RATE_UNUSED);
+
564  int16_t beginOTAA(uint64_t joinEUI, uint64_t devEUI, uint8_t* nwkKey, uint8_t* appKey, bool force = false, uint8_t joinDr = RADIOLIB_LW_DATA_RATE_UNUSED);
565 
-
579  int16_t beginABP(uint32_t addr, uint8_t* fNwkSIntKey, uint8_t* sNwkSIntKey, uint8_t* nwkSEncKey, uint8_t* appSKey, bool force = false, uint8_t initialDr = RADIOLIB_LORAWAN_DATA_RATE_UNUSED);
+
579  int16_t beginABP(uint32_t addr, uint8_t* fNwkSIntKey, uint8_t* sNwkSIntKey, uint8_t* nwkSEncKey, uint8_t* appSKey, bool force = false, uint8_t initialDr = RADIOLIB_LW_DATA_RATE_UNUSED);
580 
582  bool isJoined();
583 
@@ -600,10 +600,10 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
853  void beginCommon(uint8_t initialDr);
854 
855  // a buffer that holds all LW base parameters that should persist at all times!
-
856  uint8_t bufferNonces[RADIOLIB_LORAWAN_NONCES_BUF_SIZE] = { 0 };
+
856  uint8_t bufferNonces[RADIOLIB_LW_NONCES_BUF_SIZE] = { 0 };
857 
858  // a buffer that holds all LW session parameters that preferably persist, but can be afforded to get lost
-
859  uint8_t bufferSession[RADIOLIB_LORAWAN_SESSION_BUF_SIZE] = { 0 };
+
859  uint8_t bufferSession[RADIOLIB_LW_SESSION_BUF_SIZE] = { 0 };
860 
861  LoRaWANMacCommandQueue_t commandsUp = {
862  .numCommands = 0,
@@ -631,23 +631,23 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
884 
885  // session-specific parameters
886  uint32_t homeNetId = 0;
-
887  uint8_t adrLimitExp = RADIOLIB_LORAWAN_ADR_ACK_LIMIT_EXP;
-
888  uint8_t adrDelayExp = RADIOLIB_LORAWAN_ADR_ACK_DELAY_EXP;
+
887  uint8_t adrLimitExp = RADIOLIB_LW_ADR_ACK_LIMIT_EXP;
+
888  uint8_t adrDelayExp = RADIOLIB_LW_ADR_ACK_DELAY_EXP;
889  uint8_t nbTrans = 1; // Number of allowed frame retransmissions
890  uint8_t txPowerCur = 0;
891  uint8_t txPowerMax = 0;
892  uint32_t fcntUp = 0;
893  uint32_t aFcntDown = 0;
894  uint32_t nFcntDown = 0;
-
895  uint32_t confFcntUp = RADIOLIB_LORAWAN_FCNT_NONE;
-
896  uint32_t confFcntDown = RADIOLIB_LORAWAN_FCNT_NONE;
+
895  uint32_t confFcntUp = RADIOLIB_LW_FCNT_NONE;
+
896  uint32_t confFcntDown = RADIOLIB_LW_FCNT_NONE;
897  uint32_t adrFcnt = 0;
898 
899  // whether the current configured channel is in FSK mode
900  bool FSK = false;
901 
902  // flag that shows whether the device is joined and there is an ongoing session (none, ABP or OTAA)
-
903  uint16_t activeMode = RADIOLIB_LORAWAN_MODE_NONE;
+
903  uint16_t activeMode = RADIOLIB_LW_MODE_NONE;
904 
905  // ADR is enabled by default
906  bool adrEnabled = true;
@@ -674,13 +674,13 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
927  uint8_t difsSlots;
928 
929  // available channel frequencies from list passed during OTA activation
-
930  LoRaWANChannel_t availableChannels[2][RADIOLIB_LORAWAN_NUM_AVAILABLE_CHANNELS];
+
930  LoRaWANChannel_t availableChannels[2][RADIOLIB_LW_NUM_AVAILABLE_CHANNELS];
931 
932  // currently configured channels for TX and RX1
-
933  LoRaWANChannel_t currentChannels[2] = { RADIOLIB_LORAWAN_CHANNEL_NONE, RADIOLIB_LORAWAN_CHANNEL_NONE };
+
933  LoRaWANChannel_t currentChannels[2] = { RADIOLIB_LW_CHANNEL_NONE, RADIOLIB_LW_CHANNEL_NONE };
934 
935  // currently configured datarates for TX and RX1
-
936  uint8_t dataRates[2] = { RADIOLIB_LORAWAN_DATA_RATE_UNUSED, RADIOLIB_LORAWAN_DATA_RATE_UNUSED };
+
936  uint8_t dataRates[2] = { RADIOLIB_LW_DATA_RATE_UNUSED, RADIOLIB_LW_DATA_RATE_UNUSED };
937 
938  // LoRaWAN revision (1.0 vs 1.1)
939  uint8_t rev = 0;
@@ -695,7 +695,7 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
948  RadioLibTime_t rxDelayEnd = 0;
949 
950  // delays between the uplink and RX1/2 windows
-
951  RadioLibTime_t rxDelays[2] = { RADIOLIB_LORAWAN_RECEIVE_DELAY_1_MS, RADIOLIB_LORAWAN_RECEIVE_DELAY_2_MS };
+
951  RadioLibTime_t rxDelays[2] = { RADIOLIB_LW_RECEIVE_DELAY_1_MS, RADIOLIB_LW_RECEIVE_DELAY_2_MS };
952 
953  // device status - battery level
954  uint8_t battLevel = 0xFF;
@@ -789,8 +789,8 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
int16_t setBufferNonces(uint8_t *persistentBuffer)
Fill the internal buffer that holds the LW base parameters with a supplied buffer.
Definition: LoRaWAN.cpp:56
int16_t setDatarate(uint8_t drUp)
Set uplink datarate. This should not be used when ADR is enabled.
Definition: LoRaWAN.cpp:1925
int16_t sendReceive(const char *strUp, uint8_t port, uint8_t *dataDown, size_t *lenDown, bool isConfirmed=false, LoRaWANEvent_t *eventUp=NULL, LoRaWANEvent_t *eventDown=NULL)
Send a message to the server and wait for a downlink during Rx1 and/or Rx2 window.
Definition: LoRaWAN.cpp:1599
-
int16_t beginOTAA(uint64_t joinEUI, uint64_t devEUI, uint8_t *nwkKey, uint8_t *appKey, bool force=false, uint8_t joinDr=RADIOLIB_LORAWAN_DATA_RATE_UNUSED)
Join network by performing over-the-air activation. By this procedure, the device will perform an exc...
Definition: LoRaWAN.cpp:452
uint8_t maxPayloadDwellTime()
Returns the maximum payload given the currently present dwell time limits. WARNING: the addition of M...
Definition: LoRaWAN.cpp:2005
+
int16_t beginABP(uint32_t addr, uint8_t *fNwkSIntKey, uint8_t *sNwkSIntKey, uint8_t *nwkSEncKey, uint8_t *appSKey, bool force=false, uint8_t initialDr=RADIOLIB_LW_DATA_RATE_UNUSED)
Join network by performing activation by personalization. In this procedure, all necessary configurat...
Definition: LoRaWAN.cpp:728
void setDutyCycle(bool enable=true, RadioLibTime_t msPerHour=0)
Toggle adherence to dutyCycle limits to on or off.
Definition: LoRaWAN.cpp:1966
RadioLibTime_t timeUntilUplink()
Returns time in milliseconds until next uplink is available under dutyCycle limits.
Definition: LoRaWAN.cpp:1987
uint32_t getFcntUp()
Returns the last uplink's frame counter; also 0 if no uplink occured yet.
Definition: LoRaWAN.cpp:1624
@@ -804,6 +804,7 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
uint8_t * getBufferNonces()
Returns the pointer to the internal buffer that holds the LW base parameters.
Definition: LoRaWAN.cpp:52
uint32_t getNFcntDown()
Returns the last network downlink's frame counter; also 0 if no network downlink occured yet.
Definition: LoRaWAN.cpp:1631
uint32_t getAFcntDown()
Returns the last application downlink's frame counter; also 0 if no application downlink occured yet.
Definition: LoRaWAN.cpp:1635
+
int16_t beginOTAA(uint64_t joinEUI, uint64_t devEUI, uint8_t *nwkKey, uint8_t *appKey, bool force=false, uint8_t joinDr=RADIOLIB_LW_DATA_RATE_UNUSED)
Join network by performing over-the-air activation. By this procedure, the device will perform an exc...
Definition: LoRaWAN.cpp:452
uint8_t * getBufferSession()
Returns the pointer to the internal buffer that holds the LW session parameters.
Definition: LoRaWAN.cpp:74
void wipe()
Wipe internal persistent parameters. This will reset all counters and saved variables,...
Definition: LoRaWAN.cpp:47
int16_t setTxPower(int8_t txPower)
Configure TX power of the radio module.
Definition: LoRaWAN.cpp:2026
@@ -813,7 +814,6 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
int16_t setBufferSession(uint8_t *persistentBuffer)
Fill the internal buffer that holds the LW session parameters with a supplied buffer.
Definition: LoRaWAN.cpp:81
LoRaWANNode(PhysicalLayer *phy, const LoRaWANBand_t *band, uint8_t subBand=0)
Default constructor.
Definition: LoRaWAN.cpp:30
uint8_t rx1DrOffset
Offset between TX and RX1 (such that RX1 has equal or lower DR)
Definition: LoRaWAN.h:502
-
int16_t beginABP(uint32_t addr, uint8_t *fNwkSIntKey, uint8_t *sNwkSIntKey, uint8_t *nwkSEncKey, uint8_t *appSKey, bool force=false, uint8_t initialDr=RADIOLIB_LORAWAN_DATA_RATE_UNUSED)
Join network by performing activation by personalization. In this procedure, all necessary configurat...
Definition: LoRaWAN.cpp:728
int16_t sendMacCommandReq(uint8_t cid)
Add a MAC command to the uplink queue. Only LinkCheck and DeviceTime are available to the user....
Definition: LoRaWAN.cpp:2090
int16_t getMacLinkCheckAns(uint8_t *margin, uint8_t *gwCnt)
Returns the quality of connectivity after requesting a LinkCheck MAC command. Returns 'true' if a net...
Definition: LoRaWAN.cpp:2781
void setADR(bool enable=true)
Toggle ADR to on or off.
Definition: LoRaWAN.cpp:1962
@@ -822,11 +822,11 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
Provides common interface for protocols that run on LoRa/FSK modules, such as RTTY or LoRaWAN....
Definition: PhysicalLayer.h:54
unsigned long RadioLibTime_t
Type used for durations in RadioLib.
Definition: TypeDef.h:579
Structure to save information about LoRaWAN band.
Definition: LoRaWAN.h:379
+
uint8_t dataRates[RADIOLIB_LW_CHANNEL_NUM_DATARATES]
The corresponding datarates, bandwidths and coding rates for DR index.
Definition: LoRaWAN.h:426
int8_t powerMax
Maximum allowed output power in this band in dBm.
Definition: LoRaWAN.h:390
RadioLibTime_t dutyCycle
Number of milliseconds per hour of allowed Time-on-Air.
Definition: LoRaWAN.h:396
-
uint8_t dataRates[RADIOLIB_LORAWAN_CHANNEL_NUM_DATARATES]
The corresponding datarates, bandwidths and coding rates for DR index.
Definition: LoRaWAN.h:426
+
uint8_t payloadLenMax[RADIOLIB_LW_CHANNEL_NUM_DATARATES]
Array of allowed maximum payload lengths for each data rate.
Definition: LoRaWAN.h:387
RadioLibTime_t dwellTimeUp
Maximum dwell time per uplink message in milliseconds.
Definition: LoRaWAN.h:399
-
uint8_t payloadLenMax[RADIOLIB_LORAWAN_CHANNEL_NUM_DATARATES]
Array of allowed maximum payload lengths for each data rate.
Definition: LoRaWAN.h:387
LoRaWANChannel_t txFreqs[3]
A set of default uplink (TX) channels for frequency-type bands.
Definition: LoRaWAN.h:405
LoRaWANChannel_t txJoinReq[3]
A set of possible extra channels for the Join-Request message for frequency-type bands.
Definition: LoRaWAN.h:408
int8_t powerNumSteps
Number of power steps in this band.
Definition: LoRaWAN.h:393
@@ -858,7 +858,7 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
int16_t power
Transmit power in dBm for uplink, or RSSI for downlink.
Definition: LoRaWAN.h:485
bool confirming
Whether the event is confirming a previous request (e.g., server downlink reply to confirmed uplink s...
Definition: LoRaWAN.h:476
uint8_t datarate
Datarate.
Definition: LoRaWAN.h:479
-
uint8_t dir
Event direction, one of RADIOLIB_LORAWAN_CHANNEL_DIR_*.
Definition: LoRaWAN.h:469
+
uint8_t dir
Event direction, one of RADIOLIB_LW_CHANNEL_DIR_*.
Definition: LoRaWAN.h:469
uint32_t fcnt
The appropriate frame counter - for different events, different frame counters will be reported!
Definition: LoRaWAN.h:488
uint8_t port
Port number.
Definition: LoRaWAN.h:491
Structure to save information about MAC command.
Definition: LoRaWAN.h:241
@@ -867,7 +867,7 @@ $(document).ready(function(){initNavTree('_lo_ra_w_a_n_8h_source.html',''); init
uint8_t repeat
Repetition counter (the command will be uplinked repeat + 1 times)
Definition: LoRaWAN.h:252
uint8_t payload[5]
Payload buffer (5 bytes is the longest possible)
Definition: LoRaWAN.h:246
Structure to hold information about a queue of MAC commands.
Definition: LoRaWAN.h:259
-
LoRaWANMacCommand_t commands[RADIOLIB_LORAWAN_MAC_COMMAND_QUEUE_SIZE]
MAC command buffer.
Definition: LoRaWAN.h:267
+
LoRaWANMacCommand_t commands[RADIOLIB_LW_MAC_COMMAND_QUEUE_SIZE]
MAC command buffer.
Definition: LoRaWAN.h:267
uint8_t numCommands
Number of commands in the queue.
Definition: LoRaWAN.h:261
uint8_t len
Total length of the queue.
Definition: LoRaWAN.h:264
MAC command specification structure.
Definition: LoRaWAN.h:203
diff --git a/class_lo_ra_w_a_n_node-members.html b/class_lo_ra_w_a_n_node-members.html index 3b4ac118..3b4a0626 100644 --- a/class_lo_ra_w_a_n_node-members.html +++ b/class_lo_ra_w_a_n_node-members.html @@ -89,8 +89,8 @@ $(document).ready(function(){initNavTree('class_lo_ra_w_a_n_node.html',''); init

This is the complete list of members for LoRaWANNode, including all inherited members.

- - + + diff --git a/class_lo_ra_w_a_n_node.html b/class_lo_ra_w_a_n_node.html index c8bf81be..e5f78355 100644 --- a/class_lo_ra_w_a_n_node.html +++ b/class_lo_ra_w_a_n_node.html @@ -120,12 +120,12 @@ void  - - - - - - + + + + + + @@ -274,8 +274,8 @@ uint8_t  - + @@ -347,8 +347,8 @@ uint8_t  - + @@ -539,7 +539,7 @@ uint8_t  - + diff --git a/struct_lo_ra_w_a_n_mac_command_queue__t-members.html b/struct_lo_ra_w_a_n_mac_command_queue__t-members.html index 8a094306..83538e2c 100644 --- a/struct_lo_ra_w_a_n_mac_command_queue__t-members.html +++ b/struct_lo_ra_w_a_n_mac_command_queue__t-members.html @@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('struct_lo_ra_w_a_n_mac_command_queue__

This is the complete list of members for LoRaWANMacCommandQueue_t, including all inherited members.

beginABP(uint32_t addr, uint8_t *fNwkSIntKey, uint8_t *sNwkSIntKey, uint8_t *nwkSEncKey, uint8_t *appSKey, bool force=false, uint8_t initialDr=RADIOLIB_LORAWAN_DATA_RATE_UNUSED)LoRaWANNode
beginOTAA(uint64_t joinEUI, uint64_t devEUI, uint8_t *nwkKey, uint8_t *appKey, bool force=false, uint8_t joinDr=RADIOLIB_LORAWAN_DATA_RATE_UNUSED)LoRaWANNode
beginABP(uint32_t addr, uint8_t *fNwkSIntKey, uint8_t *sNwkSIntKey, uint8_t *nwkSEncKey, uint8_t *appSKey, bool force=false, uint8_t initialDr=RADIOLIB_LW_DATA_RATE_UNUSED)LoRaWANNode
beginOTAA(uint64_t joinEUI, uint64_t devEUI, uint8_t *nwkKey, uint8_t *appKey, bool force=false, uint8_t joinDr=RADIOLIB_LW_DATA_RATE_UNUSED)LoRaWANNode
downlink(uint8_t *data, size_t *len, LoRaWANEvent_t *event=NULL)LoRaWANNode
downlink(LoRaWANEvent_t *event=NULL)LoRaWANNode
dutyCycleInterval(RadioLibTime_t msPerHour, RadioLibTime_t airtime)LoRaWANNode
int16_t restore (uint16_t checkSum, uint16_t lwMode, uint8_t lwClass, uint8_t freqPlan)
 Restore session by loading information from persistent storage. More...
 
int16_t beginOTAA (uint64_t joinEUI, uint64_t devEUI, uint8_t *nwkKey, uint8_t *appKey, bool force=false, uint8_t joinDr=RADIOLIB_LORAWAN_DATA_RATE_UNUSED)
 Join network by performing over-the-air activation. By this procedure, the device will perform an exchange with the network server and set all necessary configuration. More...
 
int16_t beginABP (uint32_t addr, uint8_t *fNwkSIntKey, uint8_t *sNwkSIntKey, uint8_t *nwkSEncKey, uint8_t *appSKey, bool force=false, uint8_t initialDr=RADIOLIB_LORAWAN_DATA_RATE_UNUSED)
 Join network by performing activation by personalization. In this procedure, all necessary configuration must be provided by the user. More...
 
int16_t beginOTAA (uint64_t joinEUI, uint64_t devEUI, uint8_t *nwkKey, uint8_t *appKey, bool force=false, uint8_t joinDr=RADIOLIB_LW_DATA_RATE_UNUSED)
 Join network by performing over-the-air activation. By this procedure, the device will perform an exchange with the network server and set all necessary configuration. More...
 
int16_t beginABP (uint32_t addr, uint8_t *fNwkSIntKey, uint8_t *sNwkSIntKey, uint8_t *nwkSEncKey, uint8_t *appSKey, bool force=false, uint8_t initialDr=RADIOLIB_LW_DATA_RATE_UNUSED)
 Join network by performing activation by personalization. In this procedure, all necessary configuration must be provided by the user. More...
 
bool isJoined ()
 Whether there is an ongoing session active.
Member Function Documentation - -

◆ beginABP()

+ +

◆ beginABP()

@@ -320,7 +320,7 @@ uint8_t 
uint8_t initialDr = RADIOLIB_LORAWAN_DATA_RATE_UNUSED initialDr = RADIOLIB_LW_DATA_RATE_UNUSED 
-

◆ beginOTAA()

+ +

◆ beginOTAA()

@@ -387,7 +387,7 @@ uint8_t 
uint8_t joinDr = RADIOLIB_LORAWAN_DATA_RATE_UNUSED joinDr = RADIOLIB_LW_DATA_RATE_UNUSED 

Returns the pointer to the internal buffer that holds the LW base parameters.

-
Returns
Pointer to uint8_t array of size RADIOLIB_LORAWAN_NONCES_BUF_SIZE
+
Returns
Pointer to uint8_t array of size RADIOLIB_LW_NONCES_BUF_SIZE
@@ -559,7 +559,7 @@ uint8_t 

Returns the pointer to the internal buffer that holds the LW session parameters.

-
Returns
Pointer to uint8_t array of size RADIOLIB_LORAWAN_SESSION_BUF_SIZE
+
Returns
Pointer to uint8_t array of size RADIOLIB_LW_SESSION_BUF_SIZE
diff --git a/class_lo_ra_w_a_n_node.js b/class_lo_ra_w_a_n_node.js index e3cd7657..7477691c 100644 --- a/class_lo_ra_w_a_n_node.js +++ b/class_lo_ra_w_a_n_node.js @@ -1,8 +1,8 @@ var class_lo_ra_w_a_n_node = [ [ "LoRaWANNode", "class_lo_ra_w_a_n_node.html#aae05de563f765f14fe267e4d65844f76", null ], - [ "beginABP", "class_lo_ra_w_a_n_node.html#adb3b744bf17d923ba8361c567b5145cf", null ], - [ "beginOTAA", "class_lo_ra_w_a_n_node.html#a27bbbb946a1676a084841d293499ea87", null ], + [ "beginABP", "class_lo_ra_w_a_n_node.html#a3525b30a84d3062e16f2925e3b1f6fe0", null ], + [ "beginOTAA", "class_lo_ra_w_a_n_node.html#a8d3d9f3bf2214d192b83f057a28f5d7c", null ], [ "downlink", "class_lo_ra_w_a_n_node.html#ae532e739ada04ea7463494a426f60b4d", null ], [ "downlink", "class_lo_ra_w_a_n_node.html#aabced307f6662998608f01fab25e4226", null ], [ "dutyCycleInterval", "class_lo_ra_w_a_n_node.html#a5bb50904544f331806fd744ab5b99efa", null ], diff --git a/functions_b.html b/functions_b.html index abf76e36..1414e4af 100644 --- a/functions_b.html +++ b/functions_b.html @@ -136,7 +136,7 @@ $(document).ready(function(){initNavTree('functions_b.html',''); initResizable() ,
SX128x
  • beginABP() -: LoRaWANNode +: LoRaWANNode
  • beginBLE() : SX128x @@ -168,7 +168,7 @@ $(document).ready(function(){initNavTree('functions_b.html',''); initResizable() , LR11x0
  • beginOTAA() -: LoRaWANNode +: LoRaWANNode
  • BellClient() : BellClient diff --git a/functions_c.html b/functions_c.html index 0baf3390..bac3f20d 100644 --- a/functions_c.html +++ b/functions_c.html @@ -197,7 +197,7 @@ $(document).ready(function(){initNavTree('functions_c.html',''); initResizable() : LoRaRate_t
  • commands -: LoRaWANMacCommandQueue_t +: LoRaWANMacCommandQueue_t
  • confirmed : LoRaWANEvent_t diff --git a/functions_d.html b/functions_d.html index 00168a69..13c85347 100644 --- a/functions_d.html +++ b/functions_d.html @@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('functions_d.html',''); initResizable() : LoRaWANEvent_t
  • dataRates -: LoRaWANBand_t +: LoRaWANBand_t
  • decode() : MorseClient diff --git a/functions_func_b.html b/functions_func_b.html index 0b30189d..ad6fd658 100644 --- a/functions_func_b.html +++ b/functions_func_b.html @@ -124,7 +124,7 @@ $(document).ready(function(){initNavTree('functions_func_b.html',''); initResiza , SX128x
  • beginABP() -: LoRaWANNode +: LoRaWANNode
  • beginBLE() : SX128x @@ -156,7 +156,7 @@ $(document).ready(function(){initNavTree('functions_func_b.html',''); initResiza , LR11x0
  • beginOTAA() -: LoRaWANNode +: LoRaWANNode
  • BellClient() : BellClient diff --git a/functions_p.html b/functions_p.html index 21a8788f..b4a370b0 100644 --- a/functions_p.html +++ b/functions_p.html @@ -101,7 +101,7 @@ $(document).ready(function(){initNavTree('functions_p.html',''); initResizable() : LoRaWANMacCommand_t
  • payloadLenMax -: LoRaWANBand_t +: LoRaWANBand_t
  • PhysicalLayer() : PhysicalLayer diff --git a/functions_vars.html b/functions_vars.html index 0b8b2c27..597b3b36 100644 --- a/functions_vars.html +++ b/functions_vars.html @@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl : LoRaRate_t
  • commands -: LoRaWANMacCommandQueue_t +: LoRaWANMacCommandQueue_t
  • confirmed : LoRaWANEvent_t @@ -137,7 +137,7 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl : LoRaWANEvent_t
  • dataRates -: LoRaWANBand_t +: LoRaWANBand_t
  • destCallsign : AX25Frame @@ -328,7 +328,7 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl : LoRaWANMacCommand_t
  • payloadLenMax -: LoRaWANBand_t +: LoRaWANBand_t
  • poly : RadioLibCRC diff --git a/navtreeindex1.js b/navtreeindex1.js index 035584ce..c0aa84fc 100644 --- a/navtreeindex1.js +++ b/navtreeindex1.js @@ -66,8 +66,8 @@ var NAVTREEINDEX1 = "class_lo_ra_w_a_n_node.html#a14e8a8a098df28ff5ee294f235500499":[3,0,23,27], "class_lo_ra_w_a_n_node.html#a158f65517fa910ef0cbcd92206dab284":[3,0,23,21], "class_lo_ra_w_a_n_node.html#a1b919dc97479294a32b2d0c9dde49be8":[3,0,23,34], -"class_lo_ra_w_a_n_node.html#a27bbbb946a1676a084841d293499ea87":[3,0,23,2], "class_lo_ra_w_a_n_node.html#a3044715beeff759ed47342d532ac3205":[3,0,23,16], +"class_lo_ra_w_a_n_node.html#a3525b30a84d3062e16f2925e3b1f6fe0":[3,0,23,1], "class_lo_ra_w_a_n_node.html#a3d4bbd6d382496838954ab4ac1168b77":[3,0,23,29], "class_lo_ra_w_a_n_node.html#a49e690c14858b46692e4ce9aa5a2566a":[3,0,23,32], "class_lo_ra_w_a_n_node.html#a52ae7c2aa61262d7761236f289889020":[3,0,23,10], @@ -82,6 +82,7 @@ var NAVTREEINDEX1 = "class_lo_ra_w_a_n_node.html#a84004883006b4a498d4899874952445b":[3,0,23,7], "class_lo_ra_w_a_n_node.html#a8ac61997732b3f6d5f33b6568e23be11":[3,0,23,14], "class_lo_ra_w_a_n_node.html#a8b647b639d1c7f1a2a81397b41c01dd8":[3,0,23,6], +"class_lo_ra_w_a_n_node.html#a8d3d9f3bf2214d192b83f057a28f5d7c":[3,0,23,2], "class_lo_ra_w_a_n_node.html#a90369a4f2c4da11527872a7bbbf9ab06":[3,0,23,8], "class_lo_ra_w_a_n_node.html#a9613998d071bcf401be9ad57ff8591ea":[3,0,23,35], "class_lo_ra_w_a_n_node.html#a9af613f7d923e7bdcfdbd020132c6d4b":[3,0,23,31], @@ -91,7 +92,6 @@ var NAVTREEINDEX1 = "class_lo_ra_w_a_n_node.html#aadebe7a412aec8043aa2f8f57a202f49":[3,0,23,26], "class_lo_ra_w_a_n_node.html#aae05de563f765f14fe267e4d65844f76":[3,0,23,0], "class_lo_ra_w_a_n_node.html#acd37dd26f6040754b4a9c942b3fb4339":[3,0,23,36], -"class_lo_ra_w_a_n_node.html#adb3b744bf17d923ba8361c567b5145cf":[3,0,23,1], "class_lo_ra_w_a_n_node.html#adef05650cf4eb92042ca5e2688c1e164":[3,0,23,20], "class_lo_ra_w_a_n_node.html#adf038f331c1dc954dafc2668e7a31ca0":[3,0,23,13], "class_lo_ra_w_a_n_node.html#ae222275f807f472083ea6100c23c75ff":[3,0,23,24], diff --git a/navtreeindex5.js b/navtreeindex5.js index 80709c65..b667220a 100644 --- a/navtreeindex5.js +++ b/navtreeindex5.js @@ -115,11 +115,11 @@ var NAVTREEINDEX5 = "struct_lo_ra_rate__t.html#a97626ff6c8f659ecad84734cca7a87b1":[3,0,14,0], "struct_lo_ra_rate__t.html#ae382629257949329b2fcb01d565183df":[3,0,14,1], "struct_lo_ra_w_a_n_band__t.html":[3,0,15], +"struct_lo_ra_w_a_n_band__t.html#a36f6cb2a3b6916bcbb7702a7317209bb":[3,0,15,2], "struct_lo_ra_w_a_n_band__t.html#a43fdafd540c93348f9b4a8958e021a4c":[3,0,15,8], "struct_lo_ra_w_a_n_band__t.html#a743d3a23aa5c58e156dff633b830ee4f":[3,0,15,3], -"struct_lo_ra_w_a_n_band__t.html#a8b518a570756048dec56bec703a0b25b":[3,0,15,2], +"struct_lo_ra_w_a_n_band__t.html#a75dba867430b104a7243359c6e7564a4":[3,0,15,7], "struct_lo_ra_w_a_n_band__t.html#a8bd0d705d9c0dbe87d25e83cc54e922c":[3,0,15,5], -"struct_lo_ra_w_a_n_band__t.html#a9b8143ac9bbf3ed45e7cc80fc71ce055":[3,0,15,7], "struct_lo_ra_w_a_n_band__t.html#a9bd952022473cb08e067c763325d689c":[3,0,15,13], "struct_lo_ra_w_a_n_band__t.html#a9f6f43346f7c2e281b90d58a44565d38":[3,0,15,14], "struct_lo_ra_w_a_n_band__t.html#aa22d7d7670846b36d3104439d18e5f15":[3,0,15,9], @@ -160,7 +160,7 @@ var NAVTREEINDEX5 = "struct_lo_ra_w_a_n_mac_command__t.html#abc329424b5a36c95c625619b37dd2681":[3,0,20,3], "struct_lo_ra_w_a_n_mac_command__t.html#ac572044ad659ad7addd50d21f6f2e764":[3,0,20,2], "struct_lo_ra_w_a_n_mac_command_queue__t.html":[3,0,21], -"struct_lo_ra_w_a_n_mac_command_queue__t.html#a0a17c93236cdeb3703b9f69b4f6d702b":[3,0,21,0], +"struct_lo_ra_w_a_n_mac_command_queue__t.html#a8538a6b08ff1a69a572730fae87ac96d":[3,0,21,0], "struct_lo_ra_w_a_n_mac_command_queue__t.html#ae83622d6039c73d6d7134318bb36edeb":[3,0,21,2], "struct_lo_ra_w_a_n_mac_command_queue__t.html#ae951ec7a2518bbcdfb4c7a7c5359ca78":[3,0,21,1], "struct_lo_ra_w_a_n_mac_spec__t.html":[3,0,22], diff --git a/search/all_1.js b/search/all_1.js index e8914767..72140d07 100644 --- a/search/all_1.js +++ b/search/all_1.js @@ -5,13 +5,13 @@ var searchData= ['bandwidth_10',['bandwidth',['../struct_lo_ra_rate__t.html#a97626ff6c8f659ecad84734cca7a87b1',1,'LoRaRate_t']]], ['baudrate_11',['baudRate',['../struct_bell_modem__t.html#a8e16be8997a90db9a4b2482ec7e93171',1,'BellModem_t']]], ['begin_12',['begin',['../class_pager_client.html#a1a1dc569f9b60b0ddd6ead7af5a8244f',1,'PagerClient::begin()'],['../class_s_x128x.html#a275a9a86934124eab4982ad52bf91aea',1,'SX128x::begin()'],['../class_s_x1279.html#a324a37dee0522f43692cd414141becc2',1,'SX1279::begin()'],['../class_s_x1277.html#ab9eda48af64532a24d04a9ae0d9c3dc3',1,'SX1277::begin()'],['../class_s_x1276.html#ac0f792c2fee6aac9b554104c5b1e5ae7',1,'SX1276::begin()'],['../class_hell_client.html#a225775fe87f9ed3c3a04142697641242',1,'HellClient::begin()'],['../class_s_x1273.html#a0fb9d6c58e3576e22e1dda4a9b4a1db2',1,'SX1273::begin()'],['../class_a_f_s_k_client.html#a30b86bb7cd087b3bc3c45a011ba266c3',1,'AFSKClient::begin()'],['../class_r_t_t_y_client.html#ae0b25083baf01469786b6242389298fa',1,'RTTYClient::begin()'],['../class_s_x127x.html#aeac64ca102a143624993cb7cb5b9e17c',1,'SX127x::begin()'],['../class_f_s_k4_client.html#a2b366b8f3c08f81431d8cc5f907652e9',1,'FSK4Client::begin()'],['../class_bell_client.html#add9edc89cd6ff5c527ddbdabe79cb60f',1,'BellClient::begin()'],['../class_s_x1278.html#a867a336ae900f4a221d42b4c807122cf',1,'SX1278::begin()'],['../class_morse_client.html#a516f19bb51b87ead7f7ed149f2ca92cf',1,'MorseClient::begin()'],['../class_s_s_t_v_client.html#afd4257e858a88e5847854a46f166a9b0',1,'SSTVClient::begin()'],['../class_s_x1268.html#ad9e92b39ae0fdfa47131ddf7adb92b71',1,'SX1268::begin()'],['../class_a_x25_client.html#aadeefb210a0b5170d4e8d281c2257e73',1,'AX25Client::begin()'],['../class_s_s_t_v_client.html#a3769dcdebf8b1fa01eb2d8bd2bb3815a',1,'SSTVClient::begin()'],['../class_a_p_r_s_client.html#a4d1468be141940a12fd3964957f79c1a',1,'APRSClient::begin()'],['../class_radio_lib_b_c_h.html#aba6f10d4ac2d40eb2222d1081a34c88b',1,'RadioLibBCH::begin()'],['../class_si4430.html#aaed612b8936609442042d8156e085d2c',1,'Si4430::begin()'],['../class_s_t_m32_w_lx.html#a4f2a9b5a72b5238d2014199d91094f84',1,'STM32WLx::begin()'],['../class_l_l_c_c68.html#aa835ee301567f7dac079b42a2055c38c',1,'LLCC68::begin()'],['../classn_r_f24.html#a0ef68849f812367432f5a3798f94b8ce',1,'nRF24::begin()'],['../class_si4432.html#a5efc3a08f91a411da011201dc128fb34',1,'Si4432::begin()'],['../class_si4431.html#a402223a49d5b1012b0bf58ce602e6ff3',1,'Si4431::begin()'],['../class_s_x126x.html#a936a40038e05740a528f2b53f8e17010',1,'SX126x::begin()'],['../class_r_f69.html#a637ea5386066f5608bcbb4266e5c1bd6',1,'RF69::begin()'],['../class_s_x1233.html#a10fa64ee432a56b50ea6bd42868693af',1,'SX1233::begin()'],['../class_l_r1110.html#a7656fe337a859388247708aa143d50af',1,'LR1110::begin()'],['../class_l_r11x0.html#a43318bfbed2be4a46e0b7e678d2e4d23',1,'LR11x0::begin()'],['../class_si443x.html#a453eda5436dc4dfe0dad676dc3977752',1,'Si443x::begin()'],['../class_c_c1101.html#ad86f23bb3d113d20f6238a671f18b565',1,'CC1101::begin()'],['../class_s_x1262.html#a9ceab9913d102c2fd657a1a91afaf9cc',1,'SX1262::begin()'],['../class_s_x1272.html#ae7562fe74e7d97bf9cc52b5d63f608f9',1,'SX1272::begin()'],['../class_s_x1231.html#a8aa81f8cbe61c4941ac7e3c97a6f5244',1,'SX1231::begin()'],['../class_l_r1120.html#a0393071d4403d06c665f28c49e755382',1,'LR1120::begin()']]], - ['beginabp_13',['beginABP',['../class_lo_ra_w_a_n_node.html#adb3b744bf17d923ba8361c567b5145cf',1,'LoRaWANNode']]], + ['beginabp_13',['beginABP',['../class_lo_ra_w_a_n_node.html#a3525b30a84d3062e16f2925e3b1f6fe0',1,'LoRaWANNode']]], ['beginble_14',['beginBLE',['../class_s_x128x.html#ace5ede905bf85aada0c61b9cfaaea127',1,'SX128x']]], ['beginflrc_15',['beginFLRC',['../class_s_x128x.html#a2c4a24623c5fd27b3cc937e55783d709',1,'SX128x']]], ['beginfsk_16',['beginFSK',['../class_s_x1272.html#a83b80377ec3b7a4a4dd663409f2f6260',1,'SX1272::beginFSK()'],['../class_s_x1276.html#ae1240a7418dce80c10bf0f7b3c807840',1,'SX1276::beginFSK()'],['../class_s_x127x.html#af8530e9d858b155eb5acb764a733bcd4',1,'SX127x::beginFSK()'],['../class_s_x1277.html#ac4f2e93c9096e6d2552958f4bc9c1b44',1,'SX1277::beginFSK()'],['../class_s_x1278.html#a86464af008b71d12948690b780280e7d',1,'SX1278::beginFSK()'],['../class_s_x1279.html#ab5cb738ed4bf6f40e777f797af2a8b4b',1,'SX1279::beginFSK()'],['../class_s_x126x.html#a2e500e5b6044ccab8f6b19af4ffa917c',1,'SX126x::beginFSK()'],['../class_s_x1268.html#af6b041392136b599eec57085e2067a6f',1,'SX1268::beginFSK()'],['../class_s_x1262.html#a36d2c94ff9c3b9126fde23e3c54630f1',1,'SX1262::beginFSK()'],['../class_s_t_m32_w_lx.html#af12e8eba13c5dd8bcf8656ed5c1f6cef',1,'STM32WLx::beginFSK()']]], ['begingfsk_17',['beginGFSK',['../class_s_x128x.html#a6ed60dfbd142315bb4e1abd2555a470a',1,'SX128x::beginGFSK()'],['../class_l_r1120.html#a4c6b867146f00de5c45aeb4164d51cc5',1,'LR1120::beginGFSK()'],['../class_l_r11x0.html#ab1ed8eafe4b23843a8b163949af279bb',1,'LR11x0::beginGFSK()'],['../class_l_r1110.html#afcabcd9b422581cd8a63a63373a98155',1,'LR1110::beginGFSK(float freq=434.0, float br=4.8, float freqDev=5.0, float rxBw=156.2, int8_t power=10, uint16_t preambleLength=16, float tcxoVoltage=1.6)']]], ['beginlrfhss_18',['beginLRFHSS',['../class_l_r1110.html#a9439d6d7a6c8dc5813a00c9e493810c0',1,'LR1110::beginLRFHSS()'],['../class_l_r1120.html#a981be5384416833dcb6c09ad5be47aa6',1,'LR1120::beginLRFHSS()'],['../class_l_r11x0.html#a3f85d48547ebec0f5e4f2678f3213bc5',1,'LR11x0::beginLRFHSS()']]], - ['beginotaa_19',['beginOTAA',['../class_lo_ra_w_a_n_node.html#a27bbbb946a1676a084841d293499ea87',1,'LoRaWANNode']]], + ['beginotaa_19',['beginOTAA',['../class_lo_ra_w_a_n_node.html#a8d3d9f3bf2214d192b83f057a28f5d7c',1,'LoRaWANNode']]], ['bellclient_20',['BellClient',['../class_bell_client.html#a20fcf0322ef40c31b3bc329f7d89a177',1,'BellClient::BellClient(PhysicalLayer *phy, uint32_t pin)'],['../class_bell_client.html#ab9d0d76bb88fc8bdc995ab800063c149',1,'BellClient::BellClient(AFSKClient *aud)'],['../class_bell_client.html',1,'BellClient']]], ['bellmodem_5ft_21',['BellModem_t',['../struct_bell_modem__t.html',1,'']]], ['bitrate_22',['bitRate',['../struct_f_s_k_rate__t.html#a2500c6dee65326b52d4e58ecf4b6d107',1,'FSKRate_t']]], diff --git a/search/all_2.js b/search/all_2.js index 797b4af3..a30013d2 100644 --- a/search/all_2.js +++ b/search/all_2.js @@ -21,7 +21,7 @@ var searchData= ['clearpacketsentaction_42',['clearPacketSentAction',['../class_s_t_m32_w_lx.html#adb1ebf024255f5e14e6f0477c0113945',1,'STM32WLx::clearPacketSentAction()'],['../class_physical_layer.html#a67ee4ec36f352d06dda0102260f6bfce',1,'PhysicalLayer::clearPacketSentAction()'],['../class_s_x128x.html#a86000239b7f9871168fdfa8f8c73b377',1,'SX128x::clearPacketSentAction()'],['../class_s_x127x.html#a56f45da4853eac1e9f6e753129d9e416',1,'SX127x::clearPacketSentAction()'],['../class_s_x126x.html#a0ffc659019932dbf1fda881710054cfb',1,'SX126x::clearPacketSentAction()'],['../class_si443x.html#a1835741ed147e575f9c03cf14c3b765e',1,'Si443x::clearPacketSentAction()'],['../class_r_f69.html#a3a8be5bcc37d3e4f5ac2d0310c8bac12',1,'RF69::clearPacketSentAction()'],['../classn_r_f24.html#a5ae45ceec01854226ecce0320f1051e2',1,'nRF24::clearPacketSentAction()'],['../class_l_r11x0.html#acd69e3b8825309703e13149b94e49d81',1,'LR11x0::clearPacketSentAction()'],['../class_c_c1101.html#a2791ebc7fe71626407278de5852b492f',1,'CC1101::clearPacketSentAction()']]], ['cmds_43',['cmds',['../struct_module_1_1_s_p_i_config__t.html#a57ecca17835380862426d3cf38561185',1,'Module::SPIConfig_t']]], ['codingrate_44',['codingRate',['../struct_lo_ra_rate__t.html#ae382629257949329b2fcb01d565183df',1,'LoRaRate_t']]], - ['commands_45',['commands',['../struct_lo_ra_w_a_n_mac_command_queue__t.html#a0a17c93236cdeb3703b9f69b4f6d702b',1,'LoRaWANMacCommandQueue_t']]], + ['commands_45',['commands',['../struct_lo_ra_w_a_n_mac_command_queue__t.html#a8538a6b08ff1a69a572730fae87ac96d',1,'LoRaWANMacCommandQueue_t']]], ['confirmed_46',['confirmed',['../struct_lo_ra_w_a_n_event__t.html#a09079dc76b5367d23766e357d2ddb794',1,'LoRaWANEvent_t']]], ['confirming_47',['confirming',['../struct_lo_ra_w_a_n_event__t.html#a506755c4731be16d126bdef873c420f8',1,'LoRaWANEvent_t']]], ['control_48',['control',['../class_a_x25_frame.html#a5b196079b539dc417ca65dd4ad622f8f',1,'AX25Frame']]] diff --git a/search/all_3.js b/search/all_3.js index 3bb5ad3c..70e6cfad 100644 --- a/search/all_3.js +++ b/search/all_3.js @@ -3,7 +3,7 @@ var searchData= ['data_20shaping_20filter_20values_20aliases_2e_49',['Data shaping filter values aliases.',['../group__config__shaping.html',1,'']]], ['datarate_50',['datarate',['../struct_lo_ra_w_a_n_event__t.html#a56281d98efee007a0c03e6a6ae8a592b',1,'LoRaWANEvent_t']]], ['datarate_5ft_51',['DataRate_t',['../union_data_rate__t.html',1,'']]], - ['datarates_52',['dataRates',['../struct_lo_ra_w_a_n_band__t.html#a8b518a570756048dec56bec703a0b25b',1,'LoRaWANBand_t']]], + ['datarates_52',['dataRates',['../struct_lo_ra_w_a_n_band__t.html#a36f6cb2a3b6916bcbb7702a7317209bb',1,'LoRaWANBand_t']]], ['decode_53',['decode',['../class_morse_client.html#abd1515c8e6c3ddade280be53f612ece7',1,'MorseClient']]], ['decryptecb_54',['decryptECB',['../class_radio_lib_a_e_s128.html#abe0e368c6a94b2caf1559add1c262a98',1,'RadioLibAES128']]], ['delay_55',['delay',['../class_radio_lib_hal.html#aa2de4fcafad28470f7d46073fa29da79',1,'RadioLibHal']]], diff --git a/search/all_e.js b/search/all_e.js index 54c02e61..5c5d73ff 100644 --- a/search/all_e.js +++ b/search/all_e.js @@ -4,7 +4,7 @@ var searchData= ['pagerclient_214',['PagerClient',['../class_pager_client.html#a9f978120467b13104fb356e9b7d855ec',1,'PagerClient::PagerClient()'],['../class_pager_client.html',1,'PagerClient']]], ['parsestatuscb_215',['parseStatusCb',['../struct_module_1_1_s_p_i_config__t.html#a9619dcb8b269bcbd125e5a05e6c0fc77',1,'Module::SPIConfig_t']]], ['payload_216',['payload',['../struct_lo_ra_w_a_n_mac_command__t.html#ac572044ad659ad7addd50d21f6f2e764',1,'LoRaWANMacCommand_t']]], - ['payloadlenmax_217',['payloadLenMax',['../struct_lo_ra_w_a_n_band__t.html#a9b8143ac9bbf3ed45e7cc80fc71ce055',1,'LoRaWANBand_t']]], + ['payloadlenmax_217',['payloadLenMax',['../struct_lo_ra_w_a_n_band__t.html#a75dba867430b104a7243359c6e7564a4',1,'LoRaWANBand_t']]], ['physicallayer_218',['PhysicalLayer',['../class_physical_layer.html',1,'PhysicalLayer'],['../class_physical_layer.html#add63d7d4fa8b14df5e185813794a49d5',1,'PhysicalLayer::PhysicalLayer()']]], ['pinmode_219',['pinMode',['../class_stm32wlx_hal.html#a70dd9f6fb6c0307e2d9d363ce6d7f2a2',1,'Stm32wlxHal::pinMode()'],['../class_radio_lib_hal.html#af01b4e5e01352b99ce4329c9f9f8433b',1,'RadioLibHal::pinMode(uint32_t pin, uint32_t mode)=0']]], ['pintointerrupt_220',['pinToInterrupt',['../class_radio_lib_hal.html#a300a47d4d43dbe0c624f6e5dc1cf7a00',1,'RadioLibHal']]], diff --git a/search/functions_1.js b/search/functions_1.js index 56f2dab5..ad00ce3f 100644 --- a/search/functions_1.js +++ b/search/functions_1.js @@ -1,13 +1,13 @@ var searchData= [ ['begin_655',['begin',['../class_bell_client.html#add9edc89cd6ff5c527ddbdabe79cb60f',1,'BellClient::begin()'],['../class_s_x1276.html#ac0f792c2fee6aac9b554104c5b1e5ae7',1,'SX1276::begin()'],['../class_s_x1277.html#ab9eda48af64532a24d04a9ae0d9c3dc3',1,'SX1277::begin()'],['../class_s_x1278.html#a867a336ae900f4a221d42b4c807122cf',1,'SX1278::begin()'],['../class_s_x1279.html#a324a37dee0522f43692cd414141becc2',1,'SX1279::begin()'],['../class_s_x127x.html#aeac64ca102a143624993cb7cb5b9e17c',1,'SX127x::begin()'],['../class_s_x128x.html#a275a9a86934124eab4982ad52bf91aea',1,'SX128x::begin()'],['../class_a_f_s_k_client.html#a30b86bb7cd087b3bc3c45a011ba266c3',1,'AFSKClient::begin()'],['../class_a_p_r_s_client.html#a4d1468be141940a12fd3964957f79c1a',1,'APRSClient::begin()'],['../class_a_x25_client.html#aadeefb210a0b5170d4e8d281c2257e73',1,'AX25Client::begin()'],['../class_l_l_c_c68.html#aa835ee301567f7dac079b42a2055c38c',1,'LLCC68::begin()'],['../class_f_s_k4_client.html#a2b366b8f3c08f81431d8cc5f907652e9',1,'FSK4Client::begin()'],['../class_hell_client.html#a225775fe87f9ed3c3a04142697641242',1,'HellClient::begin()'],['../class_morse_client.html#a516f19bb51b87ead7f7ed149f2ca92cf',1,'MorseClient::begin()'],['../class_pager_client.html#a1a1dc569f9b60b0ddd6ead7af5a8244f',1,'PagerClient::begin()'],['../class_r_t_t_y_client.html#ae0b25083baf01469786b6242389298fa',1,'RTTYClient::begin()'],['../class_s_s_t_v_client.html#a3769dcdebf8b1fa01eb2d8bd2bb3815a',1,'SSTVClient::begin(float base, const SSTVMode_t &mode)'],['../class_s_s_t_v_client.html#afd4257e858a88e5847854a46f166a9b0',1,'SSTVClient::begin(const SSTVMode_t &mode)'],['../class_radio_lib_b_c_h.html#aba6f10d4ac2d40eb2222d1081a34c88b',1,'RadioLibBCH::begin()'],['../class_s_x1272.html#ae7562fe74e7d97bf9cc52b5d63f608f9',1,'SX1272::begin()'],['../class_s_x1273.html#a0fb9d6c58e3576e22e1dda4a9b4a1db2',1,'SX1273::begin()'],['../class_c_c1101.html#ad86f23bb3d113d20f6238a671f18b565',1,'CC1101::begin()'],['../class_l_r1110.html#a7656fe337a859388247708aa143d50af',1,'LR1110::begin()'],['../class_l_r1120.html#a0393071d4403d06c665f28c49e755382',1,'LR1120::begin()'],['../class_l_r11x0.html#a43318bfbed2be4a46e0b7e678d2e4d23',1,'LR11x0::begin()'],['../classn_r_f24.html#a0ef68849f812367432f5a3798f94b8ce',1,'nRF24::begin()'],['../class_r_f69.html#a637ea5386066f5608bcbb4266e5c1bd6',1,'RF69::begin()'],['../class_si4430.html#aaed612b8936609442042d8156e085d2c',1,'Si4430::begin()'],['../class_si4431.html#a402223a49d5b1012b0bf58ce602e6ff3',1,'Si4431::begin()'],['../class_si4432.html#a5efc3a08f91a411da011201dc128fb34',1,'Si4432::begin()'],['../class_si443x.html#a453eda5436dc4dfe0dad676dc3977752',1,'Si443x::begin()'],['../class_s_x1231.html#a8aa81f8cbe61c4941ac7e3c97a6f5244',1,'SX1231::begin()'],['../class_s_x1233.html#a10fa64ee432a56b50ea6bd42868693af',1,'SX1233::begin()'],['../class_s_t_m32_w_lx.html#a4f2a9b5a72b5238d2014199d91094f84',1,'STM32WLx::begin()'],['../class_s_x1262.html#a9ceab9913d102c2fd657a1a91afaf9cc',1,'SX1262::begin()'],['../class_s_x1268.html#ad9e92b39ae0fdfa47131ddf7adb92b71',1,'SX1268::begin()'],['../class_s_x126x.html#a936a40038e05740a528f2b53f8e17010',1,'SX126x::begin()']]], - ['beginabp_656',['beginABP',['../class_lo_ra_w_a_n_node.html#adb3b744bf17d923ba8361c567b5145cf',1,'LoRaWANNode']]], + ['beginabp_656',['beginABP',['../class_lo_ra_w_a_n_node.html#a3525b30a84d3062e16f2925e3b1f6fe0',1,'LoRaWANNode']]], ['beginble_657',['beginBLE',['../class_s_x128x.html#ace5ede905bf85aada0c61b9cfaaea127',1,'SX128x']]], ['beginflrc_658',['beginFLRC',['../class_s_x128x.html#a2c4a24623c5fd27b3cc937e55783d709',1,'SX128x']]], ['beginfsk_659',['beginFSK',['../class_s_t_m32_w_lx.html#af12e8eba13c5dd8bcf8656ed5c1f6cef',1,'STM32WLx::beginFSK()'],['../class_s_x127x.html#af8530e9d858b155eb5acb764a733bcd4',1,'SX127x::beginFSK()'],['../class_s_x1279.html#ab5cb738ed4bf6f40e777f797af2a8b4b',1,'SX1279::beginFSK()'],['../class_s_x1278.html#a86464af008b71d12948690b780280e7d',1,'SX1278::beginFSK()'],['../class_s_x1277.html#ac4f2e93c9096e6d2552958f4bc9c1b44',1,'SX1277::beginFSK()'],['../class_s_x1276.html#ae1240a7418dce80c10bf0f7b3c807840',1,'SX1276::beginFSK()'],['../class_s_x1272.html#a83b80377ec3b7a4a4dd663409f2f6260',1,'SX1272::beginFSK()'],['../class_s_x126x.html#a2e500e5b6044ccab8f6b19af4ffa917c',1,'SX126x::beginFSK()'],['../class_s_x1268.html#af6b041392136b599eec57085e2067a6f',1,'SX1268::beginFSK()'],['../class_s_x1262.html#a36d2c94ff9c3b9126fde23e3c54630f1',1,'SX1262::beginFSK()']]], ['begingfsk_660',['beginGFSK',['../class_l_r1110.html#afcabcd9b422581cd8a63a63373a98155',1,'LR1110::beginGFSK()'],['../class_l_r1120.html#a4c6b867146f00de5c45aeb4164d51cc5',1,'LR1120::beginGFSK()'],['../class_l_r11x0.html#ab1ed8eafe4b23843a8b163949af279bb',1,'LR11x0::beginGFSK()'],['../class_s_x128x.html#a6ed60dfbd142315bb4e1abd2555a470a',1,'SX128x::beginGFSK()']]], ['beginlrfhss_661',['beginLRFHSS',['../class_l_r1110.html#a9439d6d7a6c8dc5813a00c9e493810c0',1,'LR1110::beginLRFHSS()'],['../class_l_r1120.html#a981be5384416833dcb6c09ad5be47aa6',1,'LR1120::beginLRFHSS()'],['../class_l_r11x0.html#a3f85d48547ebec0f5e4f2678f3213bc5',1,'LR11x0::beginLRFHSS()']]], - ['beginotaa_662',['beginOTAA',['../class_lo_ra_w_a_n_node.html#a27bbbb946a1676a084841d293499ea87',1,'LoRaWANNode']]], + ['beginotaa_662',['beginOTAA',['../class_lo_ra_w_a_n_node.html#a8d3d9f3bf2214d192b83f057a28f5d7c',1,'LoRaWANNode']]], ['bellclient_663',['BellClient',['../class_bell_client.html#a20fcf0322ef40c31b3bc329f7d89a177',1,'BellClient::BellClient(PhysicalLayer *phy, uint32_t pin)'],['../class_bell_client.html#ab9d0d76bb88fc8bdc995ab800063c149',1,'BellClient::BellClient(AFSKClient *aud)']]], ['bytearr_664',['byteArr',['../class_i_t_a2_string.html#a3f42f7ad98473dbe36515e676622ed3d',1,'ITA2String']]] ]; diff --git a/search/variables_1.js b/search/variables_1.js index 51378c86..77b8139c 100644 --- a/search/variables_1.js +++ b/search/variables_1.js @@ -4,7 +4,7 @@ var searchData= ['cid_977',['cid',['../struct_lo_ra_w_a_n_mac_spec__t.html#a1b106b73be8b6ae35fda3e0d90795fe9',1,'LoRaWANMacSpec_t::cid()'],['../struct_lo_ra_w_a_n_mac_command__t.html#aa41a9955ac6f0fad60b4990955e40834',1,'LoRaWANMacCommand_t::cid()']]], ['cmds_978',['cmds',['../struct_module_1_1_s_p_i_config__t.html#a57ecca17835380862426d3cf38561185',1,'Module::SPIConfig_t']]], ['codingrate_979',['codingRate',['../struct_lo_ra_rate__t.html#ae382629257949329b2fcb01d565183df',1,'LoRaRate_t']]], - ['commands_980',['commands',['../struct_lo_ra_w_a_n_mac_command_queue__t.html#a0a17c93236cdeb3703b9f69b4f6d702b',1,'LoRaWANMacCommandQueue_t']]], + ['commands_980',['commands',['../struct_lo_ra_w_a_n_mac_command_queue__t.html#a8538a6b08ff1a69a572730fae87ac96d',1,'LoRaWANMacCommandQueue_t']]], ['confirmed_981',['confirmed',['../struct_lo_ra_w_a_n_event__t.html#a09079dc76b5367d23766e357d2ddb794',1,'LoRaWANEvent_t']]], ['confirming_982',['confirming',['../struct_lo_ra_w_a_n_event__t.html#a506755c4731be16d126bdef873c420f8',1,'LoRaWANEvent_t']]], ['control_983',['control',['../class_a_x25_frame.html#a5b196079b539dc417ca65dd4ad622f8f',1,'AX25Frame']]] diff --git a/search/variables_2.js b/search/variables_2.js index b8553d9a..34c27d57 100644 --- a/search/variables_2.js +++ b/search/variables_2.js @@ -1,7 +1,7 @@ var searchData= [ ['datarate_984',['datarate',['../struct_lo_ra_w_a_n_event__t.html#a56281d98efee007a0c03e6a6ae8a592b',1,'LoRaWANEvent_t']]], - ['datarates_985',['dataRates',['../struct_lo_ra_w_a_n_band__t.html#a8b518a570756048dec56bec703a0b25b',1,'LoRaWANBand_t']]], + ['datarates_985',['dataRates',['../struct_lo_ra_w_a_n_band__t.html#a36f6cb2a3b6916bcbb7702a7317209bb',1,'LoRaWANBand_t']]], ['destcallsign_986',['destCallsign',['../class_a_x25_frame.html#a7fe9805148e2dd46d163cd989473dbff',1,'AX25Frame']]], ['destssid_987',['destSSID',['../class_a_x25_frame.html#af62935e56dc24bca5d2e2aeb932b63f8',1,'AX25Frame']]], ['dir_988',['dir',['../struct_lo_ra_w_a_n_event__t.html#a698a1956ffafa152e7c2cada3a2a2805',1,'LoRaWANEvent_t']]], diff --git a/search/variables_d.js b/search/variables_d.js index 55ad3a87..923a3477 100644 --- a/search/variables_d.js +++ b/search/variables_d.js @@ -2,7 +2,7 @@ var searchData= [ ['parsestatuscb_1030',['parseStatusCb',['../struct_module_1_1_s_p_i_config__t.html#a9619dcb8b269bcbd125e5a05e6c0fc77',1,'Module::SPIConfig_t']]], ['payload_1031',['payload',['../struct_lo_ra_w_a_n_mac_command__t.html#ac572044ad659ad7addd50d21f6f2e764',1,'LoRaWANMacCommand_t']]], - ['payloadlenmax_1032',['payloadLenMax',['../struct_lo_ra_w_a_n_band__t.html#a9b8143ac9bbf3ed45e7cc80fc71ce055',1,'LoRaWANBand_t']]], + ['payloadlenmax_1032',['payloadLenMax',['../struct_lo_ra_w_a_n_band__t.html#a75dba867430b104a7243359c6e7564a4',1,'LoRaWANBand_t']]], ['poly_1033',['poly',['../class_radio_lib_c_r_c.html#af3942e08bde9d9d127f735bd10392f6d',1,'RadioLibCRC']]], ['port_1034',['port',['../struct_lo_ra_w_a_n_event__t.html#afde0d3bb9fce5dde27c0796d25a3aca3',1,'LoRaWANEvent_t']]], ['power_1035',['power',['../struct_lo_ra_w_a_n_event__t.html#a49eebe64d351bb2e91901ef8fae044ff',1,'LoRaWANEvent_t']]], diff --git a/struct_lo_ra_w_a_n_band__t-members.html b/struct_lo_ra_w_a_n_band__t-members.html index 181447cc..0eebf906 100644 --- a/struct_lo_ra_w_a_n_band__t-members.html +++ b/struct_lo_ra_w_a_n_band__t-members.html @@ -91,12 +91,12 @@ $(document).ready(function(){initNavTree('struct_lo_ra_w_a_n_band__t.html',''); - + - + diff --git a/struct_lo_ra_w_a_n_band__t.html b/struct_lo_ra_w_a_n_band__t.html index 2aeb6aab..1c2c30d8 100644 --- a/struct_lo_ra_w_a_n_band__t.html +++ b/struct_lo_ra_w_a_n_band__t.html @@ -105,10 +105,10 @@ uint8_t  - - - + + + @@ -157,10 +157,10 @@ uint8_t  - - - + + +
    bandNumLoRaWANBand_t
    bandTypeLoRaWANBand_t
    dataRatesLoRaWANBand_t
    dataRatesLoRaWANBand_t
    dutyCycleLoRaWANBand_t
    dwellTimeDnLoRaWANBand_t
    dwellTimeUpLoRaWANBand_t
    numTxSpansLoRaWANBand_t
    payloadLenMaxLoRaWANBand_t
    payloadLenMaxLoRaWANBand_t
    powerMaxLoRaWANBand_t
    powerNumStepsLoRaWANBand_t
    rx1DataRateBaseLoRaWANBand_t
    bandType
     Whether the channels are fixed per specification, or dynamically allocated through the network (plus defaults)
     
    -uint8_t payloadLenMax [RADIOLIB_LORAWAN_CHANNEL_NUM_DATARATES]
     Array of allowed maximum payload lengths for each data rate.
     
    +uint8_t payloadLenMax [RADIOLIB_LW_CHANNEL_NUM_DATARATES]
     Array of allowed maximum payload lengths for each data rate.
     
    int8_t powerMax
     Maximum allowed output power in this band in dBm.
    LoRaWANChannel_t rx2
     Backup channel for downlink (RX2) window.
     
    -uint8_t dataRates [RADIOLIB_LORAWAN_CHANNEL_NUM_DATARATES]
     The corresponding datarates, bandwidths and coding rates for DR index.
     
    +uint8_t dataRates [RADIOLIB_LW_CHANNEL_NUM_DATARATES]
     The corresponding datarates, bandwidths and coding rates for DR index.
     

    Detailed Description

    Structure to save information about LoRaWAN band.

    diff --git a/struct_lo_ra_w_a_n_band__t.js b/struct_lo_ra_w_a_n_band__t.js index 57d80aaf..b96ae533 100644 --- a/struct_lo_ra_w_a_n_band__t.js +++ b/struct_lo_ra_w_a_n_band__t.js @@ -2,12 +2,12 @@ var struct_lo_ra_w_a_n_band__t = [ [ "bandNum", "struct_lo_ra_w_a_n_band__t.html#abb14a7c48ec89a944f441517b1d55986", null ], [ "bandType", "struct_lo_ra_w_a_n_band__t.html#ad7ab17cc0b530fb99c3be39fd6411802", null ], - [ "dataRates", "struct_lo_ra_w_a_n_band__t.html#a8b518a570756048dec56bec703a0b25b", null ], + [ "dataRates", "struct_lo_ra_w_a_n_band__t.html#a36f6cb2a3b6916bcbb7702a7317209bb", null ], [ "dutyCycle", "struct_lo_ra_w_a_n_band__t.html#a743d3a23aa5c58e156dff633b830ee4f", null ], [ "dwellTimeDn", "struct_lo_ra_w_a_n_band__t.html#aef289b63007a6e085c7c66f71209d84c", null ], [ "dwellTimeUp", "struct_lo_ra_w_a_n_band__t.html#a8bd0d705d9c0dbe87d25e83cc54e922c", null ], [ "numTxSpans", "struct_lo_ra_w_a_n_band__t.html#ae58f859a72e64aa4a6fe218ba7e21c10", null ], - [ "payloadLenMax", "struct_lo_ra_w_a_n_band__t.html#a9b8143ac9bbf3ed45e7cc80fc71ce055", null ], + [ "payloadLenMax", "struct_lo_ra_w_a_n_band__t.html#a75dba867430b104a7243359c6e7564a4", null ], [ "powerMax", "struct_lo_ra_w_a_n_band__t.html#a43fdafd540c93348f9b4a8958e021a4c", null ], [ "powerNumSteps", "struct_lo_ra_w_a_n_band__t.html#aa22d7d7670846b36d3104439d18e5f15", null ], [ "rx1DataRateBase", "struct_lo_ra_w_a_n_band__t.html#aaa9cd9d68c61815da4ae01f7ce312a83", null ], diff --git a/struct_lo_ra_w_a_n_event__t.html b/struct_lo_ra_w_a_n_event__t.html index de3a189c..8b1797fb 100644 --- a/struct_lo_ra_w_a_n_event__t.html +++ b/struct_lo_ra_w_a_n_event__t.html @@ -99,7 +99,7 @@ $(document).ready(function(){initNavTree('struct_lo_ra_w_a_n_event__t.html',''); Public Attributes
  • uint8_t dir
     Event direction, one of RADIOLIB_LORAWAN_CHANNEL_DIR_*.
     Event direction, one of RADIOLIB_LW_CHANNEL_DIR_*.
     
    bool confirmed
    - +
    commandsLoRaWANMacCommandQueue_t
    commandsLoRaWANMacCommandQueue_t
    lenLoRaWANMacCommandQueue_t
    numCommandsLoRaWANMacCommandQueue_t
    diff --git a/struct_lo_ra_w_a_n_mac_command_queue__t.html b/struct_lo_ra_w_a_n_mac_command_queue__t.html index 636a5a5f..15f3398e 100644 --- a/struct_lo_ra_w_a_n_mac_command_queue__t.html +++ b/struct_lo_ra_w_a_n_mac_command_queue__t.html @@ -105,10 +105,10 @@ uint8_t len  Total length of the queue.
      - -LoRaWANMacCommand_t commands [RADIOLIB_LORAWAN_MAC_COMMAND_QUEUE_SIZE] - MAC command buffer.
    -  + +LoRaWANMacCommand_t commands [RADIOLIB_LW_MAC_COMMAND_QUEUE_SIZE] + MAC command buffer.

    Detailed Description

    Structure to hold information about a queue of MAC commands.

    diff --git a/struct_lo_ra_w_a_n_mac_command_queue__t.js b/struct_lo_ra_w_a_n_mac_command_queue__t.js index 59da3445..ffb3e914 100644 --- a/struct_lo_ra_w_a_n_mac_command_queue__t.js +++ b/struct_lo_ra_w_a_n_mac_command_queue__t.js @@ -1,6 +1,6 @@ var struct_lo_ra_w_a_n_mac_command_queue__t = [ - [ "commands", "struct_lo_ra_w_a_n_mac_command_queue__t.html#a0a17c93236cdeb3703b9f69b4f6d702b", null ], + [ "commands", "struct_lo_ra_w_a_n_mac_command_queue__t.html#a8538a6b08ff1a69a572730fae87ac96d", null ], [ "len", "struct_lo_ra_w_a_n_mac_command_queue__t.html#ae951ec7a2518bbcdfb4c7a7c5359ca78", null ], [ "numCommands", "struct_lo_ra_w_a_n_mac_command_queue__t.html#ae83622d6039c73d6d7134318bb36edeb", null ] ]; \ No newline at end of file