I want to send a get request to an Arduino and read its response in my Android App.
However if I use the 'Web1.set web1 URL' block with the 'web1.GotText' event then my app throws the '1011 no response error.
If I use the 'WebViewer1,GoToURL' block with the 'WebViewer1.PageLoaded' event then I get the correct response from my Arduino but there does not seem to be any way to get the text from WebViewer.
My Arduino is setup as an Access Point. The URL is 192.168.0.10/TANK~
I am simply using the TANK~ bit as a back door UDP message.
Since apparently, at the Arduino end, it is impossible to receive both http and udp requests within the Arduino sketch due to limitations of the Arduino library or in the ESP8266 firmware I have loaded on the ESP8266.
The Arduino stuff is irrelevant.
As far as my app is concerned it is simply getting a web page with the text "OK"
I just want to know how I can get access to that text to test if it is equal to "OK" or not.
And I can't find a way within the MIT app inventors blocks to do that at present.
There has got to be a way of doing this