/hal_espressif-3.6.0/components/esp_hid/test/ |
D | test_esp_hid.c | 33 TEST_ASSERT(report_map->reports[0].report_id == 1); 34 TEST_ASSERT(report_map->reports[0].report_type == ESP_HID_REPORT_TYPE_INPUT); 35 TEST_ASSERT(report_map->reports[0].protocol_mode == ESP_HID_PROTOCOL_MODE_REPORT); 36 TEST_ASSERT(report_map->reports[0].usage == ESP_HID_USAGE_MOUSE); 37 TEST_ASSERT(report_map->reports[0].value_len == 4); 38 TEST_ASSERT(report_map->reports[1].report_id == 1); 39 TEST_ASSERT(report_map->reports[1].report_type == ESP_HID_REPORT_TYPE_INPUT); 40 TEST_ASSERT(report_map->reports[1].protocol_mode == ESP_HID_PROTOCOL_MODE_BOOT); 41 TEST_ASSERT(report_map->reports[1].usage == ESP_HID_USAGE_MOUSE); 42 TEST_ASSERT(report_map->reports[1].value_len == 3); [all …]
|
D | README.md | 12 …printf(" TEST_ASSERT(report_map->reports[%u].report_id == %u);\n", i, report_map->reports[i].re… 13 … TEST_ASSERT(report_map->reports[%u].report_type == ESP_HID_REPORT_TYPE_%s);\n", i, esp_hid_report… 14 …ST_ASSERT(report_map->reports[%u].protocol_mode == ESP_HID_PROTOCOL_MODE_%s);\n", i, esp_hid_proto… 15 …intf(" TEST_ASSERT(report_map->reports[%u].usage == ESP_HID_USAGE_%s);\n", i, esp_hid_usage_str… 16 …printf(" TEST_ASSERT(report_map->reports[%u].value_len == %u);\n", i, report_map->reports[i].va…
|
/hal_espressif-3.6.0/components/esp_hid/src/ |
D | bt_hidd.c | 37 hidd_report_item_t *reports; member 133 …dev->devices[d].reports = (hidd_report_item_t *)malloc(rmap->reports_len * sizeof(hidd_report_item… in bt_hidd_init_config() 134 if (dev->devices[d].reports == NULL) { in bt_hidd_init_config() 140 dev->devices[d].reports[r].map_index = d; in bt_hidd_init_config() 141 dev->devices[d].reports[r].report_id = rmap->reports[r].report_id; in bt_hidd_init_config() 142 dev->devices[d].reports[r].protocol_mode = rmap->reports[r].protocol_mode; in bt_hidd_init_config() 143 dev->devices[d].reports[r].report_type = rmap->reports[r].report_type; in bt_hidd_init_config() 144 dev->devices[d].reports[r].usage = rmap->reports[r].usage; in bt_hidd_init_config() 145 dev->devices[d].reports[r].value_len = rmap->reports[r].value_len; in bt_hidd_init_config() 147 free(rmap->reports); in bt_hidd_init_config() [all …]
|
D | esp_hidh.c | 454 …esp_hidh_dev_reports_get(esp_hidh_dev_t *dev, size_t *num_reports, esp_hid_report_item_t **reports) in esp_hidh_dev_reports_get() argument 471 esp_hidh_dev_report_t *dr = dev->reports; in esp_hidh_dev_reports_get() 488 *reports = r; in esp_hidh_dev_reports_get() 547 esp_hidh_dev_report_t *r = dev->reports; in esp_hidh_dev_get_report_by_handle() 559 esp_hidh_dev_report_t *r = dev->reports; in esp_hidh_dev_get_report_by_id_type_proto() 572 esp_hidh_dev_report_t *r = dev->reports; in esp_hidh_dev_get_report_by_id_and_type() 584 esp_hidh_dev_report_t *r = dev->reports; in esp_hidh_dev_get_input_report_by_id_and_proto() 596 esp_hidh_dev_report_t *r = dev->reports; in esp_hidh_dev_get_input_report_by_len_and_proto() 614 esp_hidh_dev_report_t *r = dev->reports; in esp_hidh_dev_get_input_report_by_proto_and_data() 632 r = dev->reports; in esp_hidh_dev_get_input_report_by_proto_and_data() [all …]
|
D | ble_hidd.c | 132 hidd_le_report_item_t *reports; member 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() 297 hidd_le_report_item_t *report = &dev->devices[device_index].reports[i]; in create_hid_db() 345 rpt = &dev->reports[i]; in link_report_handles() 358 rpt = &dev->devices[d].reports[i]; in get_report_by_handle() 372 rpt = &dev->devices[d].reports[i]; in get_report_by_id_and_type() 702 …dev->devices[d].reports = (hidd_le_report_item_t *)malloc(rmap->reports_len * sizeof(hidd_le_repor… in ble_hid_init_config() 703 if (dev->devices[d].reports == NULL) { in ble_hid_init_config() 709 dev->devices[d].reports[r].map_index = d; in ble_hid_init_config() [all …]
|
D | esp_hid_common.c | 28 esp_hid_report_item_t reports[64]; member 71 memcpy(&(map->reports[map->reports_len]), item, sizeof(esp_hid_report_item_t)); in add_report() 376 …esp_hid_report_item_t *reports = (esp_hid_report_item_t *)calloc(1, map->reports_len * sizeof(esp_… in esp_hid_parse_report_map() local 377 if (reports == NULL) { in esp_hid_parse_report_map() 405 memcpy(reports, map->reports, map->reports_len * sizeof(esp_hid_report_item_t)); in esp_hid_parse_report_map() 406 out->reports = reports; in esp_hid_parse_report_map() 416 free(map->reports); in esp_hid_free_report_map()
|
D | ble_hidh.c | 241 report->next = dev->reports; in read_device_services() 242 dev->reports = report; in read_device_services() 259 report = dev->reports; in read_device_services() 263 r = &map->reports[i]; in read_device_services() 280 free(map->reports); in read_device_services() 307 esp_hidh_dev_report_t *report = dev->reports; in attach_report_listeners() 612 esp_hidh_dev_report_t *report = dev->reports; in esp_ble_hidh_dev_dump()
|
D | bt_hidh.c | 363 dev->reports = NULL; in esp_hh_cb() 365 r = &map->reports[i]; in esp_hh_cb() 378 report->next = dev->reports; in esp_hh_cb() 379 dev->reports = report; in esp_hh_cb() 382 free(map->reports); in esp_hh_cb() 983 esp_hidh_dev_report_t *report = dev->reports; in esp_bt_hidh_dev_dump() 1060 dev->reports = NULL; in hidh_dev_ctor()
|
/hal_espressif-3.6.0/examples/bluetooth/hci/ble_adv_scan_combined/ |
D | README.md | 7 …CAN_PARAMS and SCAN_START commands for BLE scanning. Scanned advertising reports from other device…
|
/hal_espressif-3.6.0/examples/bluetooth/hci/ |
D | README.md | 29 … example, BLE advertising and scanning is done. Also scanned advertising reports are parsed and di…
|
/hal_espressif-3.6.0/components/esp_hid/include/ |
D | esp_hid_common.h | 163 esp_hid_report_item_t *reports; /*!< Reports discovered in the report map */ member
|
D | esp_hidh.h | 384 …sp_hidh_dev_reports_get(esp_hidh_dev_t *dev, size_t *num_reports, esp_hid_report_item_t **reports);
|
/hal_espressif-3.6.0/ |
D | .gitignore | 69 # gcov coverage reports
|
/hal_espressif-3.6.0/components/esp_hid/private/ |
D | esp_hidh_private.h | 72 esp_hidh_dev_report_t *reports; member
|
/hal_espressif-3.6.0/components/bt/controller/esp32c3/ |
D | Kconfig.in | 199 … The function is mainly used to enable flow control for advertising reports. When it is enabled, 200 … advertising reports will be discarded by the controller if the number of unprocessed advertising 201 reports exceeds the size of BLE adv report flow control.
|
/hal_espressif-3.6.0/components/bt/controller/esp32s3/ |
D | Kconfig.in | 216 … The function is mainly used to enable flow control for advertising reports. When it is enabled, 217 … advertising reports will be discarded by the controller if the number of unprocessed advertising 218 reports exceeds the size of BLE adv report flow control.
|
/hal_espressif-3.6.0/components/bt/controller/esp32/ |
D | Kconfig.in | 385 … The function is mainly used to enable flow control for advertising reports. When it is enabled, 386 … advertising reports will be discarded by the controller if the number of unprocessed advertising 387 reports exceeds the size of BLE adv report flow control.
|
/hal_espressif-3.6.0/docs/zh_CN/api-guides/jtag-debugging/ |
D | esp32c3.inc | 28 For bug reports, read
|
D | esp32s2.inc | 28 For bug reports, read
|
D | esp32.inc | 28 For bug reports, read
|
D | esp32s3.inc | 28 For bug reports, read
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/ |
D | README.md | 13 Users can choose different reports according to their own application scenarios.
|
/hal_espressif-3.6.0/docs/en/api-guides/jtag-debugging/ |
D | esp32s2.inc | 28 For bug reports, read
|
D | esp32c3.inc | 27 For bug reports, read
|
D | esp32s3.inc | 28 For bug reports, read
|