bluetooth client error message

dhs2017
Posts: 40
Joined: Thu Mar 30, 2017 8:56 am

bluetooth client error message

Postby dhs2017 » Wed Jul 19, 2017 8:48 am

Hi all,

when i run the example gatt client, it always show this error log, anyone know how to solve this?

E (1162) BT: l2cble_start_conn_update, the last connection update command still pending.
E (1162) BT: l2cble_start_conn_update, the last connection update command still pending.
E (1562) BT: l2cble_start_conn_update, staus = 1, line = 509
E (1742) BT: l2cble_start_conn_update, the last connection update command still pending.

also, after i connected a while , it will disconnect and show below error message.....anyone can help?
E (31382) BT: btm_sec_clr_temp_auth_service() - no dev CB

E (31382) BT: bta_gattc_conn_cback() - cif=3 connected=0 conn_id=3 reason=0x0013
E (31382) BT: bta_gattc_conn_cback() - cif=4 connected=0 conn_id=4 reason=0x0013
E (31392) BT: Device not found

E (31402) BT: bta_gattc_mark_bg_conn unable to find the bg connection mask for: 00:00:50:00:15:10

tharunjoy
Posts: 22
Joined: Wed Dec 12, 2018 5:30 am

Re: bluetooth client error message

Postby tharunjoy » Thu Nov 07, 2019 5:58 am

Hi,
I am getting same error.
Did you resolve this?

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: bluetooth client error message

Postby chegewara » Fri Nov 08, 2019 8:37 pm

If you are using esp-idf v4.x or master, you can try to use this option:
CONFIG_BT_SMP_SLAVE_CON_PARAMS_UPD_ENABLE: │
│ │
│ In order to reduce the pairing time, slave actively initiates connection parameters │
│ update during pairing. │
│ │
│ Symbol: BT_SMP_SLAVE_CON_PARAMS_UPD_ENABLE [=n] │
│ Type : boolean │
│ Prompt: Slave enable connection parameters update during pairing │
│ Location: │
│ -> Component config │
│ -> Bluetooth │
│ -> Bluedroid Options │
│ -> Bluetooth Low Energy (BT_BLE_ENABLED [=y]) │
│ -> Include BLE security module(SMP) (BT_BLE_SMP_ENABLE [=y])
Also make sure you not try to send conn param update few times, because error log is suggesting you do.

Who is online

Users browsing this forum: No registered users and 88 guests