First of all, thanks for reading this question.
I'm developing an application which involves a keypad. This keypad stores passwords and if the password matches, the ESP32 sends a signal. This part of the project is done and works well, my problem appears when i try to implement BLE.
I programmed a code to be able to change the password by the keyboard, pressing a key combination... this is done and works well, but i want to change this password via BLE. Im currently using this example.
I understand some things of this code, and i'm able to communicate, sending and receiving using a mobile APP, but i want to "play" with the data. For example, i would like to send a signal when the ESP32 receives the word "Hi", but i dont know how to acces to the received/send data. (I would like to do something like if (data == "Hi") { send signal} i know the received data would be in HEX, but i dont even know how to acces to this data.
Thank you very much.