Receiving WAP-Push, how to decode??

Receiving WAP-Push, how to decode?? SearchSearch
Author Message
Christoph Zierl
Posted on Tuesday, August 12, 2003 - 08:11 am:   

Hi,

We have a project, where we have to receive wap-push messages over nowsms. When I receive such a message it is coded like this:

0605040B8423F0010601AE02056A0045C60C03636C69636B2E6578742E6E6F6B6961008503776572 6E657233372E636F643F7469643D3263363239636265373330363161613237373232316563363862 39373362633626743D31266C3D6465000AC3072003081112403110C3042003081601037765726E65 723337000101

Now I have to decode this message to get the WAP-URL out of it! I tried hex-->string convert, but it does not work. Does anyone know how to decode such a message, or is there any possibility in nowsms to get a wap-push in normal text format?

thanks
Christoph Zierl
Wapfried Puscherl
Posted on Wednesday, September 10, 2003 - 05:33 pm:   

Is the Hex code already the payload or the complete SMS including all the SMS fields like destination MSISDN. For the Payload you have to study the WAP WSP spec and get used to short integer encoding etc. Payload starts off with WDP and WSP layer including headers like content-type, content-length, charset, encoding etc. After that you have to read the Service Indication spec, because the Push message itself, as it is displayed on the device, uses binary tokens for all tags (it's xml based, or say better markup style). It may take a while, but after that you can read in ethereal like your daily newspaper.

If you want to read the complete SMS containg the Push message itself, send one to a Siemens SL45, because this phone stores every incoming SMS on SIM. After that you can get the complete HEX code using a SIM reader like the X13.

Pushmaster
Thuran
Posted on Tuesday, September 23, 2003 - 10:14 am:   

Hi,
I have written a libruary for SMS of CDMA. But I don't know does it work correctly.
Does anyone have raw binary samples of SMS (SMS_Point_to_Point, SMS_Acknowledgment, SMS_BroadCast, SMS_Submit, SMS_Delivery,... )?

thanks
Thuran (tuanbeou@yahoo.com)