smsc_at2.c PDU coding

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
Hi list,

I have some problems with an Siemens M20. So I came across the gsmlib
project at http://www.pxh.de/fs/gsmlib/index.html.

When sending the same payload "tes" to same number on same device
/dev/ttyS1.

Debug output of gsmlib's gsmsendsms:

<-- +CSMS: 1,1,1
<--
<-- OK
--> AT+CMGS=17
<--
--> 0015000B811037353312F60000A803F4F21C?
<--
<-- +CMGS: 84
<--
<-- OK


Debug output of smsc_at2.c:

AT2[m20]: --> AT+CMGS=17^M
AT2[m20]: <-- >
AT2[m20]: send command status: 1
AT2[m20]: --> 0011000C919471533323610000A703F4F21C
AT2[m20]: --> ^Z
AT2[m20]: <-- >
AT2[m20]: <-- +CMGS: 89
AT2[m20]: <-- OK

can someone explain to me why the PDU string is differently?!

In my mind these should be the same.

Stipe

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
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.