RE: [BUG] smsc_at2.c: sending a one character message via Siemens M20 fails

"Oded Arbel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Sorry for misleading - the length reported is correct : it should not
include the first "SMSC address length" byte (which is 0 in all cases
where Kannel is concerened). the PDU formatted looks ok to me, and
sending an almost exactly the same PDU (don't want to use your phone
number :-) I get a success from the modem every time. 
I remember I've read something somewhere about the siemens M20 and
problems with the correct settings of the PDU length in CMGS. perhaps it
does not like the leading "SMSC address length" byte - try to remove it
by settingg no-smsc = true in your modem's configuration section.

--
Oded Arbel
m-Wise Inc.
[email protected]
(972)-67-340014
(972)-9-9581711 (ext: 116)

::..
We are loved
beyond our ability
to comprehend


> -----Original Message-----
> From: Stipe Tolj [mailto:[email protected]]
> Sent: Wednesday, May 15, 2002 11:34 AM
> To: [email protected]
> Subject: [BUG] smsc_at2.c: sending a one character message 
> via Siemens M20 fails
> 
> 
> Hi there,
> 
> when you connect to a M20 via the AT2 driver and try to send a one
> character message the whole things fails like this:
> 
> 2002-05-15 09:23:25 [19] DEBUG: boxc_receiver: sms received
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: international starting with +
> (+49<snip>)
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: TP-Validity-Period: 24.0
> hours
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: --> AT+CMGS=15^M
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: <-- >
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: send command status: 1
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: -->
> 0011000C919471533323610000A70178
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: --> ^Z
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: <-- >
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: <-- +CMS ERROR: 304
> 2002-05-15 09:23:26 [6] ERROR: AT2[m20]: CMS ERROR: +CMS ERROR: 304
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: send command status: 1
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: --> AT+CMGS=15^M
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: <-- >
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: send command status: 1
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: -->
> 0011000C919471533323610000A70178
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: --> ^Z
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: <-- >
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: <-- +CMS ERROR: 304
> 2002-05-15 09:23:26 [6] ERROR: AT2[m20]: CMS ERROR: +CMS ERROR: 304
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: send command status: 1
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: --> AT+CMGS=15^M
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: <-- >
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: send command status: 1
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: -->
> 0011000C919471533323610000A70178
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: --> ^Z
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: <-- >
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: <-- +CMS ERROR: 304
> 2002-05-15 09:23:26 [6] ERROR: AT2[m20]: CMS ERROR: +CMS ERROR: 304
> 2002-05-15 09:23:26 [6] DEBUG: AT2[m20]: send command status: 1
> 
> Bruno, Oded, you guys seems to deal with at2 mostly. Any ideas?
> 
> Stipe
> 
> [email protected]
> -------------------------------------------------------------------
> Wapme Systems AG
> 
> Münsterstr. 248
> 40470 Düsseldorf
> 
> Tel: +49-211-74845-0
> Fax: +49-211-74845-299
> 
> E-Mail: [email protected]
> Internet: http://www.wapme-systems.de
> -------------------------------------------------------------------
> wapme.net - wherever you are
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.