Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/esp_hid/src/
Dble_hidd.c166 uint8_t devices_len; member
272 …)malloc(sizeof(esp_gatts_attr_db_t) * (HIDD_LE_IDX_NB + report_attr_len + (dev->devices_len * 3))); in create_hid_db()
356 for (uint8_t d = 0; d < dev->devices_len; d++) { in get_report_by_handle()
370 for (uint8_t d = 0; d < dev->devices_len; d++) { in get_report_by_id_and_type()
451 if (device_index == (dev->devices_len - 1)) { in hid_event_handler()
465 if ((device_index + 1) < dev->devices_len) { in hid_event_handler()
472 if (device_index == (dev->devices_len - 1)) { in hid_event_handler()
479 if (!dev->connected && device_index == (dev->devices_len - 1)) { in hid_event_handler()
607 for (uint8_t d = 0; d < dev->devices_len; d++) { in get_device_map_index_by_gatts_if()
627 for (uint8_t i = 0; i < dev->devices_len; i++) { in ble_hid_start_gatts()
[all …]
Dbt_hidd.c52 uint8_t devices_len; member
112 dev->devices_len = config->report_maps_len; in bt_hidd_init_config()
113 for (uint8_t d = 0; d < dev->devices_len; d++) { in bt_hidd_init_config()
158 if (index >= dev->devices_len) { in get_report_by_idx_id_type()
159 ESP_LOGE(TAG, "index out of range[0-%d]", dev->devices_len - 1); in get_report_by_idx_id_type()
174 for (uint8_t idx = 0; idx < dev->devices_len; idx++) { in get_report_by_id_and_type()
190 for (uint8_t d = 0; d < dev->devices_len; d++) { in bt_hid_free_config()
274 for (uint8_t d = 0; d < dev->devices_len; d++) { in get_value_len_by_type_protocol()