Page 1 of 1
Need Clarification
Posted: Wed Jan 03, 2007 4:51 am
by reyami
First, I would like to thank for this library.
I have used the SubmitText method, but I couldn't see any change in the sent data when changing the SubmitMode from ShortMessage to Payload.
I also want to know if it is possible to send Text as ASCII bytes instead of Unicode characters, which require two octets for each character. This is a waste of you only send English characters.
Awaiting your reply
Posted: Thu Jan 04, 2007 11:02 pm
by alt
When you use ShortMessage mode, you send long messages with altered UDHI flag, message parts in short_message field and reference number in its User-Data-Header.
When you use Payload mode, you send long messages in the optional parameters message_payload, sar_msg_ref_num, sar_total_segments, sar_segment_seqnum.
Current version does't support other encoding besides Unicode.
You should wait when I release new version.
Posted: Sat Jan 06, 2007 9:09 am
by alt
Version with ASCII encoding now available.
You can download
ALT.SMS.SmppClient 1.2 + Demo for .NET 1.1 , 2.0 and Mono
Please test it.
Thanks
Posted: Sat Jan 06, 2007 7:49 pm
by reyami
Thanks a lot for this feature. It will really help optimize the application I am developing.
As for the payload feature, I noticed the difference in output when I send messages longer than 65 Unicode charcters. However, I think that the payload feild can hold up to 64k, which is not implemented in the library. Any reason for that?
Thanks again.
Posted: Sat Jan 06, 2007 8:26 pm
by alt
you can use SmppClient.ShortMessageMaxBytes to increase bytes number in message_payload field or in short_message for one part of SubmitSm. Default is 140 bytes.
But maximum length depends on SMSC you connect to.
Posted: Sun Jan 07, 2007 12:28 am
by reyami
Thanks for your support.
I will be testing the new features during this week.