Possibly alt-dcs parameter may help, but I'm not sure. Unfortunatelly there is no way to set data_coding explicitly.
>From SMS DCS description in 3GPP TS 23.038: 0001 .... - General Data Coding indication, no compression, message class present (bits 0 and 1) .... 0100 - message class 0, 8-bit data 8/2/2012 11:44 AM, Artem Chekulaev wrote: > Thanks > But when I use that parameters I see in dump > data_coding = 0xf4 > mclass = 0 give me first 1111, not 0001 in data_coding. It looks like > Im not understand something? > > This is the part of dump > > Data coding: 0xf4 > SMPP Data Coding Scheme: Unknown (0xf4) > GSM SMS Data Coding > 1111 .... = DCS Coding Group for SMS: SMS DCS: Data coding / message > class (0x0f) > .... 01.. = DCS Character set: 8-bit data (0x01) > .... ..00 = DCS Message class: Class 0 (0x00) > GSM CBS Data Coding > 1111 .... = DCS Coding Group for CBS: SMS DCS: Data coding / message > class (0x0f) > .... 01.. = DCS Character set: 8-bit data (0x01) > .... ..00 = DCS CBS Message class: No message class (0x00) > > > 2012/8/1 Michael Bochkaryov <[email protected] > <mailto:[email protected]>> > > 8/1/2012 2:55 PM, Artem Chekulaev wrote: >> Is it possible to change data_coding to 0x14 and protocol_id to >> 0x40 for single sms? Can I set them manually? I need sometimes to >> send invisible paid sms - user does not see them, but the money >> is paid (it legal for me as authorized by provider). > > Seems like you need the following sendsms parameters: > - mclass and coding to set data_coding (data_coding = 0x14 > (00010100): mclass=0 & coding = 1) > - pid to set protocol_id (protocol_id = 0x40: pid=64) > > So mclass=0&coding=1&pid=64 > > -- > Regards, > Michael Bochkaryov > www.rattler.kiev.ua <http://www.rattler.kiev.ua> > > -- Regards, Michael Bochkaryov www.rattler.kiev.ua
