Re: GSM 03.38 packed data in SMPP messages

Oded Arbel <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization m-Wise mobile solutions
Message-ID <[email protected]>
ביום חמישי 25 דצמבר 2003, 06:30, נכתב על ידי Rafael 'Dido' Sevilla:
> I finally realized that the SMPP message center we've been using
> actually receives and sends text that is packed according to section
> 6.1.2 of GSM 03.38.  I had to write a patch to Kannel in order to make
> it unpack the data received and pack the data being sent.

There are already functions in the AT driver that handle this - check out 
at2_encode7bituncompressed() and at2_decode7bituncompressed(). maybe these 
should be moved to the sms.{h,c} files.

> Are such 
> SMSC's that send text data packed as per GSM 03.38 common? 

you have to do this for GSM modems as they speak directly "on the wire". all 
SMPP SMSCs I've talked with do this for you so you don't need to worry about 
it.

> Or maybe unpatched Kannel has an option to do this unpacking that I'm
> unaware of? :/

See AT driver.

-- 
Oded Arbel
m-Wise mobile solutions
[email protected]

+972-9-9581711 (116)
+972-67-340014

::..
The makers may make
and the users may use,
but the fixers must fix
with but minimal clues
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.