Page 1 of 1

GATT_Server and GATT_Client at same time

Posted: Wed Mar 27, 2019 3:47 pm
by the_ncw
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