ESP32 BLE central disconnects every 30 seconds
Posted: Sun Sep 06, 2020 7:02 am
Hi, I am now working on the ble_wifi gateway project in which esp32 serves as an https server (station mode) and ble central (gattc) at the same time.
The wifi side has no issue but the ble side got one issue. The ble central can connect to the particular peripheral device but it automatically disconnects after 30seconds so I restart the scanning again and it can still connect again but still disconnect after 30seconds again.
The log report says
I (7966) GATTC_DEMO: update connection params status = 0, min_int = 16, max_int = 60,conn_int = 60,latency = 0, timeout = 400
W (32936) BT_APPL: bta_gattc_conn_cback() - cif=1 connected=0 conn_id=1 reason=0x0013
I use the nrf52DK as a peripheral device and refer the "bluedroid/ble/gatt_client" example.
Please help....
The wifi side has no issue but the ble side got one issue. The ble central can connect to the particular peripheral device but it automatically disconnects after 30seconds so I restart the scanning again and it can still connect again but still disconnect after 30seconds again.
The log report says
I (7966) GATTC_DEMO: update connection params status = 0, min_int = 16, max_int = 60,conn_int = 60,latency = 0, timeout = 400
W (32936) BT_APPL: bta_gattc_conn_cback() - cif=1 connected=0 conn_id=1 reason=0x0013
I use the nrf52DK as a peripheral device and refer the "bluedroid/ble/gatt_client" example.
Please help....