Home
last modified time | relevance | path

Searched refs:iocap (Results 1 – 25 of 27) sorted by relevance

12

/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/
Dmain.c376 esp_bt_io_cap_t iocap = ESP_BT_IO_CAP_IN; in app_main() local
377 esp_bt_gap_set_security_param(param_type, &iocap, sizeof(uint8_t)); in app_main()
378 if (iocap == ESP_BT_IO_CAP_IN || iocap == ESP_BT_IO_CAP_IO) { in app_main()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/
Dmain.c206 esp_bt_io_cap_t iocap = ESP_BT_IO_CAP_IO; in app_main() local
207 esp_bt_gap_set_security_param(param_type, &iocap, sizeof(uint8_t)); in app_main()
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/smp/
Dsmp_utils.c1423 void smp_collect_local_io_capabilities(UINT8 *iocap, tSMP_CB *p_cb) in smp_collect_local_io_capabilities() argument
1427 iocap[0] = p_cb->local_io_capability; in smp_collect_local_io_capabilities()
1428 iocap[1] = p_cb->loc_oob_flag; in smp_collect_local_io_capabilities()
1429 iocap[2] = p_cb->loc_auth_req; in smp_collect_local_io_capabilities()
1441 void smp_collect_peer_io_capabilities(UINT8 *iocap, tSMP_CB *p_cb) in smp_collect_peer_io_capabilities() argument
1445 iocap[0] = p_cb->peer_io_caps; in smp_collect_peer_io_capabilities()
1446 iocap[1] = p_cb->peer_oob_flag; in smp_collect_peer_io_capabilities()
1447 iocap[2] = p_cb->peer_auth_req; in smp_collect_peer_io_capabilities()
Dsmp_keys.c1747 UINT8 iocap[3], a[7], b[7]; in smp_calculate_local_dhkey_check() local
1753 smp_collect_local_io_capabilities(iocap, p_cb); in smp_calculate_local_dhkey_check()
1757 smp_calculate_f6(p_cb->mac_key, p_cb->rand, p_cb->rrand, p_cb->peer_random, iocap, a, b, in smp_calculate_local_dhkey_check()
1774 UINT8 iocap[3], a[7], b[7]; in smp_calculate_peer_dhkey_check() local
1782 smp_collect_peer_io_capabilities(iocap, p_cb); in smp_calculate_peer_dhkey_check()
1786 ret = smp_calculate_f6(p_cb->mac_key, p_cb->rrand, p_cb->rand, p_cb->local_random, iocap, in smp_calculate_peer_dhkey_check()
1827 BOOLEAN smp_calculate_f6(UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *r, UINT8 *iocap, UINT8 *a1, in smp_calculate_f6() argument
1849 p_print = iocap; in smp_calculate_f6()
1870 ARRAY_TO_STREAM(p, iocap, 3); in smp_calculate_f6()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/main/
Dble_hidd_demo_main.c235 … esp_ble_io_cap_t iocap = ESP_IO_CAP_NONE; //set the IO capability to No output No input in app_main() local
240 esp_ble_gap_set_security_param(ESP_BLE_SM_IOCAP_MODE, &iocap, sizeof(uint8_t)); in app_main()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/main/
Dmain.c263 esp_bt_io_cap_t iocap = ESP_BT_IO_CAP_IO; in app_main() local
264 esp_bt_gap_set_security_param(param_type, &iocap, sizeof(uint8_t)); in app_main()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_acceptor/main/
Dmain.c254 esp_bt_io_cap_t iocap = ESP_BT_IO_CAP_IO; in app_main() local
255 esp_bt_gap_set_security_param(param_type, &iocap, sizeof(uint8_t)); in app_main()
/hal_espressif-3.6.0/examples/bluetooth/esp_hid_device/main/
Desp_hid_gap.c422 esp_bt_io_cap_t iocap = ESP_BT_IO_CAP_NONE; in init_bt_gap() local
423 esp_bt_gap_set_security_param(param_type, &iocap, sizeof(uint8_t)); in init_bt_gap()
620 esp_ble_io_cap_t iocap = ESP_IO_CAP_IO;//you have to agree that key matches on both in esp_hid_ble_gap_adv_init() local
632 if ((ret = esp_ble_gap_set_security_param(ESP_BLE_SM_IOCAP_MODE, &iocap, 1)) != ESP_OK) { in esp_hid_ble_gap_adv_init()
/hal_espressif-3.6.0/examples/bluetooth/esp_hid_host/main/
Desp_hid_gap.c425 esp_bt_io_cap_t iocap = ESP_BT_IO_CAP_IO; in init_bt_gap() local
426 esp_bt_gap_set_security_param(param_type, &iocap, sizeof(uint8_t)); in init_bt_gap()
623 esp_ble_io_cap_t iocap = ESP_IO_CAP_IO;//you have to agree that key matches on both in esp_hid_ble_gap_adv_init() local
635 if ((ret = esp_ble_gap_set_security_param(ESP_BLE_SM_IOCAP_MODE, &iocap, 1)) != ESP_OK) { in esp_hid_ble_gap_adv_init()
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/smp/include/
Dsmp_int.h388 UINT8 *iocap, UINT8 *a1, UINT8 *a2, UINT8 *mac);
491 extern void smp_collect_local_io_capabilities(UINT8 *iocap, tSMP_CB *p_cb);
492 extern void smp_collect_peer_io_capabilities(UINT8 *iocap, tSMP_CB *p_cb);
527 extern BOOLEAN smp_calculate_f6(UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *r, UINT8 *iocap,
/hal_espressif-3.6.0/components/protocomm/src/simple_ble/
Dsimple_ble.c278 … esp_ble_io_cap_t iocap = ESP_IO_CAP_NONE; //set the IO capability to No output No input in simple_ble_start() local
284 esp_ble_gap_set_security_param(ESP_BLE_SM_IOCAP_MODE, &iocap, sizeof(uint8_t)); in simple_ble_start()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/main/
Dmain.c345 esp_bt_io_cap_t iocap = ESP_BT_IO_CAP_IO; in app_main() local
346 esp_bt_gap_set_security_param(param_type, &iocap, sizeof(uint8_t)); in app_main()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_hid_mouse_device/main/
Dmain.c422 esp_bt_io_cap_t iocap = ESP_BT_IO_CAP_NONE; in app_main() local
423 esp_bt_gap_set_security_param(param_type, &iocap, sizeof(uint8_t)); in app_main()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/tutorial/
DExample_A2DP_Sink.md131 esp_bt_io_cap_t iocap = ESP_BT_IO_CAP_IO;
132 esp_bt_gap_set_security_param(param_type, &iocap, sizeof(uint8_t));
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/a2dp_source/tutorial/
DExample_A2DP_Source.md90 esp_bt_io_cap_t iocap = ESP_BT_IO_CAP_IO;
91 esp_bt_gap_set_security_param(param_type, &iocap, sizeof(uint8_t));
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_security_server/main/
Dexample_ble_sec_gatts_demo.c556 … esp_ble_io_cap_t iocap = ESP_IO_CAP_NONE; //set the IO capability to No output No input in app_main() local
566 esp_ble_gap_set_security_param(ESP_BLE_SM_IOCAP_MODE, &iocap, sizeof(uint8_t)); in app_main()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/ble50_security_server/main/
Dble50_sec_gatts_demo.c510 … esp_ble_io_cap_t iocap = ESP_IO_CAP_NONE; //set the IO capability to No output No input in app_main() local
520 esp_ble_gap_set_security_param(ESP_BLE_SM_IOCAP_MODE, &iocap, sizeof(uint8_t)); in app_main()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_security_client/main/
Dexample_ble_sec_gattc_demo.c575 … esp_ble_io_cap_t iocap = ESP_IO_CAP_NONE; //set the IO capability to No output No input in app_main() local
581 esp_ble_gap_set_security_param(ESP_BLE_SM_IOCAP_MODE, &iocap, sizeof(uint8_t)); in app_main()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/a2dp_source/main/
Dmain.c743 esp_bt_io_cap_t iocap = ESP_BT_IO_CAP_IO; in app_main() local
744 esp_bt_gap_set_security_param(param_type, &iocap, sizeof(uint8_t)); in app_main()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/ble50_security_client/main/
Dble50_sec_gattc_demo.c614 … esp_ble_io_cap_t iocap = ESP_IO_CAP_NONE; //set the IO capability to No output No input in app_main() local
620 esp_ble_gap_set_security_param(ESP_BLE_SM_IOCAP_MODE, &iocap, sizeof(uint8_t)); in app_main()
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/gap/
Dbtc_gap_bt.c669 uint8_t iocap = 0; in btc_gap_bt_set_security_param() local
671 STREAM_TO_UINT8(iocap, p); in btc_gap_bt_set_security_param()
672 ret = bta_dm_co_bt_set_io_cap(iocap); in btc_gap_bt_set_security_param()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_ancs/main/
Dble_ancs_demo.c666 … esp_ble_io_cap_t iocap = ESP_IO_CAP_NONE; //set the IO capability to No output No input in app_main() local
676 esp_ble_gap_set_security_param(ESP_BLE_SM_IOCAP_MODE, &iocap, sizeof(uint8_t)); in app_main()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_compatibility_test/main/
Dble_compatibility_test.c684 esp_ble_io_cap_t iocap = ESP_IO_CAP_OUT; //set the IO capability to No output No input in app_main() local
691 esp_ble_gap_set_security_param(ESP_BLE_SM_IOCAP_MODE, &iocap, sizeof(uint8_t)); in app_main()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/main/
Dmain.c748 esp_bt_io_cap_t iocap = ESP_BT_IO_CAP_IO; in app_main() local
749 esp_bt_gap_set_security_param(param_type, &iocap, sizeof(uint8_t)); in app_main()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_security_server/tutorial/
DGatt_Security_Server_Example_Walkthrough.md27 esp_ble_io_cap_t iocap = ESP_IO_CAP_NONE;//set the IO capability to No Input No Output
84 esp_ble_gap_set_security_param(ESP_BLE_SM_IOCAP_MODE, &iocap, sizeof(uint8_t));

12