I’ve successfully been able to post data to the Ubidots server (various values as well) thorugh SoftwareSerial but I’m lost on how to get data from the server and how to process it.
For data posting I’ve used a similar code to http://community.ubidots.com/t/how-to-implement-2-variables-with-the-sim900/110
I want to be able to get the data from an Ubidots button. But I don’t know how to store the 1 or 0 data from the button.
I know I have to use the AT+CIPSERVER and AT+CIPGET commands but I haven’t been able to make it work. I need to enable a multiple communication don’t I? (with “AT+CIPMUX=1”)
Another thing, can I recieve and send on the same connection or do I need to close it for data post and open it again for getting data? It takes now 40 seconds to post 4 values, so I don’t want it to take nearly 2 minutes to go though the loop and have to wait that loong to see the results after I click the button.
Any help, link, etc. most welcome.
Many thanks in advance