after entered the correct matching password, the connection is failed
below is the log. it is showing the pairing failed.
But once i perform reset to the esp32, the esp32 can pair successfully.[0;32mI (2870793) Cam_Uart_Decode: CAMERA_FUNCTION_BLE_PAIRING[705917][0m
[0;32mI (2891793) SEC_GATTC_DEMO: EVT 3, gattc if 3[0m
[0;32mI (2891793) SEC_GATTC_DEMO: ESP_GATTC_READ_CHAR_EVT(status=137, conn_id=0, handle=21, value_len=0):[0m
[0;32mI (2891803) SEC_GATTC_DEMO: Camera Status Read EVT.[0m
[0;32mI (2891803) SEC_GATTC_DEMO: esp_gap_cb(esp_gap_ble_cb_event_t: 8)[0m
[0;32mI (2891813) SEC_GATTC_DEMO: remote BD_ADDR: 90fd9ff6b513[0m
[0;32mI (2891823) SEC_GATTC_DEMO: address type = 0[0m
[0;32mI (2891823) SEC_GATTC_DEMO: pair status = fail[0m
[0;32mI (2891833) SEC_GATTC_DEMO: fail reason = 0x63[0m
[0;32mI (2891833) SEC_GATTC_DEMO: EVT 9, gattc if 3[0m
[0;32mI (2891833) SEC_GATTC_DEMO: write descr success[0m
[0;32mI (2891853) SEC_GATTC_DEMO: EVT 9, gattc if 3[0m
[0;32mI (2891853) SEC_GATTC_DEMO: write descr success[0m
[0;32mI (2891873) SEC_GATTC_DEMO: EVT 9, gattc if 3[0m
[0;32mI (2891873) SEC_GATTC_DEMO: write descr success[0m
[0;33mW (2896723) BT_BTM: btm_sec_clr_temp_auth_service() - no dev CB
[0m
[0;33mW (2896723) BT_APPL: bta_gattc_conn_cback() - cif=3 connected=0 conn_id=3 reason=0x0013[0m
[0;31mE (2896723) BT_BTM: Device not found
[0m
[0;31mE (2896733) BT_APPL: bta_gattc_mark_bg_conn unable to find the bg connection mask for: 90:fd:9f:f6:b5:13[0m
[0;32mI (2896743) SEC_GATTC_DEMO: EVT 41, gattc if 3[0m
[0;32mI (2896743) SEC_GATTC_DEMO: ESP_GATTC_DISCONNECT_EVT, reason = 0x13[0m
[0;32mI (2896753) SEC_GATTC_DEMO: EVT 5, gattc if 3[0m
i try to look the error message and also the fail reason from the coding. but i could not locate the what is mean by the reason 0x63.
Code: Select all
[0;32mI (2891833) SEC_GATTC_DEMO: fail reason = 0x63