Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] SIM900 email send recive Firmware > 1137B11SIM900M64 ST ?

Status
Not open for further replies.

andres90125

Member level 2
Joined
Jul 21, 2011
Messages
44
Helped
8
Reputation
16
Reaction score
7
Trophy points
1,288
Location
Santo André, Brazil
Activity points
1,626
I just received what I believe is the latest version of firmware SIM900, 1137B11SIM900M64 ST. I did the upgrade and
I try to implement without any results, commands reported in SIM900_Email_AT_Command_Manual_V1.02

One thing I find curious is that these new commands are not reported in the manual very last 1.05 of AT commands

Already beyond anyone had any experience with this version/, can tell where the problem is, or is it that there is a newer version of firmaware have to implement?

for each command to implement the response is ERROR. this is what tells me that probably this is not implemented

for example: cmmd resp

AT+EMAILCID? > ERROR

AT+EMAILCID=? > ERROR

AT+EMAILCID=1 > ERROR

and thus to each and every one of the commands reported in the manual.

Thanks from now
 

Revision: 1137B10SIM900M64_ST_Email_TEST_20111103 << this works



Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
void Bearer_profile (void)
{
               Server_Actv = 1;
 
               GSM("AT+SAPBR=2,1"); // test connection ?
              _delay_ms(400);
 
 
              if(!APMSTS) //if not connected . connect now!
                                  { 
                                   GSM("AT+CREG?"); 
                                   _delay_ms(50);
 
                                   GSM("AT+SAPBR=4,1");
                                  _delay_ms(400);   
 
                                   GSM("AT+SAPBR=3,1,\"CONTYPE\",\"GPRS\"");
                                    _delay_ms(5);   
 
                                    GSM("AT+SAPBR=3,1,\"APN\",\"claro.com.br\"");
                                    _delay_ms(5);
 
                                   GSM("AT+SAPBR=3,1,\"USER\",\"claro\"");
                                   _delay_ms(5);
 
                                  GSM("AT+SAPBR=3,1,\"PWD\",\"claro\"");
                                  _delay_ms(5);
 
                                GSM("AT+SAPBR=1,1");
                               _delay_ms(4500);
                          } 
                   GSM("AT+SAPBR=2,1");
                  _delay_ms(2000);
 
                   Server_Actv = 0;
}
 
void send_email_via_yahoo (void)
{
 
                              Server_Actv = 1;
                              GSM("AT+EMAILCID=1");
                             _delay_ms(10);
 
                              GSM("AT+EMAILTO= time_out"); //time out 20...120 sec //resp ok
                            _delay_ms(10);
 
                            GSM("AT+SMTPSRV=\"smtp.mail.yahoo.com.ar\",587"); //resp ok
                             _delay_ms(10);                  //  smtp server        port
 
                  GSM("AT+SMTPAUTH=1,\"GPRS.123456789@yahoo.com.ar\",\"*********\""); //resp ok
                 _delay_ms(10);                             // sender                               mail key
 
                 GSM("AT+SMTPFROM=\"gprs.123456789@yahoo.com.ar\",\"Andres-GPRS\""); //resp ok
                _delay_ms(10);                            // sender                   
 
                GSM("AT+SMTPRCPT=0,0,\"abcdefghijk@gmail.com\",\"andres\""); //resp ok
               _delay_ms(100);                             //  
 
                             GSM("AT+SMTPSUB=\"TEST_GPRS\""); //resp ok
                            _delay_ms(10);
 
                            P_ROMT = 0;
 
                            USART0_TX ("AT+SMTPBODY");            //resp ok
                            GSM("AT+SMTPBODY");
 
                            while(!P_ROMT){_delay_ms(50);}         // sistem promp .... ? >>
 
                           GSM("CUERPO DEL E-MAIL. enviado por GPRS modem a 17 min de intervalo ");
                           GSM(" ");
                           GSM(" ");
                          _delay_ms(10);
                         GSM_BYTE(0x1A);                                 // transact end 
                         _delay_ms(10);
                        SMTPSEND_OK = 0;
                        GSM("AT+SMTPSEND");                         // send this
                       
                           
                                      while(!SMTPSEND_OK){  W_delay(time_out);};
 
                        Server_Actv = 0;
}

 
Last edited by a moderator:

1137B11SIM900M64 ST not support E-mail.
Need a special version of the firmware.

1137B10SIM900M64_ST_Email_TEST_20111103 - test only version.
 

1137B11SIM900M64 ST not support E-mail.
Need a special version of the firmware.

1137B10SIM900M64_ST_Email_TEST_20111103 - test only version.

if, just if you read the beginning of my auto response is where I show that version and just found this option is showing the full name of the version where it says TEST

tnks
 

Hi,

How could get acess to the firmware 1137B10SIM900M64_ST_Email_TEST_20111103?

I need to use SMTP on my module.

Many thanks in advance.

Regards,

rtaubinger
 

Rtaubinger,

yeah right, here you go
works great if SMTP, now the problem I see is not much more, in some cases difficult is that you're not connecting to servers with SSL encryption,

