Gatt Client Demo: Disconnect Error help request

ed_mack
Posts: 9
Joined: Sun Dec 02, 2018 1:22 pm

Gatt Client Demo: Disconnect Error help request

Postby ed_mack » Tue Feb 05, 2019 9:08 pm

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

ed_mack
Posts: 9
Joined: Sun Dec 02, 2018 1:22 pm

Re: Gatt Client Demo: Disconnect Error help request

Postby ed_mack » Wed Feb 06, 2019 2:11 pm

I found an issue on the Gatt Server side. I made the adjustment and it now connects successfully. This issue is resolved.
thanks,
Ed

Who is online

Users browsing this forum: artisdom, Sang_Huynh and 211 guests