I am having issues with the SeeedStudio shields returning truncated responses when sending read SMS commands and read phone book commands.
I am using an OSEPP Arduino Uno R3 Board(Purchased from Tiger Direct) and I own both version 1 and 2 of the SeeedStudio boards(
http://www.seeedstudio.com/depot/gprs-shield-v20-p-1379.html?cPath=132_134) with an ATT GoPro SIM. I am having these issues with both Shields. I am starting to wonder if AT&T is adding a specific format that's screwing up the responses. I plugged the SIM into my old IPhone 1 several times and the texts look fine.
The SIM is unlocked and I have been able to send texts from the Arduino using it.
When I use the AT COMMAND TESTERhttp://m2msupport.net/m2msupport/module-tester/ I can verify the SIM is working and connects to AT&T. However, when I issue the read SMS commands I get the message(s) back but the Data is formatted wrong and gets cut off like so:
AT+CMGL="ALL"
+CMGL: 1,"REC READ","+1817xxxxxxx","Nathan","13/07/01,22::t
+CMGL: 2,"REC UNREAD","+1817xxxxxxx","Nathan","13/07/0
OK
Sometimes I can see the partial text message but rarely.
My Code is using the basic example floating around online and I attached a screenshot of the AT Command Tester's results...
#include <SoftwareSerial.h>
SoftwareSerial mySerial(7,8);
void setup()
{
- mySerial.begin(19200); // the GPRS baud rate *
- Serial.begin(19200); // the Serial port of Arduino baud rate.*
*} *
void loop()
{
if (mySerial.available())
Serial.write(mySerial.read());
if (Serial.available())
mySerial.write(Serial.read());
}
