I need help about Service Loading (wap push) | Search |
NowSMS Support Forums ⬆ WAP Technical Discussions (unsupported) ⬆ Archive through December 08, 2004 ⬆ |
◄ ► |
Author | Message | |||
den_b Unregistered guest |
Hi All!! I have the following SMS PUSH message with Service Loading content. User Data Header: 0605040B8423F0010605B0AF028002 Binary Data: 190601B002066A008509033231322E39322E3134352E31303A38312F677072732F6D6E2F 73656E642E636769000601 Data Coding Scheme): F5 Could somebody clarify what 190601B0 prefix means before Service Loading content in binary data. How should I decode it????? Thanks Den | |||
George A. K Unregistered guest |
I think 190601B0 is the WSP headers 19 - Transaction ID 06 - Pdu Type - Push 01 - Header Length B0 - Content Type - application/vnd.wap.slc I guess the UDH header you have given has some some data other than UDH UDH :0605040B8423F0 Extra bytes: 010605B0AF028002 This again seems like WSP header. But think there are error in them. Pls correct me if analysis is wrong. 01 - Transaction ID 06 - Pdu type - Push 05 - Header Length B0 - Content Type - application/vnd.wap.slc AF - X-Wap-Application-Id 02 - The MS bit of this value should be set to 1. 02(82 whe MS bit set to 1) is x-wap-application:wml.ua - WML User Agent. 80 - Accept Header - Not sure it this should be present here. 02 - ?? Theres seems to be two set of WSP header with one of them being correct. | |||
den_b Unregistered guest |
Hi George!! I think you are right there are two sets of WSP headers. But both seems to be right. Please see my analysis below: 01 - Transaction ID 06 - Pdu type - Push 05 - Header Length B0 - Content Type - application/vnd.wap.slc AF - X-Wap-Application-Id 02 - The MS bit of this value should be set to 1. 02(82 whe MS bit set to 1) is x-wap-application:wml.ua - WML User Agent. 80 - Accept Header - Not sure it this should be present here. 02 - ?? 8002 is x-wap-docomo:imode.mail.ua, according WINA. It is used to identify the i-mode mail application user agent on a mobile device. And preceding value 02 is length of WSP header. Best regards Den | |||
George A. K Unregistered guest |
Hi Den! Yes you are right 8002 is x-wap-docomo:imode.mail.ua is a WINA registered value. But it falls under the second category "Reserved values". In the second category "x-wap-application-Id" cannot be used as the Namespace Identifier in the URN (Refer http://www.wapforum.org/wina/push-app-id.htm). Also the encoding of X-Wap-application-id is as follows Application-id-value = Uri-value | App-assigned-code App-assigned-code = Integer-value Uri-value = Text-string The value-length App Id encoding cannot be used. I think x-wap-docomo header must be encoded using the Token-text. Your comments please. Thanks & regards, George A. K |