Text messages with UDH, bad DCS

"Enzo dell'Aquila" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <00be01c2cc4d$79095cc0$d9c3fea9@xp2000>
I tried to send text messages with UDH with emi2 driver. This feature
appears as y? (driver probably has this feature, has not been tested). I
would like generate TP-DCS = 00h (it's good also 11h or 12h), I need 7 bit
coding in DCS

I use these parameters:

        UDHI = 1;
        MClass = 2; // this should be for 12h; or MClass = '1' for 11h; or
MClass = '' for 00h
        Coding = 1;
        MWI = '';
        DLRmask = 0;
        PID = 0;
        AltDCS = 0;

Note: UDH is 8bit encoded, Body is 7 bit encoded!

But i get DCS = 14h, that's 8 bit coding, not 7 bit!

kannel userguide says: "If unset, defaults to 7 bits unless a udh is
defined, which sets coding to 8bits."

Is this a bug in emi2 kannel driver or doesn't emi2 support text messages
with UDH ?

Please reply, this bug should interest a lot of developers!
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.