Hi, oll

    Try to check the pdu that you are sending. I've noticed that sometimes 
it changes after the message sending. Besides the smslib send the correct 
DCS code it seems to me that the telephony operator made some kind of mask 
with the code before delivering. I am will make more tests to understand it. 
I have the same problem.

Italo






----- Original Message ----- 
From: "oll" <[email protected]>
To: "SMSLib User Group" <[email protected]>
Sent: Thursday, May 14, 2009 3:14 PM
Subject: [smslib] Re: Data coding message class




Hi,

I have tried given MessageClass.
I got following..

TP-PID: 00 (00000000)
TP-DCS: 15 (8-bit encoding) (00010101)

Not F5.. )c:


On May 14, 5:24 pm, "Italo Ferraz" <[email protected]> wrote:
> Hello,
>
> To send a message with TP_DCS:F5, you will need to set the Message class
> to ME and 8 bits encoding.
> Don't forget the imports. Take a look 
> athttp://dreamfabric.com/sms/dcs.html
>
> Italo
>
> import org.smslib.OutboundBinaryMessage;
> import org.smslib.Message.MessageClasses;
> import org.smslib.Message.MessageEncodings;
>
> msg = new OutboundBinaryMessage(recipient, bytes);
> msg.setEncoding(MessageEncodings.ENC8BIT);
> msg.setDCSMessageClass(MessageClasses.MSGCLASS_ME);
>
> ----- Original Message -----
> From: "oll" <[email protected]>
> To: "SMSLib User Group" <[email protected]>
> Sent: Wednesday, May 13, 2009 6:29 PM
> Subject: [smslib] Data coding message class
>
> > Hi,
>
> > I have to send a message with following parameters:
>
> > ...
> > TP_PID:00
> > TP_DCS:F5
> > TP_DCS-popis:Data coding message class
> > Default Alphabet
> > ...
>
> > How to accomplish this with SMSLib?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/SMSLib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to