SMS - pdu/Binary Mode

SMS - pdu/Binary Mode SearchSearch
Author Message
ronan tobin
New member
Username: Rmdire

Post Number: 1
Registered: 05-2005
Posted on Wednesday, May 25, 2005 - 05:24 pm:   

Hi,
I've seen on the archive some very good posts
regarding sending sms in pdu mode to a specific port.
I followed all the info and am trying to send a pdu sms to a specific port to push/wake a midlet on my k700i

it works fine for normal text sms - the midlet wakes and does what it should

but for some reason the midlet will not wake when I send a pdu sms to the same port number

from the archive info:
The encoding for the UDH is 060504xxxxyyyy
where xxxx is the destination port and yyyy is the origin port in HEX format.

according to the SMSCenter - the message is delivered to the phone

and checking my normal default sms inbox - its full of my messages (but no alerts - strange!)
Even though I have set the HEX value of the port in the UDH, to send the binary message to,
it keeps delivering to the normal sms inbox.

anybody know why this is.

Cheers

rmdire
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4583
Registered: 10-2002
Posted on Wednesday, May 25, 2005 - 08:58 pm:   

It's a bit difficult to say, because I don't know how you are sending the SMS message.

So I don't know if you are correctly indicating that UDH is present in the message.

And I don't know what service you are submitting the message to, and what protocol is being used.

My first suspicion is that the UDH is not actually being received as UDH. But I don't know enough about your setup.

-bn
ronan tobin
New member
Username: Rmdire

Post Number: 2
Registered: 05-2005
Posted on Thursday, May 26, 2005 - 09:45 am:   

details as follows:

Variables (via HTTP Post ONLY)

username - username
password - password
destination - destination number (ie 447740..)
originator -not necessary default if not specified
udh - User Data Header in hex format
data - User Data Portion in hex format
encode - 7/8/16
Example header/data set:

"udh"="06050404500000"
"encode"=7
"data"="01060403AE81EA02056A0045C60b03687474703a2f2f7777772e612d712e636f2e756b2f 0011033240736d7332656d61696c000801035465737450757368000101"

Thanks for taking a look

Cheers

rmdire
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4595
Registered: 10-2002
Posted on Thursday, May 26, 2005 - 06:00 pm:   

Why do you have encode set as 7?

I have a feeling that the service provider is using this as an indication that you are sending a text message. And they might be then ignoring the UDH or otherwise corrupting the message.

Without seeing documentation for this service provider, I would think that you would want to use "8" there.

-bn