Perform the indicated example: 2.- App sends a message to ESP32, remember to put the Delimiterbyte: 10
Once that example works for you, adapt it to your project.