GATT_Server and GATT_Client at same time

the_ncw
Posts: 1
Joined: Wed Mar 27, 2019 3:40 pm

GATT_Server and GATT_Client at same time

Postby the_ncw » Wed Mar 27, 2019 3:47 pm

Hi,

i use the GATT_Server and GATT_Client at same time, it works, but I have the problem that if the GATT_Client connects/disconnects to a Server the GATT_Server part also receive the ESP_GATTS_CONNECT_EVT and ESP_GATTS_DISCONNECT_EVT events. And also vice versa if the GATT_Server get a connection/disconnection the GATT_Client part get the ESP_GATTC_CONNECT_EVT and ESP_GATTC_DISCONNECT_EVT event. How can I avoid this ?

greetings

ncw

Who is online

Users browsing this forum: No registered users and 161 guests