| Demo HCI Implementation for WiMOD-LR Devices V1.3.1

- Main Page
- Classes
- Files

- File List
- File Members

WiMOD_SAP_DEVMGMT_IDs.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
31 //------------------------------------------------------------------------------
32
33
34 /*
35 * THIS IS AN EXAMPLE IMPLEMENTATION ACCORDING THE THE HCI SPEC: V1.8
36 * FOR FIRMWARE: LR-BASE
37 *
38 * SEE FILE: WiMOD_LR_Base_HCI_Spec_V1_8.pdf for detailed information
39 */
40
41
42 #ifndef ARDUINO_WIMOD_SAP_DEVMGMT_IDS_H_
43 #define ARDUINO_WIMOD_SAP_DEVMGMT_IDS_H_
44
45 //------------------------------------------------------------------------------
46 //
47 // Section Includes Files
48 //
49 //------------------------------------------------------------------------------
50
51 #include "utils/WMDefs.h"
52
53
54 //------------------------------------------------------------------------------
55 //
56 // Service Access Point Identifier
57 //
58 //------------------------------------------------------------------------------
59
61 #define DEVMGMT_SAP_ID 0x01
62
63
64
65 //------------------------------------------------------------------------------
66 //
67 // Device Management Message Identifier
68 //
69 //------------------------------------------------------------------------------
71
72 // Status Codes
73 #define DEVMGMT_STATUS_OK 0x00
74 #define DEVMGMT_STATUS_ERROR 0x01
75 #define DEVMGMT_STATUS_CMD_NOT_SUPPORTED 0x02
76 #define DEVMGMT_STATUS_WRONG_PARAMETER 0x03
77 #define DEVMGMT_STATUS_WRONG_DEVICE_MODE 0x04
78
79 // Message IDs
80 #define DEVMGMT_MSG_PING_REQ 0x01
81 #define DEVMGMT_MSG_PING_RSP 0x02
82
83 #define DEVMGMT_MSG_GET_DEVICEINFO_REQ 0x03
84 #define DEVMGMT_MSG_GET_DEVICEINFO_RSP 0x04
85
86 #define DEVMGMT_MSG_GET_FW_VERSION_REQ 0x05
87 #define DEVMGMT_MSG_GET_FW_VERSION_RSP 0x06
88
89 #define DEVMGMT_MSG_RESET_REQ 0x07
90 #define DEVMGMT_MSG_RESET_RSP 0x08
91
92 #define DEVMGMT_MSG_SET_OPMODE_REQ 0x09
93 #define DEVMGMT_MSG_SET_OPMODE_RSP 0x0A
94
95 #define DEVMGMT_MSG_GET_OPMODE_REQ 0x0B
96 #define DEVMGMT_MSG_GET_OPMODE_RSP 0x0C
97
98 #define DEVMGMT_MSG_SET_RTC_REQ 0x0D
99 #define DEVMGMT_MSG_SET_RTC_RSP 0x0E
100 #define DEVMGMT_MSG_GET_RTC_REQ 0x0F
101 #define DEVMGMT_MSG_GET_RTC_RSP 0x10
102
103 #define DEVMGMT_MSG_SET_RADIO_CONFIG_REQ 0x11
104 #define DEVMGMT_MSG_SET_RADIO_CONFIG_RSP 0x12
105 #define DEVMGMT_MSG_GET_RADIO_CONFIG_REQ 0x13
106 #define DEVMGMT_MSG_GET_RADIO_CONFIG_RSP 0x14
107
108 #define DEVMGMT_MSG_RESET_RADIO_CONFIG_REQ 0x15
109 #define DEVMGMT_MSG_RESET_RADIO_CONFIG_RSP 0x16
110
111 #define DEVMGMT_MSG_GET_SYSTEM_STATUS_REQ 0x17
112 #define DEVMGMT_MSG_GET_SYSTEM_STATUS_RSP 0x18
113
114 #define DEVMGMT_MSG_SET_PSV_MODE_REQ 0x1B
115 #define DEVMGMT_MSG_SET_PSV_MODE_RSP 0x1C
116
117 #define DEVMGMT_MSG_POWER_UP_IND 0x20
118
119 #define DEVMGMT_MSG_SET_AES_KEY_REQ 0x21
120 #define DEVMGMT_MSG_SET_AES_KEY_RSP 0x22
121
122 #define DEVMGMT_MSG_GET_AES_KEY_REQ 0x23
123 #define DEVMGMT_MSG_GET_AES_KEY_RSP 0x24
124
125 #define DEVMGMT_MSG_SET_RTC_ALARM_REQ 0x31
126 #define DEVMGMT_MSG_SET_RTC_ALARM_RSP 0x32
127
128 #define DEVMGMT_MSG_CLEAR_RTC_ALARM_REQ 0x33
129 #define DEVMGMT_MSG_CLEAR_RTC_ALARM_RSP 0x34
130
131 #define DEVMGMT_MSG_GET_RTC_ALARM_REQ 0x35
132 #define DEVMGMT_MSG_GET_RTC_ALARM_RSP 0x36
133
134 #define DEVMGMT_MSG_RTC_ALARM_IND 0x38
135
137 //------------------------------------------------------------------------------
138 //
139 // misc. defines
140 //
141 //------------------------------------------------------------------------------
143
144 #define DEVMGMT_AES_KEY_LEN 16 // 128 bit
145
147
148 //------------------------------------------------------------------------------
149 //
150 // structures
151 //
152 //------------------------------------------------------------------------------
156 typedef struct TWiMODLR_DevMgmt_DevInfo
157 {
158 UINT8 Status;
159 UINT8 ModuleType;
160 UINT16 DevAdr;
161 UINT8 GroupAdr;
162 UINT32 DevID;
163 } TWiMODLR_DevMgmt_DevInfo;
164
166
167 #define WIMOD_DEVMGMT_BUILDDATE_LEN (10)
168 #define WIMOD_DEVMGMT_MAX_BUILDDATE_LEN (WIMOD_DEVMGMT_BUILDDATE_LEN+1)
169 #define WIMOD_DEVMGMT_FIRMWARE_NAME_LEN (40)
170 #define WIMOD_DEVMGMT_MAX_FIRMWARE_NAME_LEN (WIMOD_DEVMGMT_FIRMWARE_NAME_LEN+1)
171
172 // @endcond
173
174
175 // WiMOD Module Types
177 #define WIMOD_MODULE_TYPE_IM880B (0x98)
178
180
184 typedef enum TWiMOD_ModuleType
185 {
186 ModuleType_iM880B = 0x98,
187 } TWiMOD_ModuleType;
188
189
190
194 typedef struct TWiMODLR_DevMgmt_FwInfo
195 {
196 UINT8 Status;
197 UINT8 FirmwareMinorVersion;
198 UINT8 FirmwareMayorVersion;
199 UINT16 BuildCount;
200 UINT8 BuildDateStr[WIMOD_DEVMGMT_MAX_BUILDDATE_LEN];
201 UINT8 FirmwareName[WIMOD_DEVMGMT_MAX_FIRMWARE_NAME_LEN];
202 } TWiMODLR_DevMgmt_FwInfo;
203
204
208 typedef struct TWiMODLR_DevMgmt_SystemStatus
209 {
210 UINT8 Status;
211 UINT8 SysTickResolution;
212 UINT32 SysTickCounter;
213 UINT32 RtcTime;
214 UINT16 NvmStatus;
215 UINT16 BatteryStatus;
216 UINT16 ExtraStatus;
217 UINT32 RxPackets;
218 UINT32 RxAddressMatch;
219 UINT32 RxCRCError;
220 UINT32 TxPackets;
221 UINT32 TxError;
222 UINT32 TxMediaBusyEvents;
223 } TWiMODLR_DevMgmt_SystemStatus;
224
225
229 typedef enum TRadioCfg_RadioMode
230 {
231 RadioMode_Standard = 0,
232 RadioMode_Echo,
233 RadioMode_Sniffer,
234 } TRadioCfg_RadioMode;
235
236
240 typedef enum TRadioCfg_Modulation
241 {
242 Modulation_LoRa = 0,
243 Modulation_FSK,
244 } TRadioCfg_Modulation;
245
249 typedef enum TRadioCfg_LoRaBandwidth
250 {
251 LoRaBandwith_125kHz = 0,
252 LoRaBandwith_250kHz,
253 LoRaBandwith_500kHz
254 } TRadioCfg_LoRaBandwidth;
255
259 typedef enum TRadioCfg_LoRaSpreadingFactor
260 {
261 LoRa0_SF7 = 0,
262 LoRa1_SF7,
263 LoRa2_SF7,
264 LoRa3_SF7,
265 LoRa4_SF7,
266 LoRa5_SF7,
267 LoRa6_SF7,
268 LoRa7_SF7,
269 LoRa8_SF8,
270 LoRa9_SF9,
271 LoRa10_SF10,
272 LoRa11_SF11,
273 LoRa12_S12,
274 } TRadioCfg_LoRaSpreadingFactor;
275
279 typedef enum TRadioCfg_ErrorCoding
280 {
281 ErrorCoding0_4_5 = 0,
282 ErrorCoding1_4_5,
283 ErrorCoding2_4_6,
284 ErrorCoding3_4_7,
285 ErrorCoding4_4_8,
286 } TRadioCfg_ErrorCoding;
287
291 typedef enum TRadioCdf_TxPowerLevel
292 {
293 TxPowerLevel_5_dBm = 5,
294 TxPowerLevel_6_dBm,
295 TxPowerLevel_7_dBm,
296 TxPowerLevel_8_dBm,
297 TxPowerLevel_9_dBm,
298 TxPowerLevel_10_dBm,
299 TxPowerLevel_11_dBm,
300 TxPowerLevel_12_dBm,
301 TxPowerLevel_13_dBm,
302 TxPowerLevel_14_dBm,
303 TxPowerLevel_15_dBm,
304 TxPowerLevel_16_dBm,
305 TxPowerLevel_17_dBm,
306 TxPowerLevel_18_dBm,
307 TxPowerLevel_19_dBm,
308 TxPowerLevel_20_dBm,
309 } TRadioCfg_PowerLevel;
310
311
312 // bit field for TxControl field of RadioConfig structure
314 #define DEVMGMT_RADIO_CFG_TX_CTRL_TX_NARROW_FILTER_ON (1 << 0)
315 #define DEVMGMT_RADIO_CFG_TX_CTRL_LBT_ON (1 << 1)
316
321 typedef enum TRadioCfg_RxControl
322 {
323 RxCtrl_Receiver_Off = 0,
324 RxCtrl_Receiver_AlwaysOn,
325 RxCtrl_Receiver_RxWindowed,
326 } TRadioCfg_RxControl;
327
329
330 // bit field for LedControl in RadioConfig structure
331 #define DEVMGMT_RADIO_CFG_LED_CTRL_LED3_RX_IND_ON (1 << 0)
332 #define DEVMGMT_RADIO_CFG_LED_CTRL_LED2_TX_IND_ON (1 << 1)
333 #define DEVMGMT_RADIO_CFG_LED_CTRL_LED4_ALIVE_IND_ON (1 << 2)
334 #define DEVMGMT_RADIO_CFG_LED_CTRL_LED1_BUTTON_IND_ON (1 << 3)
335
336 // bit field for Misc.Options in RadioConfig structure
337 #define DEVMGMT_RADIO_CFG_MISC_EXTENDED_HCI_OUTPUT_FORMAT (1 << 0)
338 #define DEVMGMT_RADIO_CFG_MISC_RTC_ENABLED (1 << 1)
339 #define DEVMGMT_RADIO_CFG_MISC_HCI_TX_IND_ENABLED (1 << 2)
340 #define DEVMGMT_RADIO_CFG_MISC_HCI_PWR_UP_IND_ENABLED (1 << 3)
341 #define DEVMGMT_RADIO_CFG_MISC_HCI_BTN_PRESS_IND_ENABLED (1 << 4)
342 #define DEVMGMT_RADIO_CFG_MISC_HCI_ENCTRYPTION_ENABLED (1 << 5)
343
345
349 typedef enum TRadioCfg_FskDatarate
350 {
351 FskDatarate_50kbps = 0,
352 FskDatarate_100kbps,
353 FskDatarate_250kbps,
354 } TRadioCfg_FskDatarate;
355
356
357 // power saving mode field of the RadioConfig structure
359 #define DEVMGMT_RADIO_CFG_POWER_SAVING_MODE_OFF 0
360 #define DEVMGMT_RADIO_CFG_POWER_SAVING_MODE_ON 1
361
363
367 typedef enum TRadioCfg_PowerSavingMode
368 {
369 PowerSaving_Off = 0,
370 PowerSaving_On = 1,
371 } TRadioCfg_PowerSavingMode;
372
376 typedef struct TWiMODLR_DevMgmt_RadioConfig
377 {
378 // only for reading
379 UINT8 Status;
381 // only for writing
382 UINT8 StoreNwmFlag;
384 TRadioCfg_RadioMode RadioMode;
385 UINT8 GroupAddress;
386 UINT8 TxGroupAddress;
387 UINT16 DeviceAddress;
388 UINT16 TxDeviceAddress;
389 TRadioCfg_Modulation Modulation;
390 UINT8 RfFreq_LSB;
391 UINT8 RfFreq_MID;
392 UINT8 RfFreq_MSB;
393 TRadioCfg_LoRaBandwidth LoRaBandWidth;
394 TRadioCfg_LoRaSpreadingFactor LoRaSpreadingFactor;
395 TRadioCfg_ErrorCoding ErrorCoding;
396 TRadioCfg_PowerLevel PowerLevel;
397 UINT8 TxControl;
398 TRadioCfg_RxControl RxControl;
399 UINT16 RxWindowTime;
400 UINT8 LedControl;
401 UINT8 MiscOptions;
402 TRadioCfg_FskDatarate FskDatarate;
403 TRadioCfg_PowerSavingMode PowerSavingMode;
404 INT16 LbtThreshold;
405 } TWiMODLR_DevMgmt_RadioConfig;
406
410 typedef enum TWiMOD_OperationMode
411 {
412 OperationMode_Application = 0,
413 OperationMode_Test,
414 } TWiMOD_OperationMode;
415
416
417
418 // RTC alarm status
420 #define DEVMGMT_RTC_ALARM_STATUS_NO_ALARM_SET 0
421 #define DEVMGMT_RTC_ALARM_STATUS_ALARM_SET 1
422
427 typedef enum TWiMOD_RtcAlarmStatus
428 {
429 RTC_Alarm_No_Alarm_Set = 0,
430 RTC_Alarm_Alarm_Set,
431 } TWiMOD_RtcAlarmStatus;
432
433
434 // RTC alarm options / alarm type
436 #define DEVMGMT_RTC_ALARM_TYPE_SIGNLE 0
437 #define DEVMGMT_RTC_ALARM_TYPE_DAILY_REPEATED 1
438
443 typedef enum TWiMOD_RtcAlarmType
444 {
445 RTC_Alarm_Single = 0,
446 RTC_Alarm_DailyRepeated,
447 } TWiMOD_RtcAlarmType;
448
452 typedef struct TWiMODLR_DevMgmt_RtcAlarm
453 {
454 TWiMOD_RtcAlarmStatus AlarmStatus; // RX only /*!< RTC alarm trigger status */
455 TWiMOD_RtcAlarmType Options;
456 UINT8 Hour;
457 UINT8 Minutes;
458 UINT8 Seconds;
459 } TWiMODLR_DevMgmt_RtcAlarm;
460
461 //------------------------------------------------------------------------------
462 //
463 // Section Macros
464 //
465 //------------------------------------------------------------------------------
466
468 #define WiMOD_RTC_YEAR_OFFSET 2000
469
471 #define WIMOD_RTC_GET_SECONDS(t) (t & 0x3F)
472
473 #define WIMOD_RTC_GET_MINUTES(t) ((t >> 6) & 0x3F)
474
475 #define WIMOD_RTC_GET_MONTHS(t) ((t >> 12) & 0x0F)
476
477 #define WIMOD_RTC_GET_HOURS(t) ((t >> 16) & 0x1F)
478
479 #define WIMOD_RTC_GET_DAYS(t) ((t >> 21) & 0x1F)
480
481 #define WIMOD_RTC_GET_YEARS(t) (((t >> 26) & 0x3F) + WiMOD_RTC_YEAR_OFFSET)
482
484 #define WIMOD_RTC_MAKE_DATETIME_U32(s,m,h,dd,mm,yy) \
485 (((UINT32)s) | ((UINT32)m << 6) \
486 | ((UINT32)mm << 12) \
487 | ((UINT32)h << 16) \
488 | ((UINT32)dd << 21) \
489 | ((UINT32)(yy-WiMOD_RTC_YEAR_OFFSET) << 26))
490
491
492
493 #endif /* ARDUINO_WIMOD_SAP_DEVMGMT_IDS_H_ */
LoRa6_SF7
Definition: WiMOD_SAP_DEVMGMT_IDs.h:267
TWiMODLR_DevMgmt_SystemStatus
Basic information about system status of the WiMOD.
Definition: WiMOD_SAP_DEVMGMT_IDs.h:208
TWiMODLR_DevMgmt_RtcAlarm::Minutes
UINT8 Minutes
Definition: WiMOD_SAP_DEVMGMT_IDs.h:457
TWiMODLR_DevMgmt_FwInfo::BuildCount
UINT16 BuildCount
Definition: WiMOD_SAP_DEVMGMT_IDs.h:199
TWiMODLR_DevMgmt_RadioConfig::RxWindowTime
UINT16 RxWindowTime
Definition: WiMOD_SAP_DEVMGMT_IDs.h:399
TWiMODLR_DevMgmt_RadioConfig::LedControl
UINT8 LedControl
Definition: WiMOD_SAP_DEVMGMT_IDs.h:400
TWiMODLR_DevMgmt_RadioConfig::TxDeviceAddress
UINT16 TxDeviceAddress
Definition: WiMOD_SAP_DEVMGMT_IDs.h:388
TWiMODLR_DevMgmt_RtcAlarm::Options
TWiMOD_RtcAlarmType Options
Definition: WiMOD_SAP_DEVMGMT_IDs.h:455
LoRa0_SF7
Definition: WiMOD_SAP_DEVMGMT_IDs.h:261
LoRaBandwith_250kHz
Definition: WiMOD_SAP_DEVMGMT_IDs.h:252
RTC_Alarm_Single
Definition: WiMOD_SAP_DEVMGMT_IDs.h:445
TWiMODLR_DevMgmt_RadioConfig::ErrorCoding
TRadioCfg_ErrorCoding ErrorCoding
Definition: WiMOD_SAP_DEVMGMT_IDs.h:395
TWiMOD_ModuleType
TWiMOD_ModuleType
This enum describes the WiMOD module types.
Definition: WiMOD_SAP_DEVMGMT_IDs.h:184
LoRa4_SF7
Definition: WiMOD_SAP_DEVMGMT_IDs.h:265
TWiMODLR_DevMgmt_RtcAlarm
struct TWiMODLR_DevMgmt_RtcAlarm TWiMODLR_DevMgmt_RtcAlarm
Structure containing the RTC Alarm config parameters of the WiMOD.
TRadioCfg_Modulation
TRadioCfg_Modulation
Modulation technique supported by the WiMOD (only for LR-BASE)
Definition: WiMOD_SAP_DEVMGMT_IDs.h:240
TWiMODLR_DevMgmt_DevInfo
struct TWiMODLR_DevMgmt_DevInfo TWiMODLR_DevMgmt_DevInfo
Structure containing basic information about the WiMOD device.
TxPowerLevel_12_dBm
Definition: WiMOD_SAP_DEVMGMT_IDs.h:300
TWiMODLR_DevMgmt_DevInfo::ModuleType
UINT8 ModuleType
Definition: WiMOD_SAP_DEVMGMT_IDs.h:159
PowerSaving_On
Definition: WiMOD_SAP_DEVMGMT_IDs.h:370
TWiMODLR_DevMgmt_SystemStatus::RxAddressMatch
UINT32 RxAddressMatch
Definition: WiMOD_SAP_DEVMGMT_IDs.h:218
TWiMODLR_DevMgmt_SystemStatus::TxError
UINT32 TxError
Definition: WiMOD_SAP_DEVMGMT_IDs.h:221
TxPowerLevel_15_dBm
Definition: WiMOD_SAP_DEVMGMT_IDs.h:303
TWiMODLR_DevMgmt_RadioConfig::RfFreq_LSB
UINT8 RfFreq_LSB
Definition: WiMOD_SAP_DEVMGMT_IDs.h:390
TWiMODLR_DevMgmt_FwInfo::Status
UINT8 Status
Definition: WiMOD_SAP_DEVMGMT_IDs.h:196
TRadioCfg_RadioMode
TRadioCfg_RadioMode
general operation mode of the radio part (only for LR-BASE)
Definition: WiMOD_SAP_DEVMGMT_IDs.h:229
ErrorCoding3_4_7
Definition: WiMOD_SAP_DEVMGMT_IDs.h:284
TWiMODLR_DevMgmt_DevInfo::Status
UINT8 Status
Definition: WiMOD_SAP_DEVMGMT_IDs.h:158
TWiMODLR_DevMgmt_SystemStatus
struct TWiMODLR_DevMgmt_SystemStatus TWiMODLR_DevMgmt_SystemStatus
Basic information about system status of the WiMOD.
TxPowerLevel_10_dBm
Definition: WiMOD_SAP_DEVMGMT_IDs.h:298
RTC_Alarm_DailyRepeated
Definition: WiMOD_SAP_DEVMGMT_IDs.h:446
TxPowerLevel_11_dBm
Definition: WiMOD_SAP_DEVMGMT_IDs.h:299
Modulation_FSK
Definition: WiMOD_SAP_DEVMGMT_IDs.h:243
TWiMODLR_DevMgmt_FwInfo::FirmwareMayorVersion
UINT8 FirmwareMayorVersion
Definition: WiMOD_SAP_DEVMGMT_IDs.h:198
TWiMODLR_DevMgmt_RadioConfig::LoRaSpreadingFactor
TRadioCfg_LoRaSpreadingFactor LoRaSpreadingFactor
Definition: WiMOD_SAP_DEVMGMT_IDs.h:394
TWiMODLR_DevMgmt_RadioConfig::GroupAddress
UINT8 GroupAddress
Definition: WiMOD_SAP_DEVMGMT_IDs.h:385
TxPowerLevel_16_dBm
Definition: WiMOD_SAP_DEVMGMT_IDs.h:304
TxPowerLevel_7_dBm
Definition: WiMOD_SAP_DEVMGMT_IDs.h:295
TWiMODLR_DevMgmt_RadioConfig::StoreNwmFlag
UINT8 StoreNwmFlag
Definition: WiMOD_SAP_DEVMGMT_IDs.h:382
RTC_Alarm_No_Alarm_Set
Definition: WiMOD_SAP_DEVMGMT_IDs.h:429
TWiMODLR_DevMgmt_RadioConfig::FskDatarate
TRadioCfg_FskDatarate FskDatarate
Definition: WiMOD_SAP_DEVMGMT_IDs.h:402
TRadioCfg_ErrorCoding
TRadioCfg_ErrorCoding
ErrorCoding settings (for LoRa modulation) (only for LR-BASE)
Definition: WiMOD_SAP_DEVMGMT_IDs.h:279
OperationMode_Application
Definition: WiMOD_SAP_DEVMGMT_IDs.h:412
TWiMODLR_DevMgmt_SystemStatus::BatteryStatus
UINT16 BatteryStatus
Definition: WiMOD_SAP_DEVMGMT_IDs.h:215
TWiMODLR_DevMgmt_SystemStatus::SysTickCounter
UINT32 SysTickCounter
Definition: WiMOD_SAP_DEVMGMT_IDs.h:212
TWiMOD_OperationMode
TWiMOD_OperationMode
This enum describes the possible operation modes of the WiMOD (only for LR-BASE). ...
Definition: WiMOD_SAP_DEVMGMT_IDs.h:410
TWiMODLR_DevMgmt_RadioConfig::DeviceAddress
UINT16 DeviceAddress
Definition: WiMOD_SAP_DEVMGMT_IDs.h:387
TWiMODLR_DevMgmt_SystemStatus::Status
UINT8 Status
Definition: WiMOD_SAP_DEVMGMT_IDs.h:210
RTC_Alarm_Alarm_Set
Definition: WiMOD_SAP_DEVMGMT_IDs.h:430
TWiMODLR_DevMgmt_SystemStatus::NvmStatus
UINT16 NvmStatus
Definition: WiMOD_SAP_DEVMGMT_IDs.h:214
TWiMODLR_DevMgmt_RadioConfig::Status
UINT8 Status
Definition: WiMOD_SAP_DEVMGMT_IDs.h:379
TxPowerLevel_14_dBm
Definition: WiMOD_SAP_DEVMGMT_IDs.h:302
TWiMODLR_DevMgmt_RadioConfig
struct TWiMODLR_DevMgmt_RadioConfig TWiMODLR_DevMgmt_RadioConfig
Structure containing the radio (stack) config parameters of the WiMOD (only for LR-BASE) ...
TWiMODLR_DevMgmt_SystemStatus::RxPackets
UINT32 RxPackets
Definition: WiMOD_SAP_DEVMGMT_IDs.h:217
TWiMODLR_DevMgmt_FwInfo
struct TWiMODLR_DevMgmt_FwInfo TWiMODLR_DevMgmt_FwInfo
Basic information about the current firmware of the WiMOD.
TxPowerLevel_17_dBm
Definition: WiMOD_SAP_DEVMGMT_IDs.h:305
TWiMODLR_DevMgmt_RadioConfig
Structure containing the radio (stack) config parameters of the WiMOD (only for LR-BASE) ...
Definition: WiMOD_SAP_DEVMGMT_IDs.h:376
OperationMode_Test
Definition: WiMOD_SAP_DEVMGMT_IDs.h:413
LoRa1_SF7
Definition: WiMOD_SAP_DEVMGMT_IDs.h:262
TRadioCfg_PowerLevel
enum TRadioCdf_TxPowerLevel TRadioCfg_PowerLevel
TxPowerLevel settings (only for LR-BASE)
ModuleType_iM880B
Definition: WiMOD_SAP_DEVMGMT_IDs.h:186
LoRa8_SF8
Definition: WiMOD_SAP_DEVMGMT_IDs.h:269
TWiMODLR_DevMgmt_RtcAlarm
Structure containing the RTC Alarm config parameters of the WiMOD.
Definition: WiMOD_SAP_DEVMGMT_IDs.h:452
LoRa5_SF7
Definition: WiMOD_SAP_DEVMGMT_IDs.h:266
TWiMODLR_DevMgmt_FwInfo
Basic information about the current firmware of the WiMOD.
Definition: WiMOD_SAP_DEVMGMT_IDs.h:194
ErrorCoding0_4_5
Definition: WiMOD_SAP_DEVMGMT_IDs.h:281
TWiMODLR_DevMgmt_RadioConfig::PowerSavingMode
TRadioCfg_PowerSavingMode PowerSavingMode
Definition: WiMOD_SAP_DEVMGMT_IDs.h:403
ErrorCoding4_4_8
Definition: WiMOD_SAP_DEVMGMT_IDs.h:285
RadioMode_Echo
Definition: WiMOD_SAP_DEVMGMT_IDs.h:232
TWiMODLR_DevMgmt_RtcAlarm::Hour
UINT8 Hour
Definition: WiMOD_SAP_DEVMGMT_IDs.h:456
TxPowerLevel_20_dBm
Definition: WiMOD_SAP_DEVMGMT_IDs.h:308
LoRa3_SF7
Definition: WiMOD_SAP_DEVMGMT_IDs.h:264
TRadioCfg_FskDatarate
TRadioCfg_FskDatarate
Settings for the FSK data rate (only for LR-BASE)
Definition: WiMOD_SAP_DEVMGMT_IDs.h:349
TWiMODLR_DevMgmt_RadioConfig::MiscOptions
UINT8 MiscOptions
Definition: WiMOD_SAP_DEVMGMT_IDs.h:401
TWiMODLR_DevMgmt_SystemStatus::RtcTime
UINT32 RtcTime
Definition: WiMOD_SAP_DEVMGMT_IDs.h:213
TWiMODLR_DevMgmt_RadioConfig::Modulation
TRadioCfg_Modulation Modulation
Definition: WiMOD_SAP_DEVMGMT_IDs.h:389
TWiMODLR_DevMgmt_DevInfo::DevID
UINT32 DevID
Definition: WiMOD_SAP_DEVMGMT_IDs.h:162
LoRa10_SF10
Definition: WiMOD_SAP_DEVMGMT_IDs.h:271
LoRa11_SF11
Definition: WiMOD_SAP_DEVMGMT_IDs.h:272
TxPowerLevel_5_dBm
Definition: WiMOD_SAP_DEVMGMT_IDs.h:293
RxCtrl_Receiver_Off
Definition: WiMOD_SAP_DEVMGMT_IDs.h:323
LoRa12_S12
Definition: WiMOD_SAP_DEVMGMT_IDs.h:273
TWiMODLR_DevMgmt_SystemStatus::RxCRCError
UINT32 RxCRCError
Definition: WiMOD_SAP_DEVMGMT_IDs.h:219
TWiMODLR_DevMgmt_RadioConfig::RadioMode
TRadioCfg_RadioMode RadioMode
Definition: WiMOD_SAP_DEVMGMT_IDs.h:384
TxPowerLevel_13_dBm
Definition: WiMOD_SAP_DEVMGMT_IDs.h:301
TWiMOD_RtcAlarmType
TWiMOD_RtcAlarmType
This enum describes the possible RTC alarm types.
Definition: WiMOD_SAP_DEVMGMT_IDs.h:443
TWiMODLR_DevMgmt_FwInfo::FirmwareMinorVersion
UINT8 FirmwareMinorVersion
Definition: WiMOD_SAP_DEVMGMT_IDs.h:197
TWiMODLR_DevMgmt_RadioConfig::LoRaBandWidth
TRadioCfg_LoRaBandwidth LoRaBandWidth
Definition: WiMOD_SAP_DEVMGMT_IDs.h:393
TxPowerLevel_6_dBm
Definition: WiMOD_SAP_DEVMGMT_IDs.h:294
TRadioCdf_TxPowerLevel
TRadioCdf_TxPowerLevel
TxPowerLevel settings (only for LR-BASE)
Definition: WiMOD_SAP_DEVMGMT_IDs.h:291
TWiMODLR_DevMgmt_RadioConfig::RfFreq_MID
UINT8 RfFreq_MID
Definition: WiMOD_SAP_DEVMGMT_IDs.h:391
ErrorCoding2_4_6
Definition: WiMOD_SAP_DEVMGMT_IDs.h:283
TWiMODLR_DevMgmt_DevInfo::DevAdr
UINT16 DevAdr
Definition: WiMOD_SAP_DEVMGMT_IDs.h:160
TRadioCfg_RxControl
TRadioCfg_RxControl
RX Operation modes (only for LR-BASE)
Definition: WiMOD_SAP_DEVMGMT_IDs.h:321
TWiMODLR_DevMgmt_DevInfo::GroupAdr
UINT8 GroupAdr
Definition: WiMOD_SAP_DEVMGMT_IDs.h:161
TRadioCfg_LoRaBandwidth
TRadioCfg_LoRaBandwidth
Bandwidth settings for the LoRa modulation (only for LR-BASE)
Definition: WiMOD_SAP_DEVMGMT_IDs.h:249
LoRaBandwith_500kHz
Definition: WiMOD_SAP_DEVMGMT_IDs.h:253
TWiMODLR_DevMgmt_DevInfo
Structure containing basic information about the WiMOD device.
Definition: WiMOD_SAP_DEVMGMT_IDs.h:156
LoRa7_SF7
Definition: WiMOD_SAP_DEVMGMT_IDs.h:268
TWiMODLR_DevMgmt_RtcAlarm::Seconds
UINT8 Seconds
Definition: WiMOD_SAP_DEVMGMT_IDs.h:458
TxPowerLevel_18_dBm
Definition: WiMOD_SAP_DEVMGMT_IDs.h:306
LoRa9_SF9
Definition: WiMOD_SAP_DEVMGMT_IDs.h:270
TWiMODLR_DevMgmt_RadioConfig::TxControl
UINT8 TxControl
Definition: WiMOD_SAP_DEVMGMT_IDs.h:397
TWiMODLR_DevMgmt_RadioConfig::LbtThreshold
INT16 LbtThreshold
Definition: WiMOD_SAP_DEVMGMT_IDs.h:404
LoRa2_SF7
Definition: WiMOD_SAP_DEVMGMT_IDs.h:263
ErrorCoding1_4_5
Definition: WiMOD_SAP_DEVMGMT_IDs.h:282
TxPowerLevel_9_dBm
Definition: WiMOD_SAP_DEVMGMT_IDs.h:297
FskDatarate_250kbps
Definition: WiMOD_SAP_DEVMGMT_IDs.h:353
RxCtrl_Receiver_RxWindowed
Definition: WiMOD_SAP_DEVMGMT_IDs.h:325
TRadioCfg_LoRaSpreadingFactor
TRadioCfg_LoRaSpreadingFactor
SpreadingFactors for LoRa modulation (only for LR-BASE)
Definition: WiMOD_SAP_DEVMGMT_IDs.h:259
FskDatarate_100kbps
Definition: WiMOD_SAP_DEVMGMT_IDs.h:352
TWiMODLR_DevMgmt_SystemStatus::SysTickResolution
UINT8 SysTickResolution
Definition: WiMOD_SAP_DEVMGMT_IDs.h:211
RxCtrl_Receiver_AlwaysOn
Definition: WiMOD_SAP_DEVMGMT_IDs.h:324
TWiMODLR_DevMgmt_RadioConfig::RfFreq_MSB
UINT8 RfFreq_MSB
Definition: WiMOD_SAP_DEVMGMT_IDs.h:392
LoRaBandwith_125kHz
Definition: WiMOD_SAP_DEVMGMT_IDs.h:251
TRadioCfg_PowerSavingMode
TRadioCfg_PowerSavingMode
Settings general PowerSaving mode (aka. Sleep mode)
Definition: WiMOD_SAP_DEVMGMT_IDs.h:367
TWiMODLR_DevMgmt_RadioConfig::TxGroupAddress
UINT8 TxGroupAddress
Definition: WiMOD_SAP_DEVMGMT_IDs.h:386
TxPowerLevel_19_dBm
Definition: WiMOD_SAP_DEVMGMT_IDs.h:307
TWiMODLR_DevMgmt_RadioConfig::PowerLevel
TRadioCfg_PowerLevel PowerLevel
Definition: WiMOD_SAP_DEVMGMT_IDs.h:396
Modulation_LoRa
Definition: WiMOD_SAP_DEVMGMT_IDs.h:242
RadioMode_Standard
Definition: WiMOD_SAP_DEVMGMT_IDs.h:231
TWiMODLR_DevMgmt_SystemStatus::ExtraStatus
UINT16 ExtraStatus
Definition: WiMOD_SAP_DEVMGMT_IDs.h:216
PowerSaving_Off
Definition: WiMOD_SAP_DEVMGMT_IDs.h:369
TWiMODLR_DevMgmt_SystemStatus::TxMediaBusyEvents
UINT32 TxMediaBusyEvents
Definition: WiMOD_SAP_DEVMGMT_IDs.h:222
TWiMODLR_DevMgmt_SystemStatus::TxPackets
UINT32 TxPackets
Definition: WiMOD_SAP_DEVMGMT_IDs.h:220
TWiMOD_RtcAlarmStatus
TWiMOD_RtcAlarmStatus
This enum describes the possible RTC alarm status types.
Definition: WiMOD_SAP_DEVMGMT_IDs.h:427
TWiMODLR_DevMgmt_RadioConfig::RxControl
TRadioCfg_RxControl RxControl
Definition: WiMOD_SAP_DEVMGMT_IDs.h:398
FskDatarate_50kbps
Definition: WiMOD_SAP_DEVMGMT_IDs.h:351
RadioMode_Sniffer
Definition: WiMOD_SAP_DEVMGMT_IDs.h:233
TxPowerLevel_8_dBm
Definition: WiMOD_SAP_DEVMGMT_IDs.h:296