NCL Community Forum Index
  Home   Login   Register   Help   Memberlist   Search   NCL  

NCL Community Forum Index » SwiftNote (SMSJDK) Support » Problem with sending Long 7bit(GSM) SMS-messages!
Post new topic  Reply to topic View previous topic :: View next topic 
Problem with sending Long 7bit(GSM) SMS-messages!
PostPosted: Fri Sep 22, 2006 10:00 am Reply with quote
ALX
Joined: 22 Aug 2006
Posts: 4




Situation is:
The method below allows us to send any long message, but in Unicode DataCoding which is not rational for sending messages in 7Bit

------------------------------------------------------------
TextMessage msg = new TextMessage();
msg.putAttribute(ie.ncl.sms.MessageAttributeNames.DCS, DataCodingScheme.Unicode);
msg.setText("Some long text");
LongMessageSender longMessageSender = new LongMessageSender(sender, 1000000);
longMessageSender.setUseUdhi(true);
longMessageSender.connect();
longMessageSender.send(msg);
-------------------------------------------------
Long messages arriving on MT with no problem.


But if we trying to set default DataCoding(Suitable for 7-bit messaging)

msg.putAttribute(ie.ncl.sms.MessageAttributeNames.DCS, DataCodingScheme.Default);

There no any messages on client MT.

Can you adwise us?
View user's profile Send private message

PostPosted: Tue Sep 26, 2006 10:40 am Reply with quote
Administrator
Site Admin
Joined: 11 Aug 2004
Posts: 237




Dont set the UDHI field when using the LongMessageSender. (The LongMessageSender determines whether or not it should be used.)
View user's profile Send private message

PostPosted: Tue Sep 26, 2006 12:09 pm Reply with quote
ALX
Joined: 22 Aug 2006
Posts: 4




We tryed your advise, but in doesnt work for us.... What we can do to help you with analysis of that problem?
View user's profile Send private message

Problem with sending Long 7bit(GSM) SMS-messages!
 NCL Community Forum Index » SwiftNote (SMSJDK) Support
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic