Lines Matching refs:devices_len
166 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()
640 for (uint8_t d = 0; d < dev->devices_len; d++) { in ble_hid_stop_gatts()
681 dev->devices_len = config->report_maps_len; in ble_hid_init_config()
682 for (uint8_t d = 0; d < dev->devices_len; d++) { in ble_hid_init_config()
726 for (uint8_t d = 0; d < dev->devices_len; d++) { in ble_hid_free_config()
766 …_id >= ESP_GATT_UUID_HID_SVC && param->reg.app_id < (ESP_GATT_UUID_HID_SVC + s_dev->devices_len)) { in esp_hidd_gatts_event_handler()
857 if (index >= dev->devices_len) { in esp_ble_hidd_dev_input_set()
858 ESP_LOGE(TAG, "%s index out of range[0-%d]", __func__, dev->devices_len - 1); in esp_ble_hidd_dev_input_set()
889 if (index >= dev->devices_len) { in esp_ble_hidd_dev_feature_set()
890 ESP_LOGE(TAG, "%s index out of range[0-%d]", __func__, dev->devices_len - 1); in esp_ble_hidd_dev_feature_set()