Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/esp_hid/src/
Dbt_hidd.c87 … if (config->report_maps == NULL || config->report_maps_len == 0 || config->report_maps_len > 1) { in bt_hidd_init_config()
105 if (config->report_maps_len) { in bt_hidd_init_config()
106 dev->devices = (hidd_dev_map_t *)malloc(config->report_maps_len * sizeof(hidd_dev_map_t)); in bt_hidd_init_config()
108 ESP_LOGE(TAG, "devices malloc(%d) failed", config->report_maps_len); in bt_hidd_init_config()
111 memset(dev->devices, 0, config->report_maps_len * sizeof(hidd_dev_map_t)); in bt_hidd_init_config()
112 dev->devices_len = config->report_maps_len; in bt_hidd_init_config()
Dble_hidh.c109 ESP_LOGD(TAG, "Found %u HID Services", dev->config.report_maps_len); in read_device_services()
110 …dev->config.report_maps = (esp_hid_raw_report_map_t *)malloc(dev->config.report_maps_len * sizeof(… in read_device_services()
252 for (uint8_t d = 0; d < dev->config.report_maps_len; d++) { in read_device_services()
378 dev->config.report_maps_len++; in esp_hidh_gattc_event_handler()
609 fprintf(fp, "Report Maps: %d\n", dev->config.report_maps_len); in esp_ble_hidh_dev_dump()
610 for (uint8_t d = 0; d < dev->config.report_maps_len; d++) { in esp_ble_hidh_dev_dump()
Dble_hidd.c674 if (config->report_maps_len) { in ble_hid_init_config()
675 dev->devices = (hidd_dev_map_t *)malloc(config->report_maps_len * sizeof(hidd_dev_map_t)); in ble_hid_init_config()
677 ESP_LOGE(TAG, "devices malloc(%d) failed", config->report_maps_len); in ble_hid_init_config()
680 memset(dev->devices, 0, config->report_maps_len * sizeof(hidd_dev_map_t)); in ble_hid_init_config()
681 dev->devices_len = config->report_maps_len; in ble_hid_init_config()
Desp_hidh.c503 *num_maps = dev->config.report_maps_len; in esp_hidh_dev_report_maps_get()
659 for (uint8_t d = 0; d < dev->config.report_maps_len; d++) { in esp_hidh_dev_resources_free()
Dbt_hidh.c334 dev->config.report_maps_len = 1; in esp_hh_cb()
336 …(esp_hid_raw_report_map_t *)malloc(dev->config.report_maps_len * sizeof(esp_hid_raw_report_map_t)); in esp_hh_cb()
/hal_espressif-3.6.0/examples/bluetooth/esp_hid_device/main/
Desp_hid_device_main.c145 .report_maps_len = 2
435 .report_maps_len = 1
/hal_espressif-3.6.0/components/esp_hid/include/
Desp_hid_common.h185 uint8_t report_maps_len; /*!< number of raw report maps in the array */ member