Chat freely about anything...

User avatar
By aniskazi
#54126 Hello, so I am able to connect my esp to the wifi and have it send data from the serial monitor to the server and now I have successfully managed to send data from the server to the esp but now I don't know how can I use that data.

Image

now in the above pic the part where it is written ID=13 I would like to use that 13 in my main program how can I do that need suggestions.
User avatar
By techiesms
#54221 It's pretty simple with Arduino. You just need to use some String functions and clip out the required data from the whole string coming in the response.

I have made the similar project and faced the similar problem. But I managed to get the required data after proper filtering the String.

I have made tutorial video of that, have a look to the video understand the code I used for filtering and understand the logic also so that you can use it anywhere in future. I am attaching the link from the time I started explaining about the filtering process. Hope it helps you. If still have any doubt comment on that video I will come back to you

https://youtu.be/4vKxGHGYOtI?t=1009