Go to the documentation of this file.
62 #include "custom_config.h"
70 #define HRRCPS_CONNECTION_MAX 10
71 #define HRRCPS_CTRL_PT_VAL_LEN 2
72 #define HRRCPS_CTRL_PT_RSP_VAL_LEN 4
73 #define HRRCPS_SERVICE_UUID 0x1B, 0xD7, 0x90, 0xEC, 0xE8, 0xB9, 0x75, 0x80,\
74 0x0A, 0x46, 0x44, 0xD3, 0x01, 0x06, 0xED, 0xA6
@ HRRCPS_CTRL_PT_HRS_NTF_ENABLE
hrrcps_rsp_id_t
HRS RSCS Relay Control Point Service Response IDs of Control Point.
@ HRRCPS_CTRL_PT_SCAN_RSCS
@ HRRCPS_EVT_DISABLE_RSCS_NTF
HRS RSCS Relay Control Point Response value.
@ HRRCPS_CTRL_PT_RSCS_NTF_DISABLE
@ HRRCPS_EVT_DISCONN_RSCS_LINK
@ HRRCPS_CTRL_PT_HRS_SEN_LOC_READ
@ HRRCPS_EVT_ENABLE_HRS_NTF
@ HRRCPS_CTRL_PT_HRS_CONN_STA_REPORT
sdk_err_t hrrcps_ctrl_pt_rsp_send(uint8_t conn_idx, hrrcps_rsp_val_t *p_rsp_val)
Send Control Point Response if its indicaiton has been enabled.
hrrcps_ctrl_pt_id_t cmd_id
@ HRRCPS_CTRL_PT_RSCS_SEN_LOC_READ
@ HRRCPS_EVT_CTRL_PT_IND_ENABLE
hrrcps_evt_type_t
HRS RSCS Relay Control Point Service event type.
@ HRRCPS_EVT_HRS_SENSOR_LOC_READ
@ HRRCPS_EVT_RSCS_SENSOR_LOC_READ
@ HRRCPS_CTRL_PT_RSCS_DISCONN
hrrcps_ctrl_pt_id_t
HRS RSCS Relay Control Point Service Control Point IDs.
sdk_err_t hrrcps_service_init(hrrcps_evt_handler_t evt_handler)
Initialize an Alert Notification Service instance and add in the DB.
Profile/Service Common Types.
uint16_t sdk_err_t
SDK API result type.
@ HRRCPS_CTRL_PT_SCAN_HRS
@ HRRCPS_EVT_DISCONN_HRS_LINK
@ HRRCPS_CTRL_PT_RSP_CODE
hrrcps_evt_type_t evt_type
@ HRRCPS_CTRL_PT_HRS_DISCONN
@ HRRCPS_CTRL_PT_RSCS_CONN_STA_REPORT
void(* hrrcps_evt_handler_t)(hrrcps_evt_t *p_evt)
HRS RSCS Relay Control Point Service event handler type.
@ HRRCPS_EVT_ENABLE_RSCS_NTF
@ HRRCPS_CTRL_PT_RSCS_NTF_ENABLE
@ HRRCPS_EVT_CTRL_PT_IND_DISABLE
@ HRRCPS_EVT_DISABLE_HRS_NTF
@ HRRCPS_CTRL_PT_HRS_NTF_DISABLE
HRS RSCS Relay Control Point Service event.