Re: SMPP 7bit ASCII pack to 8bit words

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization tolj.org system architecture
Message-ID <[email protected]>
Andreas Fink wrote:

> I think you are doing something wrong here.
> 
> The DCS value is saying if the data is 7bit or 8bit.
> When you deliver data to a SMPP SMSC you always send it in 8bit. So  you 
> never have to pack anything. You simply supply the 7bit values  (gsm 
> character set) into bytes. The SMSC then will pack them.
> 
> Some operators, especially in eastern europe use 8bit values to allow  
> 140 characters instead of only 70 unicode characters.
> Some SMSC's even translate them on the fly.

agree'ing here fully with Andreas....

BTW, we had this discuission off-list for a SMPP SMSC in India that exptexts 
7bit GSM alphabet packed in 8bit bytes for concat messages, but not for non-concat.

So, according to SMPP v3.4 spec, (this is the generic interpreation from anyone 
who claims to have "knowledge", not me ;) GSM chars are simply passed into a 
single byte and have not to be packet.

Stipe

-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------
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.