|
enum | ble_hog_evt_code { ,
HOGPBH_EVT_BOOT_REPORT_IND
, HOGPRH_EVT_REPORT_IND
, HOGPD_EVT_REPORT_REQ_IND,
HOGPD_EVT_PROTO_MODE_UPD_IND,
HOGPD_EVT_NTF_CFG_IND,
HOGPD_EVT_CNTL_PT_IND
} |
| Event code. More...
|
|
enum | ble_hogp_info_bit { BLE_HIDS_REMOTE_WAKE_CAPABLE = 0x01,
BLE_HIDS_NORM_CONNECTABLE = 0x02
} |
| HID Information bit values. More...
|
|
enum | ble_hogp_ctnl_pt { BLE_HOGP_CTNL_PT_SUSPEND = 0x00,
BLE_HOGP_CTNL_PT_EXIT_SUSPEND
} |
| HID Control Point Characteristic value keys. More...
|
|
enum | ble_hogp_boot_prot_mode { BLE_HOGP_BOOT_PROTOCOL_MODE = 0x00,
BLE_HOGP_REPORT_PROTOCOL_MODE
} |
| Protocol Mode Char. value Keys. More...
|
|
enum | ble_hogpbh_chars { BLE_HOGPBH_CHAR_PROTO_MODE,
BLE_HOGPBH_CHAR_BOOT_KB_IN_REPORT,
BLE_HOGPBH_CHAR_BOOT_KB_OUT_REPORT,
BLE_HOGPBH_CHAR_BOOT_MOUSE_IN_REPORT
} |
| HOGP Boot Host Characteristics. More...
|
|
enum | ble_hogpbh_descs { BLE_HOGPBH_DESC_BOOT_KB_IN_REPORT_CFG,
BLE_HOGPBH_DESC_BOOT_MOUSE_IN_REPORT_CFG
} |
| HOGP Boot Host Characteristic descriptors. More...
|
|
enum | ble_hogpbh_info {
BLE_HOGPBH_PROTO_MODE,
BLE_HOGPBH_BOOT_KB_IN_REPORT,
BLE_HOGPBH_BOOT_KB_OUT_REPORT,
BLE_HOGPBH_BOOT_MOUSE_IN_REPORT,
BLE_HOGPBH_BOOT_KB_IN_NTF_CFG,
BLE_HOGPBH_BOOT_MOUSE_IN_NTF_CFG
} |
| HOGP Boot Host Peer HID service info that can be read/write. More...
|
|
enum | ble_hogpd_cfg {
BLE_HOGPD_CFG_KEYBOARD = 0x01,
BLE_HOGPD_CFG_MOUSE = 0x02,
BLE_HOGPD_CFG_PROTO_MODE = 0x04,
BLE_HOGPD_CFG_MAP_EXT_REF = 0x08,
BLE_HOGPD_CFG_BOOT_KB_WR = 0x10,
BLE_HOGPD_CFG_BOOT_MOUSE_WR = 0x20,
BLE_HOGPD_CFG_MASK = 0x3F,
BLE_HOGPD_CFG_REPORT_NTF_EN = 0x40
} |
| HOGPD config. More...
|
|
enum | ble_hogpd_report_cfg { BLE_HOGPD_CFG_REPORT_IN = 0x01,
BLE_HOGPD_CFG_REPORT_OUT = 0x02,
BLE_HOGPD_CFG_REPORT_FEAT = 0x03,
BLE_HOGPD_CFG_REPORT_WR = 0x10
} |
| Report Char. Configuration Flag Values. More...
|
|
enum | ble_hogpd_report_type {
BLE_HOGPD_REPORT,
BLE_HOGPD_REPORT_MAP,
BLE_HOGPD_BOOT_KEYBOARD_INPUT_REPORT,
BLE_HOGPD_BOOT_KEYBOARD_OUTPUT_REPORT,
BLE_HOGPD_BOOT_MOUSE_INPUT_REPORT
} |
| Type of reports. More...
|
|
enum | ble_hogpd_op { BLE_HOGPD_OP_NO,
BLE_HOGPD_OP_REPORT_READ,
BLE_HOGPD_OP_REPORT_WRITE,
BLE_HOGPD_OP_PROT_UPDATE
} |
| type of operation requested by peer device More...
|
|
enum | ble_hogprh_chars {
BLE_HOGPRH_CHAR_REPORT_MAP,
BLE_HOGPRH_CHAR_HID_INFO,
BLE_HOGPRH_CHAR_HID_CTNL_PT,
BLE_HOGPRH_CHAR_PROTOCOL_MODE,
BLE_HOGPRH_CHAR_REPORT
} |
| HOG profile report host Characteristics. More...
|
|
enum | ble_hogprh_descs { BLE_HOGPRH_DESC_REPORT_MAP_EXT_REP_REF,
BLE_HOGPRH_DESC_REPORT_REF,
BLE_HOGPRH_DESC_REPORT_CFG = BLE_HOGPRH_DESC_REPORT_REF + BLE_HOGPRH_NB_REPORT_INST_MAX
} |
| Characteristic descriptors. More...
|
|
enum | ble_hogprh_info {
BLE_HOGPRH_PROTO_MODE,
BLE_HOGPRH_REPORT_MAP,
BLE_HOGPRH_REPORT_MAP_EXT_REP_REF,
BLE_HOGPRH_HID_INFO,
BLE_HOGPRH_HID_CTNL_PT,
BLE_HOGPRH_REPORT,
BLE_HOGPRH_REPORT_REF,
BLE_HOGPRH_REPORT_NTF_CFG
} |
| Peer HID service info that can be read/write. More...
|
|
|
int | in_ble_hogpbh_add (void *hdl, ble_hogp_prf_t *p_prf, comp_cb callback) |
| Add HOGPBH profile. More...
|
|
int | in_ble_hogpbh_enable (void *hdl, int conidx, int con_type, uint8_t hids_nb, ble_hogpbh_content_t cont[], comp_cb callback) |
| Enable HOGPBH profile. More...
|
|
int | in_ble_hogpbh_read_info_req (void *hdl, int conidx, int hid_idx, int info, ble_hogpbh_read_info_rsp_t *p_rsp, comp_cb callback) |
| Read peer info. More...
|
|
int | in_ble_hogpbh_write_req (void *hdl, int conidx, int hid_idx, int info, int wr_cmd, ble_hogpbh_data_t *p_data, comp_cb callback) |
| Write info to peer. More...
|
|
int | in_ble_hogpd_add (void *hdl, ble_hogp_prf_t *p_prf, comp_cb callback) |
| Add HOGPD profile. More...
|
|
int | in_ble_hogpd_enable (void *hdl, int conidx, uint16_t ntf_cfg[], comp_cb callback) |
| Enable HOGPBH profile. More...
|
|
int | in_ble_hogpd_report_upd_req (void *hdl, int conidx, ble_hogpd_report_info_t *p_info, comp_cb callback) |
| Request sending of a report to the host - notification. More...
|
|
int | in_ble_hogpd_report_req_cfm (void *hdl, int conidx, int operation, int status, ble_hogpd_report_info_t *p_info) |
| Confirmation for peer device for Reading or Updating a report value. More...
|
|
int | in_ble_hogpd_proto_mode_req_cfm (void *hdl, int conidx, int status, int hid_idx, int proto_mode) |
| Confirm if the new protocol mode value. More...
|
|
int | in_ble_hogprh_add (void *hdl, ble_hogp_prf_t *p_prf, comp_cb callback) |
| Add HOGPRH profile. More...
|
|
int | in_ble_hogprh_enable (void *hdl, int conidx, int con_type, int hids_nb, ble_hogprh_content_t cont[], comp_cb callback) |
| Enable HOGPRH profile. More...
|
|
int | in_ble_hogprh_read_info_req (void *hdl, int conidx, ble_hogprh_read_info_req_t *p_req, ble_hogprh_read_info_rsp_t *p_rsp, comp_cb callback) |
| Read peer info. More...
|
|
int | in_ble_hogprh_write_req (void *hdl, int conidx, ble_hogprh_write_req_t *p_req, comp_cb callback) |
| Write info to peer. More...
|
|
BLE HOG Profile.