×××× ××××× 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

Reply via email to