 |
Demo HCI Implementation for WiMOD-LR Devices
V2.0.3
|
Go to the documentation of this file.
34 #ifndef ARDUINO_SAP_WIMOD_SAP_SENSORAPP_IDS_H_
35 #define ARDUINO_SAP_WIMOD_SAP_SENSORAPP_IDS_H_
43 #include "utils/WMDefs.h"
52 #define SENSORAPP_SAP_ID 0x05
61 #define SENSORAPP_MSG_SET_CONFIG_REQ 0x09
62 #define SENSORAPP_MSG_SET_CONFIG_RSP 0x0A
63 #define SENSORAPP_MSG_GET_CONFIG_REQ 0x0B
64 #define SENSORAPP_MSG_GET_CONFIG_RSP 0x0C
65 #define SENSORAPP_MSG_SEND_DATA_IND 0x06
66 #define SENSORAPP_MSG_ACK_IND 0x08
76 #define SENSORAPP_STATUS_OK 0x00
77 #define SENSORAPP_STATUS_ERROR 0x01
78 #define SENSORAPP_STATUS_WRONG_DEVICEMODE 0x04
80 // extended HCI format for optional fiels in the SensorApp
81 #define SENSORAPP_FORMAT_EXT_HCI_OUT_ACTIVE 0x01
83 //------------------------------------------------------------------------------
88 #define SENSORAPP_OPTION_SENSOR_ACK_MSG BV(0)
89 #define SENSORAPP_OPTION_ACK_MSG_HCI_OUTPUT BV(1)
90 #define SENSORAPP_OPTION_LINK_MON_SIGNAL_OUTPUT BV(2)
91 #define SENSORAPP_OPTION_PUSH_BUTTON_ONE BV(3)
94 #define SENSORAPP_DIGITAL_INPUT_ONE_SET BV(0)
95 #define SENSORAPP_DIGITAL_INPUT_TWO_SET BV(1)
96 #define SENSORAPP_DIGITAL_INPUT_THREE_SET BV(2)
97 //#define SENSORAPP_DIGITAL_INPUT_DIP_SW1_SET BV(3)
98 #define SENSORAPP_ANALOG_INPUT_ONE_SET BV(3)
101 //------------------------------------------------------------------------------
UINT8 StatusFormat
Definition: WiMOD_SAP_SensorApp_IDs.h:140
UINT16 AdcValue
Definition: WiMOD_SAP_SensorApp_IDs.h:147
UINT8 DigitalInputs
Definition: WiMOD_SAP_SensorApp_IDs.h:173
UINT16 DestDevAddress
Definition: WiMOD_SAP_SensorApp_IDs.h:169
UINT8 Temperature
Definition: WiMOD_SAP_SensorApp_IDs.h:148
UINT8 DestGroupAddress
Definition: WiMOD_SAP_SensorApp_IDs.h:168
UINT16 SourceDevAddress
Definition: WiMOD_SAP_SensorApp_IDs.h:144
UINT16 SourceDevAddress
Definition: WiMOD_SAP_SensorApp_IDs.h:171
Structure containing a general RadioLink HCI message.
Definition: WiMOD_SAP_SensorApp_IDs.h:121
Structure containing the data of an Ack of the SensorApp.
Definition: WiMOD_SAP_SensorApp_IDs.h:164
Structure containing SensorApp Data information.
Definition: WiMOD_SAP_SensorApp_IDs.h:137
TSensorApp_Mode
SensorApp Modes.
Definition: WiMOD_SAP_SensorApp_IDs.h:111
UINT16 DestDevAddress
Definition: WiMOD_SAP_SensorApp_IDs.h:142
TSensorApp_Mode Mode
Definition: WiMOD_SAP_SensorApp_IDs.h:126
UINT8 DigitalInputs
Definition: WiMOD_SAP_SensorApp_IDs.h:149
UINT32 RxTime
Definition: WiMOD_SAP_SensorApp_IDs.h:178
UINT8 SourceGroupAddress
Definition: WiMOD_SAP_SensorApp_IDs.h:170
struct TWiMODLR_SensorApp_SensorData TWiMODLR_SensorApp_SensorData
Structure containing SensorApp Data information.
@ SensorApp_Mode_SensorDataTransmitter
Definition: WiMOD_SAP_SensorApp_IDs.h:113
@ SensorApp_Mode_Off
Definition: WiMOD_SAP_SensorApp_IDs.h:112
UINT8 DestGroupAddress
Definition: WiMOD_SAP_SensorApp_IDs.h:141
INT16 RSSI
Definition: WiMOD_SAP_SensorApp_IDs.h:152
UINT16 Voltage
Definition: WiMOD_SAP_SensorApp_IDs.h:146
INT16 RSSI
Definition: WiMOD_SAP_SensorApp_IDs.h:176
UINT32 RxTime
Definition: WiMOD_SAP_SensorApp_IDs.h:154
UINT8 SourceGroupAddress
Definition: WiMOD_SAP_SensorApp_IDs.h:143
INT8 SNR
Definition: WiMOD_SAP_SensorApp_IDs.h:177
UINT8 StatusFormat
Definition: WiMOD_SAP_SensorApp_IDs.h:167
struct TWiMODLR_SensorApp_Config TWiMODLR_SensorApp_Config
Structure containing a general RadioLink HCI message.
UINT32 LinkTimeout
Definition: WiMOD_SAP_SensorApp_IDs.h:129
INT8 SNR
Definition: WiMOD_SAP_SensorApp_IDs.h:153
bool OptionalInfoAvaiable
Definition: WiMOD_SAP_SensorApp_IDs.h:157
bool OptionalInfoAvaiable
Definition: WiMOD_SAP_SensorApp_IDs.h:181
UINT8 Options
Definition: WiMOD_SAP_SensorApp_IDs.h:127
@ SensorApp_Mode_SensorDataReceiver
Definition: WiMOD_SAP_SensorApp_IDs.h:114
UINT32 SendingPeriod
Definition: WiMOD_SAP_SensorApp_IDs.h:128
UINT8 Status
Definition: WiMOD_SAP_SensorApp_IDs.h:124
struct TWiMODLR_SensorApp_AckSensorData TWiMODLR_SensorApp_AckSensorData
Structure containing the data of an Ack of the SensorApp.