Binary SMS is interpreted as Text SMS by J2ME

Binary SMS is interpreted as Text SMS by J2ME SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through February 02, 2006 » Binary SMS is interpreted as Text SMS by J2ME « Previous || Next »
Author Message
geri-m
Unregistered guest
Posted on Monday, October 24, 2005 - 05:37 am:   

I'm trying to send binary information to a handset running a J2ME app listening to port 5000 using this link:

http://10.41.1.179:8800/?PhoneNumber=%2B43664xxxxxxx&Data=0074006500730074&UDH=0 6050413881388&pid=00&dcs=08&binary=1

My Problem is: the incoming binary message on the handset is declerated as an instance of 'TextMessage' and not 'BinaryMessage' (javax.wireless.messaging).

Anyone any ideas why?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5182
Registered: 10-2002
Posted on Tuesday, October 25, 2005 - 02:09 pm:   

DCS=8 would indicate that it is a Unicode message. So it does make sence that the application would see it as a text message (and it looks like valid Unicode text in the message).

If you want it to be received as binary, you should try DCS=4.

-bn

Login Login / Register Logout Logout Search Last 30 Days Topics Topics