Need Clarification

Smpp v3.4 client

Moderator: alt

Locked
reyami
Posts: 3
Joined: Wed Jan 03, 2007 4:45 am

Need Clarification

Post by reyami » Wed Jan 03, 2007 4:51 am

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
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Thu Jan 04, 2007 11:02 pm

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.
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Sat Jan 06, 2007 9:09 am

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.
reyami
Posts: 3
Joined: Wed Jan 03, 2007 4:45 am

Thanks

Post by reyami » Sat Jan 06, 2007 7:49 pm

Thanks a lot for this feature. It will really help optimize the application I am developing. :D

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.
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Sat Jan 06, 2007 8:26 pm

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.
reyami
Posts: 3
Joined: Wed Jan 03, 2007 4:45 am

Post by reyami » Sun Jan 07, 2007 12:28 am

Thanks for your support.

I will be testing the new features during this week.
Locked