hi there , i am trying to get SMS into GSM shield sim900 , from a gps tracker
i am getting SMS from my smart phone nice , but from the GPS tracker i get somethng like this
006C00610063003A003700340020000D000A006300690064003A00370031003300320020000D000A006D00630063003D00320030003200200020000D000
is this hex format.?
i expect something like
lat:39.97018 long:24.75841 speed:001.8
T:04/14/16 10:32
http://maps.google.com/maps?f=q&q=39.97018,24.75551&z=16
(in my mobile phone , the tracker send the SMS as it should)
i am using this library GitHub - MarcoMartines/GSM-GPRS-GPS-Shield: GSM/GPRS & GPS Shield Library for modules using SIM900/SIM908
#include <SoftwareSerial.h>
#include "SIM900.h"
#include "call.h"
#include "sms.h"
SMSGSM sms;
CallGSM call;
char phone_number[20];
char sms_text[160];
...........
loop(){
sms.GetSMS(20, phone_number,20, sms_text, 160);
Serial.println(sms_text);
Serial.println(phone_number);
}
i guess is library related..
Hardware
Arduino mega 2560
GSM GPRS Sim900