Home
last modified time | relevance | path

Searched refs:device_index (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.5.0/components/esp_hid/src/
Dble_hidd.c258 static esp_err_t create_hid_db(esp_ble_hidd_dev_t *dev, int device_index) in create_hid_db() argument
261 for (uint8_t i = 0; i < dev->devices[device_index].reports_len; i++) { in create_hid_db()
262 if (dev->devices[device_index].reports[i].report_type == ESP_HID_REPORT_TYPE_INPUT) { in create_hid_db()
267 if (dev->devices[device_index].reports[i].protocol_mode == ESP_HID_PROTOCOL_MODE_REPORT) { in create_hid_db()
291 …, HIDD_LE_REPORT_MAP_MAX_LEN, dev->devices[device_index].reports_map.len, (uint8_t *)dev->devices[ in create_hid_db()
296 for (uint8_t i = 0; i < dev->devices[device_index].reports_len; i++) { in create_hid_db()
297 hidd_le_report_item_t *report = &dev->devices[device_index].reports[i]; in create_hid_db()
335 …p_ble_gatts_create_attr_tab(_last_db, dev->devices[device_index].hid_svc.gatt_if, index, device_in… in create_hid_db()
445 static void hid_event_handler(esp_ble_hidd_dev_t *dev, int device_index, esp_gatts_cb_event_t event… in hid_event_handler() argument
449 ESP_LOGV(TAG, "HID REG[%d] App ID: 0x%x", device_index, param->reg.app_id); in hid_event_handler()
[all …]