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

WiMOD_SAP_RemoteCtrl_IDs.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
31 //------------------------------------------------------------------------------
32
33
34 #ifndef ARDUINO_SAP_WIMOD_SAP_REMOTECTRL_IDS_H_
35 #define ARDUINO_SAP_WIMOD_SAP_REMOTECTRL_IDS_H_
36
37 //------------------------------------------------------------------------------
38 //
39 // Section Includes Files
40 //
41 //------------------------------------------------------------------------------
42
43 #include "utils/WMDefs.h"
44
45 //------------------------------------------------------------------------------
46 //
47 // Service Access Point Identifier
48 //
49 //------------------------------------------------------------------------------
50
52 #define REMOTECTRL_SAP_ID 0x04
54
56
57
58 //------------------------------------------------------------------------------
59 //
60 // Radio Link Services Identifier
61 //
62 //------------------------------------------------------------------------------
64 #define REMOTE_CTRL_MSG_BUTTON_PRESSED_ID 0x02
65
67
68 //------------------------------------------------------------------------------
69 //
70 // Misc. Defines
71 //
72 //------------------------------------------------------------------------------
73 #define REMOTE_CTRL_BUTTON_ONE BV(0)
74 #define REMOTE_CTRL_BUTTON_TWO BV(1)
75 #define REMOTE_CTRL_BUTTON_THREE BV(2)
77 //------------------------------------------------------------------------------
78 //
79 // structures
80 //
81 //------------------------------------------------------------------------------
82
86 typedef struct TWiMODLR_RemoteCtrl_BtnPressed
87 {
88 // only for RX
89 UINT8 StatusFormat;
91 UINT8 DestinationGroupAddress;
92 UINT16 DestinationDeviceAddress;
94 UINT8 SourceGroupAddress;
95 UINT16 SourceDeviceAddress;
97 UINT8 ButtonBitmap;
98 } TWiMODLR_RemoteCtrl_BtnPressed;
99
100
101
102 #endif /* ARDUINO_SAP_WIMOD_SAP_REMOTECTRL_IDS_H_ */
TWiMODLR_RemoteCtrl_BtnPressed::SourceDeviceAddress
UINT16 SourceDeviceAddress
Definition: WiMOD_SAP_RemoteCtrl_IDs.h:95
TWiMODLR_RemoteCtrl_BtnPressed::SourceGroupAddress
UINT8 SourceGroupAddress
Definition: WiMOD_SAP_RemoteCtrl_IDs.h:94
TWiMODLR_RemoteCtrl_BtnPressed::StatusFormat
UINT8 StatusFormat
Definition: WiMOD_SAP_RemoteCtrl_IDs.h:89
TWiMODLR_RemoteCtrl_BtnPressed::ButtonBitmap
UINT8 ButtonBitmap
Definition: WiMOD_SAP_RemoteCtrl_IDs.h:97
TWiMODLR_RemoteCtrl_BtnPressed::DestinationGroupAddress
UINT8 DestinationGroupAddress
Definition: WiMOD_SAP_RemoteCtrl_IDs.h:91
TWiMODLR_RemoteCtrl_BtnPressed
Structure containing a general RadioLink HCI message.
Definition: WiMOD_SAP_RemoteCtrl_IDs.h:86
TWiMODLR_RemoteCtrl_BtnPressed
struct TWiMODLR_RemoteCtrl_BtnPressed TWiMODLR_RemoteCtrl_BtnPressed
Structure containing a general RadioLink HCI message.
TWiMODLR_RemoteCtrl_BtnPressed::DestinationDeviceAddress
UINT16 DestinationDeviceAddress
Definition: WiMOD_SAP_RemoteCtrl_IDs.h:92