sim900

Store value in variable after HTTPREAD

给你一囗甜甜゛ 提交于 2019-11-26 19:13:18
I am working with a GSM SIM900 and an Arduino Uno. I am using AT commands for the SIM900. I am successfully getting data from GET requests and showing on the serial monitor, but after the AT+HTTPREAD command I want to store data into a variable. How can I do this? I am getting a JSON Object from the web server and I want to get the Status property from that object and save it into a variable. #include <SoftwareSerial.h> SoftwareSerial gprsSerial(2,3); void setup() { gprsSerial.begin(9600); Serial.begin(9600); Serial.println("Con"); delay(2000); Serial.println("Done!..."); gprsSerial.flush();