Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/multi-adv/main/
Dmulti_adv_demo.c50 static SemaphoreHandle_t test_sem = NULL; variable
160 xSemaphoreGive(test_sem); in gap_event_handler()
164 xSemaphoreGive(test_sem); in gap_event_handler()
168 xSemaphoreGive(test_sem); in gap_event_handler()
172 xSemaphoreGive(test_sem); in gap_event_handler()
176 xSemaphoreGive(test_sem); in gap_event_handler()
180 xSemaphoreGive(test_sem); in gap_event_handler()
232 test_sem = xSemaphoreCreateBinary(); in app_main()
234 FUNC_SEND_WAIT_SEM(esp_ble_gap_ext_adv_set_params(0, &ext_adv_params_1M), test_sem); in app_main()
235 FUNC_SEND_WAIT_SEM(esp_ble_gap_ext_adv_set_rand_addr(0, addr_1m), test_sem); in app_main()
[all …]
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/peroidic_adv/main/
Dperiodic_adv_demo.c53 static SemaphoreHandle_t test_sem = NULL; variable
102 xSemaphoreGive(test_sem); in gap_event_handler()
106 xSemaphoreGive(test_sem); in gap_event_handler()
110 xSemaphoreGive(test_sem); in gap_event_handler()
114 xSemaphoreGive(test_sem); in gap_event_handler()
118 xSemaphoreGive(test_sem); in gap_event_handler()
122 xSemaphoreGive(test_sem); in gap_event_handler()
126 xSemaphoreGive(test_sem); in gap_event_handler()
130 xSemaphoreGive(test_sem); in gap_event_handler()
134 xSemaphoreGive(test_sem); in gap_event_handler()
[all …]
/hal_espressif-3.6.0/tools/unit-test-app/components/test_utils/
Dtest_utils.c187 static SemaphoreHandle_t test_sem; variable
191 if (test_sem) { in test_idle_hook_func()
192 xSemaphoreGive(test_sem); in test_idle_hook_func()
223 test_sem = xSemaphoreCreateBinary(); in test_utils_task_delete()
224 … TEST_ASSERT_NOT_NULL_MESSAGE(test_sem, "test_utils_task_delete: failed to create semaphore"); in test_utils_task_delete()
225 xSemaphoreTake(test_sem, portMAX_DELAY); in test_utils_task_delete()
227 vSemaphoreDelete(test_sem); in test_utils_task_delete()
228 test_sem = NULL; in test_utils_task_delete()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/multi-adv/tutorial/
DMulit_Adv_Example_Walkthrough.md87 test_sem = xSemaphoreCreateBinary();
89 FUNC_SEND_WAIT_SEM(esp_ble_gap_ext_adv_set_params(0, &ext_adv_params_1M), test_sem);
90 FUNC_SEND_WAIT_SEM(esp_ble_gap_ext_adv_set_rand_addr(0, addr_1m), test_sem);
91 …EM(esp_ble_gap_config_ext_adv_data_raw(0, sizeof(raw_adv_data_1m), &raw_adv_data_1m[0]), test_sem);
94 FUNC_SEND_WAIT_SEM(esp_ble_gap_ext_adv_set_params(1, &ext_adv_params_2M), test_sem);
95 FUNC_SEND_WAIT_SEM(esp_ble_gap_ext_adv_set_rand_addr(1, addr_2m), test_sem);
96 …gap_config_ext_scan_rsp_data_raw(1, sizeof(raw_scan_rsp_data_2m), raw_scan_rsp_data_2m), test_sem);
99 FUNC_SEND_WAIT_SEM(esp_ble_gap_ext_adv_set_params(2, &legacy_adv_params), test_sem);
100 FUNC_SEND_WAIT_SEM(esp_ble_gap_ext_adv_set_rand_addr(2, addr_legacy), test_sem);
101 …EM(esp_ble_gap_config_ext_adv_data_raw(2, sizeof(legacy_adv_data), &legacy_adv_data[0]), test_sem);
[all …]
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/peroidic_sync/main/
Dperiodic_sync_demo.c53 static SemaphoreHandle_t test_sem = NULL; variable
79 xSemaphoreGive(test_sem); in gap_event_handler()
83 xSemaphoreGive(test_sem); in gap_event_handler()
87 xSemaphoreGive(test_sem); in gap_event_handler()
182 test_sem = xSemaphoreCreateBinary(); in app_main()
184 FUNC_SEND_WAIT_SEM(esp_ble_gap_set_ext_scan_params(&ext_scan_params), test_sem); in app_main()
185 FUNC_SEND_WAIT_SEM(esp_ble_gap_start_ext_scan(EXT_SCAN_DURATION, EXT_SCAN_PERIOD), test_sem); in app_main()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/peroidic_adv/tutorial/
DPeriodic_adv_Example_Walkthrough.md87 test_sem = xSemaphoreCreateBinary();
91 FUNC_SEND_WAIT_SEM(esp_ble_gap_ext_adv_set_rand_addr(EXT_ADV_HANDLE, addr_2m), test_sem);
93 a_2m), &raw_ext_adv_data_2m[0]), test_sem);
96 FUNC_SEND_WAIT_SEM(esp_ble_gap_ext_adv_start(NUM_EXT_ADV, &ext_adv[0]), test_sem);
99 test_sem);
101 dv_raw_data), &periodic_adv_raw_data[0]), test_sem);
102 FUNC_SEND_WAIT_SEM(esp_ble_gap_periodic_adv_start(EXT_ADV_HANDLE), test_sem);
249 xSemaphoreGive(test_sem);
253 xSemaphoreGive(test_sem);
257 xSemaphoreGive(test_sem);
[all …]
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/peroidic_sync/tutorial/
DPeriodic_Sync_Example_Walkthrough.md107 test_sem = xSemaphoreCreateBinary();
109 FUNC_SEND_WAIT_SEM(esp_ble_gap_set_ext_scan_params(&ext_scan_params), test_sem);
110 FUNC_SEND_WAIT_SEM(esp_ble_gap_start_ext_scan(EXT_SCAN_DURATION, EXT_SCAN_PERIOD), test_sem);
277 xSemaphoreGive(test_sem);
282 xSemaphoreGive(test_sem);
287 xSemaphoreGive(test_sem);