Now I want something else. I want to change "x" to the input I send to the BLE. How can I just read out instead of compare? Looking for something like:
I'm not exactly certain what you are asking. Are you trying to send a message back to the phone? Are you trying to parse something out of the received buffer?
If its a receiving question, what exactly are you sending from the phone, and what do you want to extract from the message?
If its a sending question, then send a value back to the phone the syntax is
ble.print("AT+BLEUARTTX=");
ble.println(x);