Closed Tjulni closed 7 months ago
Can you provide a log at debug level? Also what is the setPin
function doing and what is the client device?
The setPin
function is a simple function that sets a pin to high or low depending on the input, so in this case it sets pin 8 (builtin led) to high (led is off) and low (led is on) if the client is connected. A client is any device that can communicate over ble... I got this workin in the end but had to implement my own symmetric encrytpion and no authentication, so that I can communicate with the server over a python script on my laptop.
Since I figured it out I will close this issue.
Hi, I have been trying this for the last few days and cannot get it to work... I would like to send and receive secure messages from a client to my secure server on an ESP32C3, but as soon as I add the property
WRITE_AUTHEN
the program stops receiving messages. What am I doing wrong?Also the onAuthenticationComplete function is never called when I connect to the server...
Here is my code for my secure server: