Home
last modified time | relevance | path

Searched refs:init_key (Results 1 – 15 of 15) sorted by relevance

/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/dm/
Dbta_dm_co.c393 void bta_dm_co_ble_set_init_key_req(UINT8 init_key) in bta_dm_co_ble_set_init_key_req() argument
396 init_key &= 0x0f; // 4~7bit reservd, only used the 0~3bit in bta_dm_co_ble_set_init_key_req()
397 bte_appl_cfg.ble_init_key &= init_key; in bta_dm_co_ble_set_init_key_req()
/hal_espressif-3.4.0/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/main/
Dble_hidd_demo_main.c237 uint8_t init_key = ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK; in app_main() local
246 esp_ble_gap_set_security_param(ESP_BLE_SM_SET_INIT_KEY, &init_key, sizeof(uint8_t)); in app_main()
/hal_espressif-3.4.0/components/protocomm/src/simple_ble/
Dsimple_ble.c280 uint8_t init_key = ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK; in simple_ble_start() local
286 esp_ble_gap_set_security_param(ESP_BLE_SM_SET_INIT_KEY, &init_key, sizeof(uint8_t)); in simple_ble_start()
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/include/bta/
Dbta_dm_co.h203 extern void bta_dm_co_ble_set_init_key_req(UINT8 init_key);
/hal_espressif-3.4.0/examples/bluetooth/bluedroid/ble_50/ble50_security_server/main/
Dble50_sec_gatts_demo.c512 uint8_t init_key = ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK; in app_main() local
528 esp_ble_gap_set_security_param(ESP_BLE_SM_SET_INIT_KEY, &init_key, sizeof(uint8_t)); in app_main()
/hal_espressif-3.4.0/examples/bluetooth/bluedroid/ble/gatt_security_server/main/
Dexample_ble_sec_gatts_demo.c558 uint8_t init_key = ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK; in app_main() local
574 esp_ble_gap_set_security_param(ESP_BLE_SM_SET_INIT_KEY, &init_key, sizeof(uint8_t)); in app_main()
/hal_espressif-3.4.0/examples/bluetooth/bluedroid/ble/gatt_security_client/main/
Dexample_ble_sec_gattc_demo.c577 uint8_t init_key = ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK; in app_main() local
588 esp_ble_gap_set_security_param(ESP_BLE_SM_SET_INIT_KEY, &init_key, sizeof(uint8_t)); in app_main()
/hal_espressif-3.4.0/examples/bluetooth/bluedroid/ble_50/ble50_security_client/main/
Dble50_sec_gattc_demo.c616 uint8_t init_key = ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK; in app_main() local
627 esp_ble_gap_set_security_param(ESP_BLE_SM_SET_INIT_KEY, &init_key, sizeof(uint8_t)); in app_main()
/hal_espressif-3.4.0/examples/bluetooth/bluedroid/ble/ble_ancs/main/
Dble_ancs_demo.c668 uint8_t init_key = ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK; in app_main() local
684 esp_ble_gap_set_security_param(ESP_BLE_SM_SET_INIT_KEY, &init_key, sizeof(uint8_t)); in app_main()
/hal_espressif-3.4.0/examples/bluetooth/bluedroid/ble/ble_compatibility_test/main/
Dble_compatibility_test.c686 uint8_t init_key = ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK; in app_main() local
697 esp_ble_gap_set_security_param(ESP_BLE_SM_SET_INIT_KEY, &init_key, sizeof(uint8_t)); in app_main()
/hal_espressif-3.4.0/examples/bluetooth/esp_hid_device/main/
Desp_hid_gap.c622 uint8_t init_key = ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK; in esp_hid_ble_gap_adv_init() local
637 if ((ret = esp_ble_gap_set_security_param(ESP_BLE_SM_SET_INIT_KEY, &init_key, 1)) != ESP_OK) { in esp_hid_ble_gap_adv_init()
/hal_espressif-3.4.0/examples/bluetooth/esp_hid_host/main/
Desp_hid_gap.c625 uint8_t init_key = ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK; in esp_hid_ble_gap_adv_init() local
640 if ((ret = esp_ble_gap_set_security_param(ESP_BLE_SM_SET_INIT_KEY, &init_key, 1)) != ESP_OK) { in esp_hid_ble_gap_adv_init()
/hal_espressif-3.4.0/examples/bluetooth/bluedroid/ble_50/ble50_security_server/tutorial/
Dble50_security_server_Example_Walkthrough.md67 uint8_t init_key = ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK;
86 esp_ble_gap_set_security_param(ESP_BLE_SM_SET_INIT_KEY, &init_key, sizeof(uint8_t));
134 …server and the pairing is done successfully, the keys indicated by the `init_key` and `rsp_key` se…
/hal_espressif-3.4.0/examples/bluetooth/bluedroid/ble/gatt_security_server/tutorial/
DGatt_Security_Server_Example_Walkthrough.md67 uint8_t init_key = ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK;
86 esp_ble_gap_set_security_param(ESP_BLE_SM_SET_INIT_KEY, &init_key, sizeof(uint8_t));
134 …server and the pairing is done successfully, the keys indicated by the `init_key` and `rsp_key` se…
/hal_espressif-3.4.0/components/bt/host/bluedroid/btc/profile/std/gap/
Dbtc_gap_ble.c1537 uint8_t init_key = 0; in btc_gap_ble_call_handler() local
1538 STREAM_TO_UINT8(init_key, value); in btc_gap_ble_call_handler()
1539 bta_dm_co_ble_set_init_key_req(init_key); in btc_gap_ble_call_handler()