Discussion Board
Sending USC2 message using PC connectivity SDK
1970-01-01, 02:00
#1
Registered User
Hi,
I am trying to send an UCS2 sms, but it seems there is something wrong I am not getting the SMS. Please find below my code, If you can help me to know where is the error:
Set cIShortMessage = puISMSSend.CreateShortMsg
Call puISMSSettings.GetCommonSMSSettings(StatusReportRequest, ReplyPath)
cIShortMessage.StatusReportRequest = StatusReportRequest
cIShortMessage.ReplyPath = ReplyPath
ParameterSetIndex = 1
cIShortMessage.ValidityPeriodFormat = RELATIVE_FORMAT
Call puISMSSettings.GetSMSParametersSet(ParameterSetIndex, ParameterSetName, ProtocolIdentifier, DataCodingScheme, ValidityPeriod, SCAddress)
cIShortMessage.ProtocolIdentifier = ProtocolIdentifier
cIShortMessage.DataCodingScheme = 8
cIShortMessage.ValidityPeriodRelative = ValidityPeriod
cIShortMessage.SCAddress = SCAddress
cIShortMessage.UserDataFormat = UNICODE_16_BIT
cIShortMessage.UserDataText = "01000A9169656351510008080074006500730074"
cIShortMessage.OtherEndAddress = "+9656361515" 'destination
Call puISMSSend.Send(cIShortMessage) 'send SMS
Best Regards
Meshal
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules