Searched refs:esp_hidh_event_data_t (Results 1 – 5 of 5) sorted by relevance
/hal_espressif-3.6.0/components/esp_hid/src/ |
D | bt_hidh.c | 185 static void open_failed_cb(esp_hidh_dev_t *dev, esp_hidh_status_t status, esp_hidh_event_data_t *p, in open_failed_cb() 211 esp_hidh_event_data_t p = {0}; in esp_hh_cb() 212 esp_hidh_event_data_t *p_param = NULL; in esp_hh_cb() 213 size_t event_data_size = sizeof(esp_hidh_event_data_t); in esp_hh_cb() 517 if ((p_param = (esp_hidh_event_data_t *)malloc(event_data_size)) != NULL) { in esp_hh_cb() 530 memcpy(((uint8_t *)p_param) + sizeof(esp_hidh_event_data_t), p_data, data_len); in esp_hh_cb() 559 if ((p_param = (esp_hidh_event_data_t *)malloc(event_data_size)) != NULL) { in esp_hh_cb() 565 *(((uint8_t *)p_param) + sizeof(esp_hidh_event_data_t)) = param->get_idle.idle_rate; in esp_hh_cb() 567 p_param->feature.data = ((uint8_t *)p_param) + sizeof(esp_hidh_event_data_t); in esp_hh_cb() 614 if ((p_param = (esp_hidh_event_data_t *)malloc(event_data_size)) != NULL) { in esp_hh_cb() [all …]
|
D | ble_hidh.c | 470 esp_hidh_event_data_t p = {0}; in esp_hidh_gattc_event_handler() 474 …_loop_handle, ESP_HIDH_EVENTS, ESP_HIDH_BATTERY_EVENT, &p, sizeof(esp_hidh_event_data_t), portMAX_… in esp_hidh_gattc_event_handler() 478 esp_hidh_event_data_t *p_param = NULL; in esp_hidh_gattc_event_handler() 479 size_t event_data_size = sizeof(esp_hidh_event_data_t); in esp_hidh_gattc_event_handler() 485 if ((p_param = (esp_hidh_event_data_t *)malloc(event_data_size)) == NULL) { in esp_hidh_gattc_event_handler() 491 … memcpy(((uint8_t *)p_param) + sizeof(esp_hidh_event_data_t), p_data->notify.value, in esp_hidh_gattc_event_handler() 540 esp_hidh_event_data_t p = {0}; in esp_hidh_gattc_event_handler() 544 …nt_loop_handle, ESP_HIDH_EVENTS, ESP_HIDH_CLOSE_EVENT, &p, sizeof(esp_hidh_event_data_t), portMAX_… in esp_hidh_gattc_event_handler() 740 esp_hidh_event_data_t p = {0}; in esp_ble_hidh_dev_open() 743 …ent_loop_handle, ESP_HIDH_EVENTS, ESP_HIDH_OPEN_EVENT, &p, sizeof(esp_hidh_event_data_t), portMAX_… in esp_ble_hidh_dev_open()
|
D | esp_hidh.c | 811 esp_hidh_event_data_t *param = (esp_hidh_event_data_t *)event_data; in esp_hidh_process_event_data_handler() 816 param->input.data = (uint8_t *)param + sizeof(esp_hidh_event_data_t); in esp_hidh_process_event_data_handler() 821 param->feature.data = (uint8_t *)param + sizeof(esp_hidh_event_data_t); in esp_hidh_process_event_data_handler()
|
/hal_espressif-3.6.0/examples/bluetooth/esp_hid_host/main/ |
D | esp_hid_host_main.c | 35 esp_hidh_event_data_t *param = (esp_hidh_event_data_t *)event_data; in hidh_callback()
|
/hal_espressif-3.6.0/components/esp_hid/include/ |
D | esp_hidh.h | 122 } esp_hidh_event_data_t; typedef
|