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

Classes | Macros | Typedefs | Enumerations
WiMOD_SAP_SensorApp_IDs.h File Reference
`#include "utils/WMDefs.h"`
Include dependency graph for WiMOD_SAP_SensorApp_IDs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | TWiMODLR_SensorApp_Config
| Structure containing a general RadioLink HCI message. More...
struct | TWiMODLR_SensorApp_SensorData
| Structure containing SensorApp Data information. More...
struct | TWiMODLR_SensorApp_AckSensorData
| Structure containing the data of an Ack of the SensorApp. More...

## Macros
#define | SENSORAPP_SAP_ID 0x05
#define | SENSORAPP_STATUS_OK 0x00
#define | SENSORAPP_STATUS_ERROR 0x01
#define | SENSORAPP_STATUS_WRONG_DEVICEMODE 0x04
#define | SENSORAPP_FORMAT_EXT_HCI_OUT_ACTIVE 0x01
#define | SENSORAPP_OPTION_SENSOR_ACK_MSG BV(0)
#define | SENSORAPP_OPTION_ACK_MSG_HCI_OUTPUT BV(1)
#define | SENSORAPP_OPTION_LINK_MON_SIGNAL_OUTPUT BV(2)
#define | SENSORAPP_OPTION_PUSH_BUTTON_ONE BV(3)
#define | SENSORAPP_DIGITAL_INPUT_ONE_SET BV(0)
#define | SENSORAPP_DIGITAL_INPUT_TWO_SET BV(1)
#define | SENSORAPP_DIGITAL_INPUT_THREE_SET BV(2)
#define | SENSORAPP_ANALOG_INPUT_ONE_SET BV(3)

## Typedefs
typedef enum TSensorApp_Mode | TSensorApp_Mode
| SensorApp Modes.
typedef struct TWiMODLR_SensorApp_Config | TWiMODLR_SensorApp_Config
| Structure containing a general RadioLink HCI message.
typedef struct TWiMODLR_SensorApp_SensorData | TWiMODLR_SensorApp_SensorData
| Structure containing SensorApp Data information.
typedef struct TWiMODLR_SensorApp_AckSensorData | TWiMODLR_SensorApp_AckSensorData
| Structure containing the data of an Ack of the SensorApp.

## Enumerations
enum | TSensorApp_Mode { SensorApp_Mode_Off = 0, SensorApp_Mode_SensorDataTransmitter = 1, SensorApp_Mode_SensorDataReceiver = 2 }
| SensorApp Modes. More...

## Macro Definition Documentation

## ◆ SENSORAPP_ANALOG_INPUT_ONE_SET

#define SENSORAPP_ANALOG_INPUT_ONE_SET BV(3)

DipSwitch1 (of DemoBoard)

## ◆ SENSORAPP_DIGITAL_INPUT_ONE_SET

#define SENSORAPP_DIGITAL_INPUT_ONE_SET BV(0)

PushButton1 (of DemoBoard)

## ◆ SENSORAPP_DIGITAL_INPUT_THREE_SET

#define SENSORAPP_DIGITAL_INPUT_THREE_SET BV(2)

PushButton3 (of DemoBoard)

## ◆ SENSORAPP_DIGITAL_INPUT_TWO_SET

#define SENSORAPP_DIGITAL_INPUT_TWO_SET BV(1)

PushButton2 (of DemoBoard)

## ◆ SENSORAPP_FORMAT_EXT_HCI_OUT_ACTIVE

#define SENSORAPP_FORMAT_EXT_HCI_OUT_ACTIVE 0x01

extended HCI output format

## ◆ SENSORAPP_OPTION_ACK_MSG_HCI_OUTPUT

#define SENSORAPP_OPTION_ACK_MSG_HCI_OUTPUT BV(1)

send Ack

## ◆ SENSORAPP_OPTION_LINK_MON_SIGNAL_OUTPUT

#define SENSORAPP_OPTION_LINK_MON_SIGNAL_OUTPUT BV(2)

use Link Monitor feature

## ◆ SENSORAPP_OPTION_PUSH_BUTTON_ONE

#define SENSORAPP_OPTION_PUSH_BUTTON_ONE BV(3)

Push Button1 pressed (remoteDevice)

## ◆ SENSORAPP_OPTION_SENSOR_ACK_MSG

#define SENSORAPP_OPTION_SENSOR_ACK_MSG BV(0)

Option: Ack

## ◆ SENSORAPP_SAP_ID

#define SENSORAPP_SAP_ID 0x05

SAP ID for the RadioLink service

## ◆ SENSORAPP_STATUS_ERROR

#define SENSORAPP_STATUS_ERROR 0x01

generic error

## ◆ SENSORAPP_STATUS_OK

#define SENSORAPP_STATUS_OK 0x00

Ok, no error

## ◆ SENSORAPP_STATUS_WRONG_DEVICEMODE

#define SENSORAPP_STATUS_WRONG_DEVICEMODE 0x04

wrong device mode

## Enumeration Type Documentation

## ◆ TSensorApp_Mode

enum TSensorApp_Mode

SensorApp Modes.

Enumerator
SensorApp_Mode_Off | SensorApp of off / de-activated
SensorApp_Mode_SensorDataTransmitter | SensorApp is avtive and acts as Transmitter device
SensorApp_Mode_SensorDataReceiver | SensorApp is avtive and acts as Receiver device