Macros

#define THSCPS_CONNECTION_MAX   10
 
#define THSCPS_CTRL_PT_VAL_LEN   20
 
#define THSCPS_TEST_SETTING_VAL_LEN   20
 
#define THSCPS_TEST_INFO_VAL_LEN   20
 
#define THSCPS_CONN_INFO_VAL_LEN   20
 
#define THSCPS_SERVICE_UUID
 
#define THSCPS_ACTION_ON   0x01
 
#define THSCPS_ACTION_OFF   0x00
 
#define THSCPS_CTRL_PT_RSP_CODE   0xff
 

Detailed Description

Macro Definition Documentation

◆ THSCPS_ACTION_OFF

#define THSCPS_ACTION_OFF   0x00

Stop the action.

Definition at line 76 of file thscps.h.

◆ THSCPS_ACTION_ON

#define THSCPS_ACTION_ON   0x01

Start the action.

Definition at line 75 of file thscps.h.

◆ THSCPS_CONN_INFO_VAL_LEN

#define THSCPS_CONN_INFO_VAL_LEN   20

Length of the value of Connection Information characteristic.

Definition at line 72 of file thscps.h.

◆ THSCPS_CONNECTION_MAX

#define THSCPS_CONNECTION_MAX   10

Maximum number of THSCPS connections.

Definition at line 68 of file thscps.h.

◆ THSCPS_CTRL_PT_RSP_CODE

#define THSCPS_CTRL_PT_RSP_CODE   0xff

Response code.

Definition at line 77 of file thscps.h.

◆ THSCPS_CTRL_PT_VAL_LEN

#define THSCPS_CTRL_PT_VAL_LEN   20

Length of the value of Control Point characteristic.

Definition at line 69 of file thscps.h.

◆ THSCPS_SERVICE_UUID

#define THSCPS_SERVICE_UUID
Value:
0x1B, 0xD7, 0x90, 0xEC, 0xE8, 0xB9, 0x75, 0x80,\
0x0A, 0x46, 0x44, 0xD3, 0x01, 0x07, 0xED, 0xA6

The UUID of THS Control Point Control Point Service for setting advertising data.

Definition at line 74 of file thscps.h.

◆ THSCPS_TEST_INFO_VAL_LEN

#define THSCPS_TEST_INFO_VAL_LEN   20

Length of the value of Test Information characteristic.

Definition at line 71 of file thscps.h.

◆ THSCPS_TEST_SETTING_VAL_LEN

#define THSCPS_TEST_SETTING_VAL_LEN   20

Length of the value of Test Setting characteristic.

Definition at line 70 of file thscps.h.