Hello Friends,
This is my first time asking here.
I looked for several days and tried many things but I’m really stuck.
I’m using and Arduino Mega 2560 + SIM5320A 3G Shield. I can send SMS with this, but also need to send e-mails.
Already changed the BAUD rate to 4800. I’m sending commands directly to the shield with out Adafruit-FONA.
Here is the serial exchange between the Arduino and the 3G shield after sending reset signal.
--> AT
<--
START
--> AT+CPIN?
<-- +CPIN: READY
--> AT+CREG?
<-- +CREG: 0,1
--> AT+CGREG?
<-- AT+CGREG?
+CGREG: 0,0
OK
--> AT+CGREG=1
<-- AT+CGREG=1
OK
--> AT+CGDCONT?
<-- AT+CGDCONT?
+CGDCONT: 1,"IP","fast.metropcs.com","0.0.0.0",0,0
--> AT+CGDCONT=1,"IP","fast.metropcs.com"
<-- AT+CGDCONT=1,"IP","fast.metropcs.com"
OK
--> AT+CGATT?
<-- AT+CGATT?
+CGATT: 1
OK
--> AT+CGACT?
<-- AT+CGACT?
+CGACT: 1,0
OK
--> AT+CGACT=1,1
<-- AT+CGACT=1,1
--> AT+CGPADDR=1
<--
OK
AT+CGPADDR=1
+CGPADDR: 1,"33.124.234.134"
OK
--> AT+CSMTPSSTOP
<-- AT+CSMTPSSTOP
ERROR
--> AT+CSMTPSCLEAN
<-- OK
--> AT+CSMTPSSRV=?
<-- OK
--> AT+CSMTPSSRV="smtp.mail.yahoo.com",465,2
<-- OK
--> AT+CSMTPSAUTH=1,"wilson.kuan@yahoo.com","***********"
<-- OK
--> AT+CSMTPSFROM="wilson.kuan@yahoo.com"
<-- OK
--> AT+CSMTPSRCPT=0,0,"kuan.wilson@gmail.com"
<-- OK
--> AT+CSMTPSSUB=30,"utf-8"
<-- >
--> Prueba Arduino - e-mail prueba
<-- OK
--> AT+CSMTPSBODY=34
<-- >
First File
Second file
Good bye.<-- OK
--> AT+CSMTPSSEND
<-- OK
--> AT+CSMTPSSEND
<-- AT+CSMTPSSEND
+CSMTPSSEND: 1
ERROR