new Firmware new trouble

  • Q: Type of module? A:TER GX 110S
    Q: Firmware version? A: 7.2.504
    Q: Type of starter kit you have? S2, FW 6.04.606-B014
    (S1, S1B, S2, S3, EVK1, EVK2, none, other)


    my program works on my starter kit board but not on the TER board.


    Logging the AT commands shows no difference but SEMAIL returns "+CME ERROR: connection failed"


    AT+CMEE=2 OK
    AT&K3 OK
    AT+CMEE=2 OK
    AT+CPIN? +CPIN: READY
    OK AT+CREG?
    +CREG: 0,1 OK
    AT+CGDCONT=1,"IP","internet.eplus.de","0.0.0.0",0,0 OK
    AT+CGQREQ=1,2,4,3,9,31 OK
    AT#USERID="eplus" OK
    AT#PASSW="gprs" OK
    at+cusd=1,*100# (...) betr{gt 8.97 Euro ",15 OK
    AT#ESMTP="auth.smtp.kundenserver.de" OK
    AT#EUSER="********" OK
    AT#EPASSW="********" OK
    AT#EADDR="***@***.com" OK
    AT#SEMAIL="***@***.com","...MESSAGE...",0 > 8.97 Euro prepaid SIM credit +CME ERROR: connection failed

  • So 6.04.606-B014 is working, 7.02.504 does not.
    Is this happening with other connections and servers as well?

  • ERRATUM


    trying the HTTP again with rsterm works, I can get a page. Sorry about that.
    However, SEMAIL still doesn't.

  • Then check with another server. Take care that SEMAIL needs GPRS context to be deactivated (AT#GPRS=0).

  • done that, same result: S2 works TER doesn't.
    GPRS is 0


    A different TER (7.2.502) doesn't work either.


    (By that occasion I had to find out that the #LSCRIPT behaves differently: separator is ',' instead of ' ' and #LSCRIPT? doesn't work it had to be withot '?'. However you probably knew that)


    I tried the whole sending procedure manualy with hyperterminal and it didn't work.


    Now I'm realy in need for some ideas since I run out of them.

  • That' s why I'm getting desperate - that's behaving the same way.


    I even opend the TER to use the antenna from S2.


    ----------------------------------------------------------------
    S2
    ----------------------------------------------------------------
    AT
    OK
    AT+IPR=115200
    OK
    OK
    AT+CMEE=2
    OK
    +CPIN: SIM PIN
    OK
    AT+CPIN=####
    OK
    AT+CPIN?
    +CPIN: READY
    OK
    AT+CREG?
    +CREG: 0,2
    OK
    AT+CREG?
    +CREG: 0,1
    OK
    AT#MONI
    #MONI: D E-Plus BSIC:33 RxQual:0 LAC:01C7 Id:1027 ARFCN:826 PWR:-65dbm TA:1
    OK
    AT+CGATT?
    +CGATT: 1
    OK
    PS:5.02.203/AL:6.04.606-B014-GM862 QUAD PY
    OK
    AT#GPRS=0
    OK
    AT#ESMTP="smtp.***.de"
    OK
    AT#EUSER="********"
    OK
    AT#EPASSW="********"
    OK
    AT#EADDR="***@***.com"
    OK
    AT#SEMAIL="***@***.com","Sent with RS Terminal",0
    > Hello?
    OK


    ----------------------------------------------------------------
    TER
    ----------------------------------------------------------------
    AT
    OK
    AT+IPR=115200
    OK
    AT&K0
    OK
    AT+CMEE=2
    OK
    AT+CPIN?
    +CPIN: SIM PIN
    OK
    AT+CPIN=####
    OK
    AT+CREG?
    +CREG: 0,2
    OK
    AT+CREG?
    +CREG: 0,1
    OK
    AT#MONI
    #MONI: D E-Plus BSIC:35 RxQual:0 LAC:0145 Id:3B51 ARFCN:783 PWR:-77dbm TA:0
    OK
    AT+CGATT?
    +CGATT: 1
    OK
    AT+CGMR
    07.02.504
    OK
    AT#GPRS=0
    OK
    AT#ESMTP="smtp.***.de"
    OK
    AT#EUSER="********"
    OK
    AT#EPASSW="********"
    OK
    AT#EADDR="***@***.com"
    OK
    AT#SEMAIL="***@***.com","Sent with RS Terminal",0
    > Hello again!
    +CME ERROR: connection failed

  • finally I've managed to send a mail using SKTD as described in this thread: eMail by "SEMAIL" and "SKTD", so I suspect the error in SEMAIL.


    Notice: I can't use the #SKTD example apllication from rsterm - I'm not sure why, however, I've to use EHLO because HELO dosn't work.

  • guess what 07.02.503 doesn't work, too.


    I've noticed the "+CME ERROR: connection failed" message appears quite quickly. It behaves like the smtp server login has failed.

  • Can you make me an account to that server, just for testing? Do you have access to server logs - if not can you ask the administrator/maintainer to provide some info about your sessions?

  • Sorry, I can't. The backoffice is very sensitve and strict about that.


    What is the difference between moduls running firmware 6 and 7? The manual states something about different hardware. Is it due to the change to RoHS conform? Is it a faster processor now? Are timeouts becomming to short/long?


    Since I'm loosing a bit of time with all of this, could you hint me about another problem, please. I don't get the call to a NTP server right. Once I'm connected (e.g. to ptbtime1.ptb.de) I fail to retrieve an answer. The request I found on the internet is '\x1b' + 47*'\0'. Further I#m unsure about the port: 13, 37, 123, 80, 1024, or ...?

  • I tried the HELO again and compared it to rsterm. In general it works but not with rsterm. Do you use LOGIN, PLAIN, CRAM-MD5, NTLM or any different method with AUTH? I have to use AUTH LOGIN.


    Back to the question for mail account details -I tried another account at web.de with the same unsuccessful: result #SEMAIL doesn't #SKTD does work.


    (Since this thread becomes threatening long, I want to thank you, I really appreciate your commitment)

  • As you can see RSterm does not use AUTH in its SMTP tab.


    For a test, can you try with a SIM for another provider?