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

- Main Page
- Classes
- Files

- File List
- File Members

WiMOD_SAP_HWTest_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 #if 0 /* This should not part of the normal production code */
42
43 #ifndef ARDUINO_SAP_WIMOD_SAP_HWTEST_IDS_H_
44 #define ARDUINO_SAP_WIMOD_SAP_HWTEST_IDS_H_
45
46 #include "WiMOD_SAP_DEVMGMT_IDs.h"
47
48 //------------------------------------------------------------------------------
49 //
50 // Service Access Point Identifier
51 //
52 //------------------------------------------------------------------------------
53
55 #define HWTEST_SAP_ID 0xA1
56
57
58
59 //------------------------------------------------------------------------------
60 //
61 // Hardware Test Message Identifier
62 //
63 //------------------------------------------------------------------------------
64
65 #define HWTEST_MSG_RADIO_TEST_REQ 0x01
66 #define HWTEST_MSG_RADIO_TEST_RSP 0x02
67
68
69
70 //------------------------------------------------------------------------------
71 //
72 // enums
73 //
74 //------------------------------------------------------------------------------
75
79 typedef enum TWiMODLRRadioTestMode
80 {
81 RadioTestMode_Off = 0x00,
82 RadioTestMode_CW,
84 } TWiMODLRRadioTestMode;
85
86
87 //------------------------------------------------------------------------------
88 //
89 // structures
90 //
91 //------------------------------------------------------------------------------
92
96 typedef struct TWiMODLR_HWTestParameter
97 {
98 TWiMODLRRadioTestMode TestMode;
99 TRadioCfg_PowerLevel PowerLevel;
100 TRadioCfg_Modulation Modulation;
101 UINT8 RfFreq_LSB;
102 UINT8 RfFreq_MID;
103 UINT8 RfFreq_MSB;
104 TRadioCfg_LoRaBandwidth Bandwitdh;
105 TRadioCfg_LoRaSpreadingFactor SpreadingFactor;
106 TRadioCfg_ErrorCoding ErrorCoding;
107 } TWiMODLR_HWTestParameter;
108
109 #endif
110
111 #endif /* ARDUINO_SAP_WIMOD_SAP_HWTEST_IDS_H_ */
TRadioCfg_Modulation
TRadioCfg_Modulation
Modulation technique supported by the WiMOD (only for LR-BASE)
Definition: WiMOD_SAP_DEVMGMT_IDs.h:240
WiMOD_SAP_DEVMGMT_IDs.h
Supporting IDs and definitions for the DeviceManagement ServiceAccessPoint.
TRadioCfg_ErrorCoding
TRadioCfg_ErrorCoding
ErrorCoding settings (for LoRa modulation) (only for LR-BASE)
Definition: WiMOD_SAP_DEVMGMT_IDs.h:279
TRadioCfg_PowerLevel
enum TRadioCdf_TxPowerLevel TRadioCfg_PowerLevel
TxPowerLevel settings (only for LR-BASE)
TRadioCfg_LoRaBandwidth
TRadioCfg_LoRaBandwidth
Bandwidth settings for the LoRa modulation (only for LR-BASE)
Definition: WiMOD_SAP_DEVMGMT_IDs.h:249
TRadioCfg_LoRaSpreadingFactor
TRadioCfg_LoRaSpreadingFactor
SpreadingFactors for LoRa modulation (only for LR-BASE)
Definition: WiMOD_SAP_DEVMGMT_IDs.h:259