Hi Saeed,
As per SMPP spec password should not be longer than 8 chars long (9
including NULL terminator). Tell your SMPP provider to set your password
accordingly.
Regards,
Bassam
On Thursday, March 14, 2013 7:49:38 PM UTC+3, Saeed wrote:
>
> Hi Ashwin,
>
> thank you very much for your response. I checked that issue with operation
> and they changed some configurations. But there is still
> a simple problem. My application is sending userId and password in String
> format. But SMSC is expecting hex code. Here is an example
>
> Application: 00 00 00 24 00 00 00 01 00 00 00 00 00 00 00 0150053
> 00iXY50053 00 004 00 00 00
> SMSC: 00 00 00 24 00 00 00 09 00 00 00 00 00 00 00 01 35 30 30 35 33 00 69
> 41 4E 35 30 30 35 33 00 00 34 00 00 00
>
> if I convert directly my userid and password from String to Hex code in
> this method new BindAttributes("50053", "iXY50053", "", BindType.RECEIVER),
> I get an exception because my password is longer than 9 characters.
> Do you have any Idea how can I deal with this issue? or is there any other
> solution for this case?
>
> Thank you for your time and hesitation
> Saeed
>
--
You received this message because you are subscribed to the Google Groups
"SMSLib Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msg/smslib/-/3Bo2yF_sPOYJ.
For more options, visit https://groups.google.com/groups/opt_out.