Page 1 of 1

Gatt Client Demo: Disconnect Error help request

Posted: Tue Feb 05, 2019 9:08 pm
by ed_mack
Hi,

I'm running the Gatt client Demo on ESP Wrover Kit v4.1, with ESP32 Wrover module. The application runs with serial terminal output working.

On a separate development board, I am running a Gatt server on another Ble development board. the server is providing Health Thermometer services. It is setup to accept connections.

Since the server does not have the correct device name that the client is looking for, I made the adjustment in Gatt client Demo to make the connection when it sees that the server is available. It does try to make the connection, but I quickly get the following error sequence.

BT_APPL: bta_gattc_conn_cback() - cif=3 connected=0 conn_id=3 reason=0x0100
GATTC_DEMO: ESP_GATTC_DISCONNECT_EVT, reason = 255
-------------------------------------------------// ESP_GATT_CONN_CONN_CANCEL
GATTC_DEMO: open failed, status 133
------------------------------------- ------------------------------------------// ESP_GATT_ERROR

Any advice on where to look next would be appreciated.

Thanks,
Ed

Re: Gatt Client Demo: Disconnect Error help request

Posted: Wed Feb 06, 2019 2:11 pm
by ed_mack
I found an issue on the Gatt Server side. I made the adjustment and it now connects successfully. This issue is resolved.
thanks,
Ed