BLE connect device but don't have connect handle

When I am in BLE_GAP_CONNECTED event, the connection handle is empty?

This is log:

[17:54:15.251]input←◆<info> app: Received BLE event: 16
<info> app: Connected.
<info> app: Connection handle: 0x0
<info> app: Connected to device with handle: 0x0000

<info> app: Received BLE event: 35

[17:54:55.269]input←◆<info> app: Received BLE event: 17
<info> app: Disconnected, reason 34.

In connect event, I can't get the connect handle. Why?

Thanks response.

Parents Reply
  • There is another phenomenon. After a period of time after I connect to the device, the device will automatically disconnect and the feedback code is 19 (BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION). However, this problem did not occur when I used SD_API_V5 before. My scanning parameters and connection The parameters are the same as before.

    BR,

    Genfeng

Children
No Data
Related