BLE disconnect reason 0x0013

datluong
Posts: 10
Joined: Thu Jun 13, 2019 10:34 am

BLE disconnect reason 0x0013

Postby datluong » Thu Jun 13, 2019 10:57 am

Dear all,
I have developed a application based on esp idf version 3.1.2. My device is espressif esp32 - wroom - 32.
When I connect to the device, it works fine, but some how after 1 or 2 minute, it automatically disconnect with the following log:
BT_APPL: bta_gattc_conn_cback() - cif=3 connected=0 conn_id=3 reason 0x0013.
I dont know what the reason 0x0013 means and how ti fix this issue? I want it to be connected with the phone and only disconnect when the phone send disconnect signal, esp32 send disconnect signal to the phone or out of range.
Thank you for your time.
Best regards.

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

Re: BLE disconnect reason 0x0013

Postby chegewara » Thu Jun 13, 2019 3:44 pm


datluong
Posts: 10
Joined: Thu Jun 13, 2019 10:34 am

Re: BLE disconnect reason 0x0013

Postby datluong » Thu Jun 20, 2019 7:19 am

Thank you very much

Who is online

Users browsing this forum: ok-home and 92 guests