I've been working with one of these shields... SIM7600CE-T_4G(LTE)_Shield_V1.0_SKU_TEL0124-DFRobot
In particular the module is receiving an SMS... but I don't seem to be able to display the whole message on the Arduino.
I've cut it back to a very basic sketch as follows
#include <SoftwareSerial.h>
SoftwareSerial SIM7600(7, 8);
void setup()
{
SIM7600.begin(57600);
Serial.begin(57600);
}
void loop()
{
while(Serial.available())
{
SIM7600.write(Serial.read());
}
while (SIM7600.available())
{
Serial.write(SIM7600.read());
}
}
The SMS appears to arrive ok... and I can read it (with the AT+CMGR=x command)... BUT.. any messages over 37 characters seem to get corrupted... the last few characters seem random.
Here is the serial output (2 messages sent: 30 chars & 50 chars : 1234567890 repeating)...
+CMTI: "SM",0
AT+CMGR=0
+CMGR: "REC UNREAD","+64292011***","","21/10/18,20:36:15+52"
123456789012345678901234567890
OK
+CMTI: "SM",1
AT+CMGR=1
+CMGR: "REC UNREAD","+64292011***","","21/10/18,20:36:53+52"
123456789012345678901234567890123456792479
O
Anyone got any ideas about what is going on?