so in the example above post you will see that I'm using YAHOO, which works perfect gate 25

Andrés
 

Attachments

  • 0x3700001000000115.rar
    1.4 MB · Views: 328

Hi Andrés,

Thank you for the info. This is the firmare version that I have meanwhile:

-Firmware version: SIM900D R11.0
-Full Firmware version: 1137B08SIM900D64_ST

So, are you suggesting to use the "sim900 Customer flash loader V1.01" to program the 0x3700001000000115.cla file on SIM900D?

But can I upgrade the 0x3700001000000115.cla to 1137B08SIM900D64_ST or do I need to first upgrade to
1137B11SIM900M64 ST or 1137B10SIM900M64_ST?

Regards,

Rafael
 

Rafae:
No need to change the file name use it like this here.
And if you use the software upgrade V1.01 loader flash Customer sim900 normally as you would with any other version,

then when you verify with the command verification, you will see that the name listed is the correct

Andrés

PD> (usalo con el soft de siempre para hacer el upgrade. y no hace falta que le cambien el nombre al archivo . )
 
yeah right, here you go
works great if SMTP, now the problem I see is not much more, in some cases difficult is that you're not connecting to servers with SSL encryption,

so in the example above post you will see that I'm using YAHOO, which works perfect gate 25

Andrés
Attached Files
0x3700001000000115.rar (1.40 MB)

hello, here it is, a little above, what you are looking, I already tried the link and it works.

I hope you find it useful

Andrés
 

can you tell me more about firmware email test sim900??

i'm using yahoo.com to send smtp...it failed..i can login,but when send email (AT+SMTPSEND) the result +SMTP :63
based on email AT COmmand manual, it means SMTP TCP connection error..

and then i've tried gmail.com...i can login,but when send email (AT+SMTPSEND) the result +SMTP :64
based on email AT COmmand manual, it means Timeout of SMTP server response

please help me..because i need send email in sim900..

thanks..
 

Drajat
The example above works perfectly. but there are some details, gmail does not work with this firmware that does not have SSL encryption, then you will have problems in gmail, yahoo works well in gate 25 which is a simple SMTP door, I think you should check out these details.
 

ohhh...so what's the other firmware have SSL encryption?? i think the most mail server use TSL and SSL encryption..are you sure the domain "yahoo.com" works well in port 25?? because your script above use domain "yahoo.com.ar"

do you have firmware that support TSL and SSL encryption sir??
 

As long as I know people SimCom. still would not be soon on SSL support. regarding the use of the gate 25, in my case works perfect.
Let me tell you that this version just does the following firmware resolves the encryption (base64) for your loguin. ie could do it manually using commands via normal and regular conccion TCIP request a connection and encrypt your login data via routine enco / deco (base64) like a TCIP Tarminal normal, this what I have implemented in a system based on wiznet 5100 chip and also works perfect
 

where i can register domain "yahoo.com.ar" sir?? i will try in domain "yahoo.com.ar"
 

just change the door 25 to 587 (yahoo) and returned to work perfectly. gate 25 is no longer in use for almost any service provider's SMTP




OK
AT+SAPBR=4,1
+SAPBR:
CONTYPE: GPRS
APN: claro.com.br
PHONENUM:
USER: claro
PWD: claro
RATE: 2

OK
AT+SAPBR=3,1,"CONTYPE","GPRS"
OK
AT+SAPBR=3,1,"APN","claro.com.br"
OK
AT+SAPBR=3,1,"USER","claro"
OK
AT+SAPBR=3,1,"PWD","claro"
OK
AT+SAPBR=1,1
OK
AT+SAPBR=2,1
+SAPBR: 1,1,"187.27.115.243"

OK
AT+EMAILCID=1
OK
AT+EMAILTO=120
OK
AT+SMTPSRV="smtp.mail.yahoo.com.ar",587
OK
AT+SMTPAUTH=1,"xxxxxxxx@yahoo.com.ar","xxxxxxx"
OK
AT+SMTPFROM="xxxxxxx@yahoo.com.ar","xxxxxxx@yahoo.com.ar"
OK
AT+SMTPRCPT=0,0,"xxxxxxx@gmail.com","user1 nc"
OK
AT+SMTPRCPT=1,0,"xxxxxxx@yahoo.com.ar","user2 cc"
OK
AT+SMTPRCPT=2,0,"xxxxxxx@hotmail.com","user3 cco"
OK
AT+SMTPSUB="REPORTE_GPRS"
OK
AT+SMTPBODY
> E-MAIL GENERADO POR GPRS Com900 MACHINE

COMANDOS via SMS aO (11)9483xxxx

petision generada por ""

NORMALES = BATERIA25V UPS115V TEMPERATURA30°C
ALARMAS = BATERIA22V UPS80V TEMPERATURA28°C
ESTATUS de las SALIDAS

BATERIA UPS 0.0 V
ENTRADA U6Temperatura Ambiente : 27.0 Cº



OK
AT+SMTPSEND
OK

+SMTPSEND: 1 yes!!
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top