Hello
after trying hard I have managed to get up and running and communicate with the ESP8266 .
Sending a UDP packet to ESP , ESP spits out on the UART :
+IPD,5:Hello
or
+IPD,13:Hello, Again!
what is the best way to extract from the reply : Hello or Hello, Again! ?
I put the answer from ESP into arrays ,
but type checking :
buffor[0] == "+" && buffor[1] == "I" .... up to "," then there can be 2 numbers and each in a different place in the array (how do I put buffor[5] = 1 and buffor[6] = 3 into number 13 in order to extract the data calmly afterwards ?)
after trying hard I have managed to get up and running and communicate with the ESP8266 .
Sending a UDP packet to ESP , ESP spits out on the UART :
+IPD,5:Hello
or
+IPD,13:Hello, Again!
what is the best way to extract from the reply : Hello or Hello, Again! ?
I put the answer from ESP into arrays ,
but type checking :
buffor[0] == "+" && buffor[1] == "I" .... up to "," then there can be 2 numbers and each in a different place in the array (how do I put buffor[5] = 1 and buffor[6] = 3 into number 13 in order to extract the data calmly afterwards ?)