Binary wap push sms

Binary wap push sms SearchSearch
Author Message
Olli-Pekka Manninen
New member
Username: Opmdevil

Post Number: 1
Registered: 03-2005
Posted on Friday, March 11, 2005 - 12:56 pm:   

I'm trying to make a program that generates binary wap push messages. I've managed to generate the following:

0605040B8423F025060A03AE81EAAF828D9DB48401056A4
5C60D03676F6F676C652E636F6D000103676F6F676C65000101

The Url is "http://www.google.com"
and the text is "google"

Well, this doesn't seem to be right bacause it doesn't work. Can anyone tell me what is wrong with it. Don't tell me to read specifications because I have and I just don't undestand what't wrong with it.

Please...
anonyous
Unregistered guest
Posted on Saturday, March 12, 2005 - 09:29 am:   

If you read the specification and don't understand, how can you generate the binary wap push and expect it to work. The phone don't understand either.
harjeet
Unregistered guest
Posted on Monday, March 14, 2005 - 07:12 am:   

hum tum
dks197
Unregistered guest
Posted on Wednesday, March 16, 2005 - 01:16 pm:   

see Opmdevil,
in very layman language let me describe it as below,
for a simple SI we have these fixed components
or constants of a push
udh = "0605040B8423F0"
tagData1 = "DC0601AE02056A0045C60C03"
tagData2 = "000103"
tagData3 = "000101"
now there are two components which you can say are variables
first is Push Title let it be 'Download ABC'
and second is Push Target Url lets take it as 'www.abc.com'

now just use any algo to convert these two in HEX,
for example u can use bin2hex() function in PHP
or file2hex.exe ,
or use following function code in VB

'=================================================

Private Function strToHex(myStr As String) As String
Dim hexStr As String
Dim hexTmp As String
Dim i%

For i = 1 To Len(myStr)
hexTmp = Hex(Asc(Mid(myStr, i, 1)))
hexStr = hexStr & hexTmp

Next

strToHex = hexStr

End Function
'=================================================

now u have push title and url converted into hex lets name them HexTitle and HexUrl

so your sms body goes like this

tagData1+HexTitle+tagData2+HexUrl+tagData3

here '+' is used to indicate concatenation ,dont use as it is,but just concatenate them.

and mention UDH as mentioned above for sms's UDH,

hope you get some success, btw this is very basic SI, and to understand these (tagData1,tagData2 ....) u have to go through the Docs and Specs my friend,
best of luck
Deepkamal Singh
dks197@gmail.com
Darek Chorazewicz
New member
Username: Daro

Post Number: 27
Registered: 03-2004
Posted on Monday, May 30, 2005 - 05:31 pm:   

Hi.
Try to us our on-line converter to encode wap push messages, http://converter.statsms.net

DARO
kojuh
New member
Username: Devil_dog

Post Number: 6
Registered: 11-2005
Posted on Friday, December 23, 2005 - 09:21 am:   

hi...
thanks for some explanation.

i am trying to send a wap push(from clickatell) to myself using the above guideline....but no luck.

my phone is samsung E700, encoded the information as mentioned

used the output of tagData1&HexTitle&tagData2&HexUrl&tagData3 as the SMS text, used UDH as 0605040B8423F0 ...
when i open the sms recieved on my samsung E700, i get a "Incompatible message"...


NOTE: this has nothing to do with nowSMS as i dont use it. In case posts not related to nowSMS isint allowed here then please delete this post.
DeepKamal
Unregistered guest
Posted on Monday, March 06, 2006 - 05:21 am:   

Hi Kojuh,
see the format i've explained is very basic format , tried and tested on Nokia and Sony Ericsson handsets,as i faced no issues with both so i think it should work for Samsung also,, well E700 of samsung should be wap compatible handset (which i guess u r sure that it is),wat u can do, is that u can try the same push over other handsets of Nokia, or SE, see if it works on that then one thing we will be sure tht ur gateway link is at least proper, but if it is not working there also then there must be some format encoding needed to make it compatible with the gateway,
just try it ,
All the Best
DeepKamal Singh
Deep Kamal Singh
deepkamal@gmail.com
Anonymous
 
Posted on Monday, March 06, 2006 - 07:29 pm:   

deleted by admin 565