i am making code for capacitive touch.
But i am getting some problem, whenever i touch a wire connected with respective gpio 2 of esp32 gatts client( in nrfconnect app) was disconnected with gatts server(esp32 dev-board).i am connected 1 k resistor between gpio 2 and gnd to avoid capacitive discharge problem.
but i can't get why gatts client get disconnected due to capacitive touch of person on any gpio or make gpio high by giving 3.3 from esp32
Please help me ..