#138 SMS sent error with Huawei E160G


In Query::SendMore function

return theSerialPortPtr->writeDev(aString+"\r");

has error when sent SMS. If you change it to

return theSerialPortPtr->writeDev(aString);

All is ok. Because you need just send "Message"+Ctrl+Z and not \r at end.
When I try to send SMS i got popup with progress bar and waiting some time. After that I got error "SMS was not sent".
When I fix "\r" problem SMS was sent without errors and i got "SMS sent(...)" popup.


  • Klaas van Gend

    Klaas van Gend - 2009-07-19
    • priority: 5 --> 7
  • Klaas van Gend

    Klaas van Gend - 2009-07-19

    Interesting. I'm not sure if this works for all different devices though.

    Unfortunately, I cannot test that for another month. Sorry.

  • Eugene Korotkov

    Eugene Korotkov - 2009-07-19

    you can look at 3GPP specification: http://www.arib.or.jp/IMT-2000/V710Dec08/5_Appendix/R99/27/27005-320.pdf
    section 3.5.1
    text is entered<ctrl-Z/ESC>

    sending can be cancelled by giving <ESC> character (IRA 27)
    <ctrl-Z> (IRA 26) must be used to indicate the ending of the message body

    you also can use minicom for test this command by hand


Log in to post a comment.