Home
last modified time | relevance | path

Searched refs:handles (Results 1 – 25 of 49) sorted by relevance

12

/hal_espressif-3.6.0/components/freertos/test/
Dtest_queuesets.c18 static QueueHandle_t handles[NO_OF_QUEUES]; variable
26 handles[i] = xQueueCreate(QUEUE_LEN, ITEM_SIZE);
27 TEST_ASSERT_MESSAGE(handles[i] != NULL, "Failed to create queue");
28 …TEST_ASSERT_MESSAGE(xQueueAddToSet(handles[i], set_handle) == pdPASS, "Failed to add to queue set"…
35 …TEST_ASSERT_MESSAGE(xQueueSendToBack(handles[i], &item_num, portMAX_DELAY) == pdTRUE, "Failed to s…
43 TEST_ASSERT_EQUAL_MESSAGE(handles[i], member, "Incorrect queue set member returned");
52 …TEST_ASSERT_MESSAGE(xQueueRemoveFromSet(handles[i], set_handle), "Failed to remove from queue set"…
53 vQueueDelete(handles[i]);
132 xQueueRemoveFromSet(queueset_handle, handles[i]);
Dtest_freertos_debug_functions.c25 static QueueHandle_t handles[NO_OF_QUEUES_TOTAL]; variable
33 handles[i + offset] = xQueueCreate(1,1); //Create queues in test_queue_registry_task()
40 …vQueueAddToRegistry(handles[i + offset] , names[i + offset]); //Register queues to queue registry in test_queue_registry_task()
48 vQueueDelete(handles[i + offset]); //Internally calls vQueueUnregisterQueue in test_queue_registry_task()
73 const char *addr = pcQueueGetName(handles[i]);
86 const char *addr = pcQueueGetName(handles[i]);
88 handles[i] = NULL;
Dtest_freertos_task_delete.c65 TaskHandle_t handles[NO_OF_TSKS]; variable
69 …ore(tsk_extern_del, "tsk_extern", 4096, NULL, configMAX_PRIORITIES - 1, &handles[j], xPortGetCoreI…
74 vTaskDelete(handles[j]);
/hal_espressif-3.6.0/components/esp_hid/src/
Dble_hidd.c340 static void link_report_handles(hidd_dev_map_t *dev, uint16_t *handles) in link_report_handles() argument
346 rpt->handle = handles[rpt->index]; in link_report_handles()
348 rpt->ccc_handle = handles[rpt->index + 1]; in link_report_handles()
388 dev->bat_svc.handle = param->add_attr_tab.handles[BAS_IDX_SVC]; in bat_event_handler()
389 …dev->bat_level_handle = param->add_attr_tab.handles[BAS_IDX_BATT_LVL_VAL];//so we notify of the ch… in bat_event_handler()
390 …dev->bat_ccc_handle = param->add_attr_tab.handles[BAS_IDX_BATT_LVL_CCC];//so we know if we can sen… in bat_event_handler()
433 dev->info_svc.handle = param->add_attr_tab.handles[0]; in info_event_handler()
458 dev->devices[device_index].hid_svc.handle = param->add_attr_tab.handles[HIDD_LE_IDX_SVC]; in hid_event_handler()
459 …dev->devices[device_index].hid_control_handle = param->add_attr_tab.handles[HIDD_LE_IDX_HID_CTNL_P… in hid_event_handler()
460 …dev->devices[device_index].hid_protocol_handle = param->add_attr_tab.handles[HIDD_LE_IDX_PROTO_MOD… in hid_event_handler()
[all …]
/hal_espressif-3.6.0/components/esp_event/test/
Dtest_event.c55 esp_event_handler_t* handles; member
198 …_ESP_OK(esp_event_handler_register_with(data->loop, data->base, data->id, data->handles[i], NULL)); in test_event_simple_handler_registration_task()
200 …TEST_ESP_OK(esp_event_handler_unregister_with(data->loop, data->base, data->id, data->handles[i])); in test_event_simple_handler_registration_task()
1117 … registration_data[i].handles = calloc(TEST_CONFIG_ITEMS_TO_REGISTER, sizeof(esp_event_handler_t));
1122 …registration_data[i].handles[j] = (void*) (i * TEST_CONFIG_ITEMS_TO_REGISTER) + (j + TEST_CONFIG_I…
1147 …TEST_ASSERT_TRUE(esp_event_is_handler_registered(loop, base, id, registration_data[i].handles[j]));
1163 …unregistration_data[i].handles = calloc(TEST_CONFIG_ITEMS_TO_REGISTER, sizeof(esp_event_handler_t)…
1167 …memcpy(unregistration_data[i].handles, registration_data[i].handles, TEST_CONFIG_ITEMS_TO_REGISTER…
1191 …EST_ASSERT_FALSE(esp_event_is_handler_registered(loop, base, id, registration_data[i].handles[j]));
1197 free(registration_data[i].handles);
[all …]
/hal_espressif-3.6.0/components/esp_timer/test/
Dtest_esp_timer.c69 esp_timer_handle_t handles[num_timers]; variable
78 TEST_ESP_OK(esp_timer_create(&args, &handles[i]));
79 TEST_ESP_OK(esp_timer_start_once(handles[i], timeouts[i] * 100));
86 TEST_ESP_OK(esp_timer_stop(handles[i]));
87 TEST_ESP_OK(esp_timer_delete(handles[i]));
109 TEST_ASSERT_EQUAL_PTR(handles[j], timer_ptr);
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gatts.c415 param.add_attr_tab.handles = btc_creat_tab_env.handles; in btc_gatts_act_create_attr_tab()
573 btc_creat_tab_env.handles[index] = p_data->create.service_id; in btc_gatts_inter_cb()
578 btc_creat_tab_env.handles[index] = p_data->add_result.attr_id; in btc_gatts_inter_cb()
583 btc_creat_tab_env.handles[index] = p_data->add_result.attr_id - 1; in btc_gatts_inter_cb()
584 btc_creat_tab_env.handles[index+1] = p_data->add_result.attr_id; in btc_gatts_inter_cb()
589 btc_creat_tab_env.handles[index] = p_data->add_result.attr_id; in btc_gatts_inter_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_server_service_table/tutorial/
DGatt_Server_Service_Table_Example_Walkthrough.md449 uint16_t *handles; /*!< The number to the handles */
452 …enumeration HRS_IDX_NB. If the table is correctly created, the attribute handles are copied into t…
465 … memcpy(heart_rate_handle_table, param->add_attr_tab.handles, sizeof(heart_rate_handle_table));
471 The handles stored in the handles pointer of the event parameters are numbers that identify each at…
/hal_espressif-3.6.0/components/esp_hw_support/
Dproject_include.cmake5 # on the esp32 component so don't get the extra flag. This handles that case.
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/main/
Dhid_device_le_prf.c613 incl_svc.start_hdl = param->add_attr_tab.handles[BAS_IDX_SVC]; in esp_hidd_prf_cb_hdl()
621 memcpy(hidd_le_env.hidd_inst.att_tbl, param->add_attr_tab.handles, in esp_hidd_prf_cb_hdl()
627 esp_ble_gatts_start_service(param->add_attr_tab.handles[0]); in esp_hidd_prf_cb_hdl()
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/include/
Dbtc_gatts.h162 uint16_t handles[ESP_GATT_ATTR_HANDLE_MAX]; member
Dbtc_gattc.h112 uint16_t handles[ESP_GATT_MAX_READ_MULTI_HANDLES]; member
/hal_espressif-3.6.0/docs/en/api-guides/inc/
Dexternal-ram-esp32-notes.rst8 …sues are documented in the `ESP32 ECO`_ document. In particular, ESP-IDF handles the bugs mentione…
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/include/api/
Desp_gatt_defs.h435 uint16_t handles[ESP_GATT_MAX_READ_MULTI_HANDLES]; /*!< The handles list */ member
Desp_gatts_api.h262 uint16_t *handles; /*!< The number to the handles */ member
/hal_espressif-3.6.0/docs/en/api-reference/storage/
Dauto_suspend.inc18 …ing the SPI1 bus (e.g. erasing/writing/reading main flash). The hardware handles the arbitration b…
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/sdp/include/
Dsdpint.h184 UINT32 handles[SDP_MAX_DISC_SERVER_RECS]; /* Discovered server record handles */ member
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/gatt/
Dgatt_sr.c235 if (p_rsp->attr_value.handle == p_cmd->multi_req.handles[ii]) { in process_read_multi_rsp()
508 p_tcb->sr_cmd.multi_req.handles[p_tcb->sr_cmd.multi_req.num_handles++] = handle; in gatt_process_read_multi_req()
538 … if ((trans_id = gatt_sr_enqueue_cmd (p_tcb, op_code, p_tcb->sr_cmd.multi_req.handles[0])) != 0) { in gatt_process_read_multi_req()
545 handle = p_tcb->sr_cmd.multi_req.handles[ll]; in gatt_process_read_multi_req()
/hal_espressif-3.6.0/components/protocomm/src/simple_ble/
Dsimple_ble.c164 …memcpy(g_gatt_table_map, param->add_attr_tab.handles, param->add_attr_tab.num_handle * sizeof(g_ga… in gatts_profile_event_handler()
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/sdp/
Dsdp_discovery.c300 BE_STREAM_TO_UINT32 (p_ccb->handles[xx], p_reply); in process_service_search_rsp()
478 UINT32_TO_BE_STREAM (p, p_ccb->handles[p_ccb->cur_handle]); in process_service_attr_rsp()
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_api.c558 memcpy(p_buf->handles, p_read_multi->handles, sizeof(UINT16) * p_read_multi->num_attr); in BTA_GATTC_ReadMultiple()
/hal_espressif-3.6.0/docs/
Dgenerate_chart.py197 plt.legend(handles=[darkred_patch, red_patch], prop={'size': 10, 'family': 'Tahoma'},
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/
Desp_gattc_api.c442 … memcpy(arg.read_multiple.handles, read_multi->handles, sizeof(uint16_t)*read_multi->num_attr); in esp_ble_gattc_read_multiple()
/hal_espressif-3.6.0/docs/en/api-reference/system/
Dconsole.rst50 …he single function which handles user's key presses and returns completed line once 'enter' key is…
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/btu/
Dbtu_hcif.c530 UINT16 handles[MAX_L2CAP_LINKS + 4]; in btu_hcif_send_host_rdy_for_data() local
534 num_ents = l2c_link_pkts_rcvd (num_pkts, handles); in btu_hcif_send_host_rdy_for_data()
540 btsnd_hcic_host_num_xmitted_pkts (num_ents, handles, num_pkts); in btu_hcif_send_host_rdy_for_data()

12