WAP Push via SMS

WAP Push via SMS SearchSearch
Author Message
liujun
Posted on Thursday, July 31, 2003 - 12:17 pm:   

Hi All,

Could you plz tell me how to set up the SMS header when I send wap push via SMS?

Data_coding, protocol ID...

Thanks!
LiuJun
Bryce Norwood - NowSMS Support
Posted on Thursday, July 31, 2003 - 04:28 pm:   

LiuJun,

If you want to generate the push yourself, you'll need to download the WAP specifications from the Open Mobile Alliance (http://www.openmobilealliance.org) site.

When you generate a WAP push, you are generating a Push PDU as documented in the WSP (Wireless Session Protocol) specification.

The push PDU is sent via connectionless WSP to the push port (2948) on the recipient device.

Connectionless WSP is transported over WDP (the Wireless Datagram Protocol). The WDP specification specifies the encoding for WDP over GSM SMS. To support the specification of a destination port, the WDP encoding for GSM SMS uses the SMS User Data Header (UDH). Details are in the WDP specification, and the approach is compatible with the UDH encoding used by Nokia Smart Messaging (just that a specific port number, 2948, is reserved for WAP Push).

WDP and WSP specify how to construct the headers for the WAP push message. But you'll also need some content. The two most common push content formats are "Service Indication" and "Service Load", which are documented in the WAP-167-ServiceInd and WAP-168-ServiceLoad specifications, respectively. These two content formats are XML-based, and the XML gets encoded in a WBXML (Wireless Binary XML, yet another WAP spec) format ... the ServiceInd and ServiceLoad specs have examples of that encoding specific to those content types.

WAP push is also used for MMS notifications. The MMS notification is simply an alternative content type (in the same way that ServiceInd and ServiceLoad are push content types). There are some other discussions out here discussing MMS notification formats that you might find interesting for their references to the header formats.

http://support.nowsms.com/discus/messages/1/395.html
http://support.nowsms.com/discus/messages/1/462.html
http://support.nowsms.com/discus/messages/12/208.html
http://support.nowsms.com/discus/messages/1/136.html#POST1623


-bn
LiuJun
Posted on Friday, August 01, 2003 - 03:15 am:   

Brycy Hi,

Thanks for your answer.
But I knew how to produce the SMS Body.
The following is the sms body.

0605040B8423F0 (WDP)
25060A03AE81EAAF828DD9B484 (WSP)
01056A0045C60C033230 (Service Indication)
322E3135322E3232372E
32342F6D6D732F726573
2F6D757369636261722F
72696E67746F6E652F32
345F616B7574616B6269
6173612E6D6964000801
0320416B752054616B20
426961736120000101

Now I want to know how to set up the parameters of sms header.

Data_coding = ?
protocol ID = ?
......}

Thanks again!
LiuJun





Bryce Norwood - NowSMS Support
Posted on Friday, August 01, 2003 - 04:14 am:   

LiuJun,

Oh ... ok.

Don't worry about PID, set that to 0.

For DCS, you need to specify a binary encoding. F5 is used a lot, but the generic binary encoding of 4 will work just as well.

-bn
THO
Posted on Saturday, August 09, 2003 - 12:05 pm:   

Dear,

I am also working on sending SI to mobile divices via SMPP. I have successfully encode SI from textual format to WBXML format, but I don't know it's enough to add to the Data field of the Submit_SM PDU (in SMPP).

As you discussed above, we have more data before SI portion:

0605040B8423F0 (WDP)
25060A03AE81EAAF828DD9B484 (WSP)
...SI...portion....

You please tell me the structure of WSP and WDP of that example, in textual mode. I want to understand how SI is packaged in WSP and then in DSP; And that is all for sending via SMS?

Regards,
THO.

Bryce Norwood - NowSMS Support
Posted on Monday, August 11, 2003 - 12:36 am:   

Here's a real quick interpretation of the example someone else posted here. I might have missed something in the quick decode, but here's what I see ...

WDP (User Data Header):

06 - length of UDH

UDH Information Element:
05 - information element identifier (05 = application port addressing scheme, 16-bit address)
04 - information element length
0B84 - destination port
23F0 - source port

WSP:
25 - transaction id (connectionless WSP)
06 - pdu type (06 = push)
0A - headers len
03AE81EA - content type: application/vnd.wap.sic; charset=utf-8
AF82 - x-wap-application-id: w2 (wap browser)
8DD9 - content-length: 89
B484 - push-flag: 4



-bn
THO
Posted on Monday, August 11, 2003 - 02:39 pm:   

Thanks for your instruction!

I want to ask more about the Header encoding
For example, the Content-Type = "application/vnd.wap.sic; charset=utf-8" header. In the WSP Spec, the Content-Type has the value of 0x11. In the same way, application/vnd.wap.sic= 0x2E, Charset=0x01, and UTF-8=0x6A.

You please show me how to encode into the 03AE81EA sequence.

It seam that, here we use Continue bit, which each number is added by 8, but why we do that with the last value (UTF-8 = EA, instead of 6A)?

Regards,
THO
Bryce Norwood - NowSMS Support
Posted on Tuesday, August 12, 2003 - 06:57 am:   

THO,

First, the content type appears in a fixed section of the PDU. So a specific "content-type:" header is not required.

As for the encoding of the content-type value ...

The first several sections of Section 8.4 (Header Encoding) in the WAP WSP specification explain some of your questions.

In particular, refer to 8.4.2.1, which specifies the basic rules for the encoding of field values.

In this case, if we were not specifying a character set, we would encode the content type "application/vnd.wap.sic" as a single byte AE. (See how the WSP rules in 8.4.2.1 specify the "interpretation of the first octet" ... this is why the high bit is set.)

However, in this case, we need to include a parameter value with the content type. So a single byte representation of the value is no longer possible. We now have to place a length value in this first octet (03 in this case). The content type follows, and then come the parameters. Basically, when you perform WSP encoding on a field name, field value, parameter name or parameter value, you set the high bit if you are using a well-defined encoding value.

It is a bit confusing, but basically the high bits being set indicate that we are using a well known binary encoded value.

-bn
THO
Posted on Wednesday, August 13, 2003 - 12:40 pm:   

Thanks,
You are so helpful!

I now have a binary string, in UDH format.
You please tell me more about locating User Data in the SMPPv3.4 PDU.

PID=0x00
DCS=0x04 (binary encoding)
esm_class=0x40 (UDHI is set)

Which more headers I have to set?
UserData is fragmented at SMS level ? (already done in UDH).

I saw you say somewhere that, we map from UDH to GSM SMS? If so, you please give me an example.

Regards,
Tho.
Christoph Zierl
Posted on Wednesday, August 13, 2003 - 04:44 pm:   

I hope, that is what you are looking for:

Regards,
Christoph Zierl


The Data is Hex-Coded so you need a normal String to HEX function.

06
05
04
0B84 dest port no
23F0 origin port no
DC Transaction ID (Push ID)
06 PDU type (Push PDU)
01 Header Length (just leave it at 01)
AE Content Type=application/vnd.wap.sic (0x80 | 0x2E)
02 <version>
05 <si>
6A <charset=utf-8>
00 <string>
45 <si>
C6 <indication>
0C http://
03 (next is an ASCII string for the URL, terminate with 00)

3230322E392E39382E35343A383038302F43475365727665722F73657276652E6A73703F69643D31 3233343536
which means = 202.9.98.54:8080/CGServer/serve.jsp?id=123456

00 terminate string with 00
01 <indication>
03 (next is an ASCII string for title, terminate with 00)

616D757A6F2E636F6D2043472030303031
which means = amuzo.com CG 0001

00 terminate string with 00
01 <indication>
01 <si>
yayame
Posted on Friday, August 22, 2003 - 05:08 am:   

Now I passed the wap push test on a single sms,and I want to send wap push on multiple sms,but I fail because I don't know how to set the UDH,anyone can help me?
Thuran
Posted on Tuesday, September 23, 2003 - 10:42 am:   

Hi,
Does anyone have raw binary samples of SMS in CDMA?
If you have any infomation about it, please send me : tuanbeou@yahoo.com

thanks
Thuran
Bryce Norwood - NowSMS Support
Posted on Tuesday, October 14, 2003 - 08:36 pm:   


quote:

Now I passed the wap push test on a single sms,and I want to send wap push on multiple sms,but I fail because I don't know how to set the UDH,anyone can help me?




Refer to Section 6.3 of the WAP WDP specification (Mapping of WDP for GSM SMS, etc.).

To provide a simple example ... that 0605040B8423F0 in the earlier example is going to change to:

0B05040B8423F00003xxyyzz

"xx" is the WDP-SAR-reference.

"yy" is WDP-SAR-total-segments.

"zz" is WDP-SAR-current-segment.
Anonymous
Posted on Thursday, October 16, 2003 - 06:56 am:   

Hi,bryce
If I get WAP PUSH message same as above pdu,
then what next to do ? how to do?
UDH(wdp) + wsp(m-retrive.cnf) ?
can give a simple pdu ? thnaks a lot.
Albert
Unregistered guest
Posted on Wednesday, October 22, 2003 - 12:35 am:   

Hi,
What Teleservice ID should be used if WAP push is being sent via SMS message to CDMA handset. This is not the same as using WDP over SMS. Reviewing IS-637 there is reference to WAP but not WAP push. Should it be normal SMS teleservice ID or WAP teleservice ID? thank you for your help in advance.
Anonymous
 
Posted on Wednesday, October 22, 2003 - 02:29 pm:   

How can i send a MMS Notification (is-637 WAP Push) packet in CDMA network using SMPP? I am not able to map the is-637 parameters to SMPP Submit-SM parameters.

Please help.
Anirvan DuttaGupta
Unregistered guest
Posted on Tuesday, October 28, 2003 - 10:05 am:   

Hi.
Can anybody tell me the simplest and surest way of distinguishing between an ordinary SMS and a wap push message? I am writing an application that has to do that and then route these two types of messages to different destinations.

Anirvan.
Anonymous
 
Posted on Wednesday, October 29, 2003 - 03:08 am:   

The right way and the simplest way is based on the Service_type and TeleService_ID (CDMA 1X).
Comete
Anonymous
 
Posted on Thursday, October 30, 2003 - 08:36 am:   

There's no TeleService_ID in submit_sm PDU of smpp3.4.
Does it must set the Service_Type = "WAP" in submit_sm PDU when send SI via SMS?
Anonymous
 
Posted on Friday, October 31, 2003 - 03:57 am:   

Hi,

The Teleservice_ID blong to the Air Interface, not SMPP.
And, in gengral, I agree on that set the Service_type value="WAP" when sending SI/SL via SMS. In my PUSH spec for a Operator, we set the Teleservice_ID and Service_type vlaue to be a digital number.
Comete
Anonymous
 
Posted on Friday, October 31, 2003 - 06:24 am:   

comete:
if you set the service_type a digital number,how can the mobile terminal understand it?
It displays unrecognizable message in my mobile When i push a SI vi sms.I dumped the PDU and find no error.For some reason,I cann't trans service_type to SMSC.I donn't know whether it's the reason or not.and another question,does the SMSC automatically support WAP or need a upgrade?
Comete Yi
New member
Username: Cometyi

Post Number: 1
Registered: 10-2003
Posted on Monday, November 03, 2003 - 01:43 am:   

Hi,

about the WAP SMS in TeleserviceID,if you can read the TIA/EIA-41-E , the value is defined to be 4100.
Comete
Anonymous
 
Posted on Thursday, November 06, 2003 - 06:27 am:   

hi,comete:
Is cometyi@21cn.com your email address?

I have a cdma push problem to ask you.

I am also in china.shenzhen city.
Comete Yi
New member
Username: Cometyi

Post Number: 2
Registered: 10-2003
Posted on Friday, November 07, 2003 - 03:28 am:   

Yes,it is my email address cometyi@21cn.com.
I have been shenzhen for worling for 1.5 years.

thanks!!
Anonymous
 
Posted on Tuesday, November 11, 2003 - 07:39 am:   

hi,comete:
I have sent your a mail just now,please check your box.
Comete Yi
New member
Username: Cometyi

Post Number: 3
Registered: 10-2003
Posted on Tuesday, November 11, 2003 - 01:47 pm:   

Hi,

I got your email and I will check your problem. I just want to way : The large world is really so small. :-)
Comete Yi
Anonymous
 
Posted on Wednesday, November 19, 2003 - 08:44 am:   

Hi,all

This is Wap PUSH via sms pud ,I don't know if I understand it properly.

08
91 68 31 08 70 55 05 F0
--SMSC Number

44 0D
-- 44: message header flags 0d: length of TPDU

91 68 31 15 70 20 73 F4
--mobile phone Number 13510702374

00 F5
--00 :PID F5: DCS

///////////////////////////////////////
30 11 01 31 53 50 00 7A
--what's means???

///////////////////////////////////////

06 05 04 0B 84 23 F0
--WDP (User Data Header)

00 06 22
--00 wsp ;06 push type; 22 length of the content type field and headers.

61 70 70 6C 69 63 61
74 69 6F 6E 2F 76 6E 64 2E 77
61 70 2E 6D 6D 73 2D 6D 65 73
73 61 67 65 00
--application/vnd.wap.mms-message

AF 84
--AF84 is part of the headers (X-Wap-Application-ID).
--AF84
--AF X-Wap-Application-ID type=2F (+80)
--84 x-wap-application:mms.ua=04 (+80)

8C 82 98
--8c82: X-MMS-Message-Type:m-notification-ind
--98:X-MMS-Transaction-Id

61 00 8D 90 96 07 EA 7F 74 65
73 74 00 8A 80 8E 01 1E 88 06
81 04 3D D9 D6 F3 83
--83:X-MMS-Content-Location

68 74 74 70 3A 2F 2F 32 31 31 2E 31 36 32 2E 31 ; http://211.162.1
33 39 2E 31 37 30 2F 6D 6D 73 2F 67 65 74 6D 6D ; 39.170/mms/getmm
73 2E 61 73 70 3F 77 61 70 69 64 3D 38 38 32 ; s.asp?wapid=882
Comete Yi
New member
Username: Cometyi

Post Number: 5
Registered: 10-2003
Posted on Thursday, November 20, 2003 - 07:44 am:   

Hi ,
can anybody explain to me :
the DSC=F5 and DSC=04 ,what do the two value mean? and which difference?
thanks!
Fabricio
New member
Username: Fabri

Post Number: 2
Registered: 11-2003
Posted on Monday, November 24, 2003 - 02:29 pm:   

If you check GSM 03.38 (or 3gpp 23.038) you can see the meaning of the DCS field.

DCS = F5 (1111 0101) :

1111---- | Coding Group Bits | Data Coding/message class
----0--- | Bit 3 is reserved, set to 0
-----1-- | Message Coding | 8-bit Data
------01 | Message Class | Class 1: Default meaning: ME-Specific


DCS = 04 (0000 0100) :

00------ | Coding Group Bits | General Data Coding Indication
--0----- | Text is uncompressed
---0---- | Indicates that bits 1 to 0 are reserved and have no message class meaning
----01-- | Character Set | 8-Bit data
------00 | Message Class | No meaning due to bit 5




Comete Yi
New member
Username: Cometyi

Post Number: 9
Registered: 10-2003
Posted on Tuesday, November 25, 2003 - 01:42 am:   

Thanks!!
omnidirect
Unregistered guest
Posted on Tuesday, December 02, 2003 - 02:12 am:   

Hello,

Does anyboby can help me to interpret the following wsp header?? I can not recognize and dispatch it to the right application. Thank you!


E5 -> Transaction ID / push ID
06 -> PDU Push Type
1D -> Headers Length
03 AE 81 EA 45 6E 63 6F 64 69
6E 67 2D 56 65 72 73 69 6F 6E
00 31 2E 34 00 AF 82 B4 84
02 WBXML version
05 DTD version number
6A character-encoding
00
45 <CHARACTERISTIC-LIST>
C6 <CHARACTERISTIC
0C
03 ->string start
31302E312E352E35392F6F74612F507573682E6D73673F6F726465725F69643D3033303930313230 30313934
->10.1.5.59/ota/Push.msg?order_id=030901200194
00 ->String end
01 ->/> End
03 ->string start
E9 80 99
E6 98 AF
20 -> space
30 39 31 39 32 39 37 37 30 36 -> 0919297706
20 -> space
E9 80 81
E7 B5 A6
E4 BD A0
E7 9A 84
4A
61
76
61
E6 AD A1
E6 A8 82
E5 9F 8E
E4 B8 8B
E8 BC 89
E7 B6 B2
E5 9D 80
EF BC 8C
E6 95 AC
E8 AB 8B
E7 AB 8B
E5 8D B3
E4 B8 8B
E8 BC 89
EF BC 9A
00 ->String end
01 ->/> End
01 ->/> End
Comete Yi
New member
Username: Cometyi

Post Number: 10
Registered: 10-2003
Posted on Tuesday, December 02, 2003 - 02:41 am:   

Hi,
How and where did u get these code?

Verano
Unregistered guest
Posted on Wednesday, December 10, 2003 - 04:15 pm:   

Hi!

I want to know what would be the value of the optional parameter "payload_type" and "message_payload" (in SMPP specs) to send a wap push message. I know that "sm_length" must be zero (0)

Thanks!
jovaz
Unregistered guest
Posted on Sunday, January 11, 2004 - 09:02 pm:   

Hi,
can you please tell me WHERE we can download freely (detailed URL) from the http://www.openmobilealliance.org site, all the WAP approved specifications.
I've been searching everywhere.... but could not find them!!
Thank you.

JV.
nokia-user
Unregistered guest
Posted on Tuesday, January 13, 2004 - 01:10 am:   

Haven't you noticed that everybody in this board has more or less the same questions...

Won't anybody produce finally a generic API to send WAP-Pushes over SMS and share it with all of us? By working alltogether on it we could even make it better!!

Waiting for your comments on this...
Thanks!
steve
Unregistered guest
Posted on Thursday, January 15, 2004 - 05:26 am:   

Hello, anyone can help me solve this problem?

How to write the code that encode chinese character for mobile phone?
It's use the charset? How to write the code?

Thanks
Kent Williams
New member
Username: Kent

Post Number: 13
Registered: 10-2003
Posted on Thursday, January 15, 2004 - 05:44 pm:   


quote:

Does anyboby can help me to interpret the following wsp header?? I can not recognize and dispatch it to the right application. Thank you!




The content type in this message is "03 AE 81 EA", which equates to "application/vnd.wap.sic; charset=utf-8".

It is a basic WAP PUSH SI message, so I would assume that it would be routed to the WAP Browser.

--
Kent Williams
Now Wireless Support
http://www.nowwireless.com
Kent Williams
New member
Username: Kent

Post Number: 14
Registered: 10-2003
Posted on Thursday, January 15, 2004 - 05:48 pm:   


quote:

I want to know what would be the value of the optional parameter "payload_type" and "message_payload" (in SMPP specs) to send a wap push message. I know that "sm_length" must be zero (0)




Those optional parameters are not supported by many SMPP implementations. I would not use them. (We do not use them when sending WAP Push over SMS via SMPP in the Now SMS/MMS Gateway. We use the standard sm_length and short_message fields.)

--
Kent Williams
Now Wireless Support
http://www.nowwireless.com
Kent Williams
New member
Username: Kent

Post Number: 15
Registered: 10-2003
Posted on Thursday, January 15, 2004 - 05:51 pm:   


quote:

can you please tell me WHERE we can download freely (detailed URL) from the http://www.openmobilealliance.org site, all the WAP approved specifications.
I've been searching everywhere.... but could not find them!!




Then you're not looking hard enough.

The OMA web site changes layout periodically, so I'm hesitant to give a direct URL link, as it may change.

To get to the WAP specs, I go to http://www.openmobilealliance.org, select "Technical Section". Select "Material from Affiliates". Select "WAP Forum", and there you are.

The current direct URL for this page is:

http://www.openmobilealliance.org/tech/affiliates/wap/wapindex.html

Hopefully the web site layout won't change for awhile ...

--
Kent Williams
Now Wireless Support
http://www.nowwireless.com
Kent Williams
New member
Username: Kent

Post Number: 16
Registered: 10-2003
Posted on Thursday, January 15, 2004 - 05:58 pm:   


quote:

How to write the code that encode chinese character for mobile phone?
It's use the charset? How to write the code?




In what context?

Generally speaking, you would convert the Chinese text to UTF-8, and you would specify the charset as UTF-8 (as a parameter of the content type header for your content).

The exact specifics of how you do this depend on what exactly you are trying to do. If it is a WML page, I would recommend setting UTF-8 as the character set in the XML header.

For example:

<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="Test">
<p align="center">
This is a test, put your UTF-8 data here<br/>
</p>
</card>
</wml>

--
Kent Williams
Now Wireless Support
http://www.nowwireless.com
chris
New member
Username: Chrislois

Post Number: 2
Registered: 12-2003
Posted on Saturday, January 31, 2004 - 07:40 am:   

I have seen push data of MMS push notification from this forum. I want to know the SI push data of OMA DRM dr/drc rights file?

Would you please post some wap push data of OMA DRM dr/drc file? Appropriate interpret is very appreciate.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1787
Registered: 10-2002
Posted on Monday, February 02, 2004 - 08:17 pm:   

Chris,

If you are sending an SI push, there is no difference in that push whether you are sending with or without DRM.

DRM does not protect the WAP Push SI message itself, it applies to the content.

A Push SI message generally includes some text, and a URL link. The response to this URL link would be DRM content.

Now ... note here ... you specifically asked about "SI push data". A service indication (SI) is a particular content type for WAP push. So the only way to use DRM with an SI, is for the content URL to be DRM coded content.

However, DRM rights can also be sent via WAP push.

At present, the level of DRM that is implemented in current generation phones is VERY limited (mostly just forward-lock), so I don't have any good examples of DRM rights files and how to encode them for sending over WAP push. At this time, I could only forward you to the DRM specifications published by the Open Mobile Alliance (http://www.openmobilealliance.org).

-bn
chris
New member
Username: Chrislois

Post Number: 3
Registered: 12-2003
Posted on Wednesday, February 11, 2004 - 02:12 am:   

Bryce Norwood:

I really care about what you said that DRM rights can also be sent via WAP push. Nokia 6220 supports the three method(forward lock, combined delivery and separate delivery). I give you the data of drc rights from attachment. Would you please post some push data according to my attachment? Thanks!

application/octet-streamdrm drc file
sample.drc (0.1 k)
chris
New member
Username: Chrislois

Post Number: 5
Registered: 12-2003
Posted on Friday, February 13, 2004 - 05:23 am:   

Does the method of push file have the des port of 2948?
aditya nidamarthy
Unregistered guest
Posted on Friday, March 26, 2004 - 09:47 am:   

What teleservice id shall be used for downloading ringtones on Enhanced Messaging Teleservice (WEMT) per IS 637B? Can ringtones / logos be downloaded on Kyocera Rave handsets using WEMT on SMS bearer ?
Anonymous
 
Posted on Monday, March 29, 2004 - 09:36 am:   

As far as I know,Kyocera cdma handsets only support up notify msg for wap push service,'cause they use UP Browser from Openwave internally.
as up notify msg is transfered nothing more than a normal sms, so there's no need to fill the service_id(which is IS637's teleservice id reflected in SMPP) field,just let it be null.
Sudheer
Unregistered guest
Posted on Monday, May 10, 2004 - 05:13 am:   

Is it possible to get the phone type / model as soon as server receives that particular phone's SMS? If so, can u pls brief it?
Thanks..
ritu jain
New member
Username: Ritu

Post Number: 1
Registered: 05-2004
Posted on Tuesday, May 11, 2004 - 07:46 am:   

please give me an example of DRM PDU in forward lock format
Varun Ranjit Singh
New member
Username: Varun82

Post Number: 1
Registered: 05-2004
Posted on Tuesday, May 11, 2004 - 08:32 am:   

howto generate DM (Device Management) Notification pdu, for content-type: 0x44 application/vnd.syncml.notification
Anonymous
 
Posted on Friday, May 14, 2004 - 09:42 am:   

Hi,
I am trying to send a MMS Notification to P800 handset using WAP Push (compliant to OMA Encapsulation Protocol v1.2). I have attached the Payload here. The WSP+MMS_PDU is segmented in 2 messages at WDP (over SMS). The UDH segment is verified to be correct. The DCS and ESM Class used are 0xf5 and 0x41 respectively. I am unable to get the device recognize this notification. Can anyone tell me what is wrong with this encoding? Any help would be greatly useful to me.

Thanks in advance.

// WSP Payload -- Push PDU
1 => Transaction ID
6 => PDU Type: Push
26 => Headers Len
61 70 70 6c 69 63 61 74 69 6f 6e 2f 76 6e 64 2e 77 61 70 2e 6d 6d 73 2d 6d 65 73 73 61 67 65 0
=> ContentType: application/vnd.wap.mms-message
af 84 => WAP-Push-Application-Id: MMS User Agent
b4 84 => Push-Flag: 0x04;
8d f0 => Content-Length: 240

// MMS Payload -- Notification.IND PDU
8c 82 => Message-Type: MM1_Notification.IND
98 0 => Transaction-Id: ""
8d b3 => MMS-Version: 5.3
8a 83 => Message-Class: Auto
8e 2 90 0 => Message-Size: 2048 (WSP::uintvar)
88 6 80 84 85 93 88 43 => Messsage-Expiry
83 68 74 74 70 3a 2f 2f 6d 6d 73 2e 6c 69 67 68 74 73 75 72 66 2e 63 6f 6d 2f 63 67 69 2d 62 69 6e 2f 6d 73 67 71 3f 6d 73 67 5f 69 64 3d 35 35 35 0
=> Content-Location: http://www.lightsurf.com/cgi-bin/msgq?msg_id=555
96 54 68 69 73 20 69 73 20 61 20 74 65 73 74 0
=> Subject: This is a test
89 18 80 73 61 74 68 79 61 40 72 70 67 63 65 6c 6c 75 6c 61 72 2e 63 6f 6d 0
=> From: sathya@rpgcellular.com
krishna kumar
Unregistered guest
Posted on Wednesday, May 19, 2004 - 10:06 am:   

what r the basic requirements(H/w, S/w) to send sms through PC by nokia 5110
Anonymous
 
Posted on Thursday, May 20, 2004 - 07:29 am:   

Comete Yi:
Can you tell me the difference between wap push via GSM sms and wap push via cdma sms?
I sent to your mail in bbs ,but refused by mail system,:-(.
Could any other body can help me?
Thanks a lot!
Comete Yi
New member
Username: Cometyi

Post Number: 19
Registered: 10-2003
Posted on Wednesday, June 02, 2004 - 10:11 am:   

Hi, I just read ur message.
GSM and CDMA PUSH via SMS is a little difference, the WDP and SMS layer.

Push body/WSP/WDP/SMS, I think you can find a reference in this BBS about PUSH over GSM SMS and PUSH over CDMA SMS.
my mail is :cometyi@21cn.com , it is available now.

Comete Yi
Anonymous
 
Posted on Monday, August 02, 2004 - 02:28 pm:   

Hi,

When receiving my wap push on a nokia 7610 a "Service message received from an unkown service" is displayed.

Does anybody know how (which field should be set) in order to get rid of this message.

Thank you,
Balint
Anonymous
 
Posted on Wednesday, December 22, 2004 - 11:17 am:   

hi, i receive the message format is:
...
0b //the header length
05 04 0b84 23f0 //the port
00 03 140201
15 //the translation id
06 //push
5f //the length of header
... //the header and terminate with 0x00
//follow is the data
8C 82 98
31 32 32 31 31 37 33 37
34 33 39 32 30 30 30 31
30 30 37 31 36 30 34 30
38 30 34

what's the data segmenet mean?
thanks
Joerg Tuttas
New member
Username: Tuttas

Post Number: 1
Registered: 06-2004
Posted on Thursday, December 23, 2004 - 07:22 am:   

Ok I've now read enought to get more known about the wap push technologie, but there is a fundamental question remaining.

I want to send an URL in a wap push sms. So I understand that I have to cover the url in the protocolls described above. So I have a byte array that covers all the informations.

But how I can send this through a serial connection to my gsm modem. I know how to send "normal" text SMS with the AT Command 'cmgs'. But when I send the data array this way I've got only normal text msg (with some strange charakters ;-). So where is the missing information to understand the mechanism of WAP push. Can any one help ?

best regards (and a merry christmas :-)
Anonymous
 
Posted on Tuesday, March 29, 2005 - 05:42 am:   

I have the same question.
how to send the pdu code via sms device.
should i use the at command at+cmgs?
if so how can i get the length of the pdu code.
(sizeof(..)/sizeof(BYTE))/2 ???
hope some can help me..
best regards
Khwezi Mngoma
New member
Username: Nexus

Post Number: 15
Registered: 11-2003
Posted on Thursday, March 31, 2005 - 12:45 pm:   

Hi Bryce, I have composed a submit_sm so that i can send an OTA push to a phone. The submit_sm gets an good ack then a status of Delivered, the phone starts making that signal noise as though its receiving an SMS, then it keeps quiet.

I generated a hex dump of all sections, then i broke it down to the individual pieces. Please help me out to see what i got wrong.

Complete SMPP: 000000CB000000040000000000E0C212000101323738323030373031313000010132373832343434 3734343600400000000001000400940605040B8423F0DC0601AE02056A0045C60C033139362E3337 2E3134322E3131373A383038322F32373832343434373434362F313031375F384337303431343546 3536423346452E4D4944000AC3072005033114234310C3072005040714234301034D494720536572 76696365204E6F74696669636174696F6E3A20436F6E74656E74204E6F7720417661696C61626C65 000101

Complete Payload: 0605040B8423F0DC0601AE02056A0045C60C033139362E33372E3134322E3131373A383038322F32 373832343434373434362F313031375F3843373034313435463536423346452E4D4944000AC30720 05033114234310C3072005040714234301034D49472053657276696365204E6F7469666963617469 6F6E3A20436F6E74656E74204E6F7720417661696C61626C65000101

WSP Section: 0605040B8423F0DC0601AE

SI Section: 02056A0045C60C033139362E33372E3134322E3131373A383038322F32373832343434373434362F 313031375F3843373034313435463536423346452E4D4944000AC3072005033114234310C3072005 040714234301034D49472053657276696365204E6F74696669636174696F6E3A20436F6E74656E74 204E6F7720417661696C61626C65000101

Thanks in advance.


Anonymous
 
Posted on Thursday, June 16, 2005 - 01:59 pm:   

What would be needed to send WAP Push over SMS to Sony Ericsson k700/k700i? When I try with this SMS and UDH:

0605040B8423F0
69060A03AE81EAAF828D2DB484

It works fine on Nokia 6230, Siemens S65 and "works" on P800 (need to start the browser to see it, any way to overcome that?), but no go on K700i (not even a beep). Any idea why?
Joe Kwan
Unregistered guest
Posted on Tuesday, July 19, 2005 - 07:24 am:   

Hi all expert,

I am very green on WAP push. Recently, I need to handle a project using WAP push and I have sent the following content sending from a SIM card to the phone, SonyEricsson T610.

00 35 06 05 04 0B 84 23 F0 65 06 01 AE 02 05 6A 00 45 C6 0C 03 77 61 70 2E 63 6C 69 63 6B 74 68 65 63 69 74 79 2E 63 6F 6D 00 01 03 4A 6F 65 20 4B 77 61 6E 00 01 01

PID=00, DCS=F5, MTI=01, MR=01

But the received message is going to the inbox of the SIM with carbage character and the URL character. Seems that the SMSC just reply the orignal message and sent to the inbox. Does the WAP push format is correct? Any misconfiguration of the WAP push via SMS? Greatly appreciate your reply. Thanks!!
Andor
Unregistered guest
Posted on Monday, August 22, 2005 - 02:55 pm:   

Helo,

I need a great idea. My problem is the follow:
The SIC message is stored not in sms list in the phone.
I need SMS, that stored in the sms list, and includes a wap link and text, and people can click on the link directly when reading a sms.
At this time, I using a push sms with SIC, and its working, but this messages stored in browser menu.
The working SIC message in php:
$segment_header = "0605040B8423F0";
$message = "390601AE02056A0045C60C03".strtoupper(bin2hex($link))."000103".strtoupper(bin2he x($text))."000101";
Please give me a good idea!
Thanks
Andor
vineet pathak
Unregistered guest
Posted on Friday, October 28, 2005 - 07:08 am:   

HI I WANT COMPLETE WAP PUSH HEX PDU(including all headers) fragmented as well as single
abri
Unregistered guest
Posted on Monday, October 31, 2005 - 10:42 am:   

How can i test Wap push over SMS
Rohit Kothari
Unregistered guest
Posted on Wednesday, November 02, 2005 - 05:40 pm:   

Hi, i am testing handling of WAP Push messages on mobile handset.
I am looking for Sample Raw WAP Push Data for testing.
I have one sample that goes to http://www.google.com//. I need some more.
Can anybody provide me with more sample data or point me to some URL from where i can get that data. Mail-ID: rohit_kothari@hotmail.com
The google sample i have look like this:
{0x00, 0x03, 0x6a, 0x6f, 0x6e, 0x01, 0x87, 0x04, 0x28, 0x00, 0x08, 0x01, 0x1f, 0x80, 0x5c, 0x20,0x00, 0x30, 0x20, 0x1d, 0x74, 0x0f, 0x50, 0x08, 0x00, 0x38, 0x01, 0x1b, 0x3b, 0x7b, 0x7b, 0x3b,0x63, 0x28, 0x01, 0x69, 0x79, 0x7a, 0xba, 0x0a, 0x82, 0x32, 0x7a, 0x92, 0xaa, 0x69, 0x79, 0x7a,0x22, 0xa2, 0x21, 0x02, 0x9a, 0x49, 0x01, 0x89, 0x71, 0x81, 0x79, 0x7a, 0x2a, 0x70, 0x02, 0x2e,0x30, 0x6c, 0x18, 0x04, 0x28, 0x19, 0x78, 0x00, 0x8c, 0x18, 0x00, 0x50, 0x19, 0x89, 0xc9, 0xb1,0xc1, 0x69, 0x81, 0xa1, 0x69, 0x99, 0x82, 0xa1, 0x81, 0x91, 0x71, 0xa9, 0xa9, 0x71, 0x81, 0x82,0xd0, 0x00, 0x80, 0x19, 0x91, 0x81, 0x81, 0xc1, 0x69, 0x81, 0xa1, 0x69, 0x99, 0x82, 0xa1, 0x81,0x91, 0x71, 0xa9, 0xa9, 0x71, 0x81, 0x82, 0xd0, 0x00, 0x40, 0x08, 0x19, 0x02, 0xb3, 0x4b, 0x9b, 0x4b, 0xa1, 0x02, 0x3b, 0x7b, 0x7b, 0x3b, 0x63, 0x29, 0x09, 0x00, 0x00, 0x08, 0x08};

Thanks,
Rohit Kothari
Anonymous
 
Posted on Thursday, November 03, 2005 - 11:44 am:   

Hi!

I'm testing an application that I wrote to handle WAP push messages and was curious to know if there was a way I could know the application ID that is being sent as part of the WAP headers.
Alternately, is there a way I could specify the application ID while using the web interface provided by the NowSms tool?
Ankur
New member
Username: Phoneynk

Post Number: 6
Registered: 10-2005
Posted on Monday, November 21, 2005 - 02:26 pm:   

I used Nokia NMIT to generate dcf and dr file of some gif file.
Then I used the NOw SMS interface's Send XML settings to send this to some dummy smsc.

This is the message send by the NOw SMS to SMSC

0605040B3F233F2006033F3F3F030E6A3F053F063F3F01464703312E300101494A4648036369643A 6C6F676F66696E616C3101014B4C3F103A1F3F3C3F3F52513F234E3F20483F3F0101014D4F520101 010101
But when I send it to my Sony erricson K700i . It si displaying it as text(binary).
Non DRM supporting phones are not receiving the message.

Actually I do not have a direct SMSC user name password, All i have is some url using which I can Send Sms and wap push
That is Why I can not use Now sms directly
Anonymous
 
Posted on Thursday, November 24, 2005 - 09:44 am:   

Hi, I need informations on how to send a wap push using vb. More of the links given is not there anymore.
JY Chen
Unregistered guest
Posted on Monday, May 29, 2006 - 12:22 pm:   

Hi,
I want to test the handset receive the Trusted Push. We need to make server send the push with trusted header, so could you tell us how to set it on now.sms. Please also see the button which is copied from spec of Push OTA Protocol:

-------------------------------------------------
9.1 Header Based Protocol Data Unit
The header definition rules in this sub-section follows the rules in [HTTP]. WSP compact encoding rules MUST be used to encode them for over the air efficiency.

9.1.1 Accept-Application
Accept-Application = “Accept-Application” “:” app-ranges
App-ranges = ( #app-id | “*” ) [PushMsg]
; * means any application id.

9.1.2 Bearer-Indication
Bearer-Indication = “Bearer-Indication” “:” bearer-type
Bearer-type = 2HEX ;as defined in by WDP.

9.1.3 Push Flag
Push-Flag = “Push-Flag” “:” 1*7BIT
; bit mask flags to indicate the following:
; 1: initiator URI is authenticated.
; 10: content is trusted.
; 100: last push message.
; other: reserved for future use.
; BIT is defined in [ABNF].

-------------------------------------------------


Thanks!
milon
New member
Username: Miloncse

Post Number: 5
Registered: 07-2006
Posted on Saturday, August 12, 2006 - 09:16 am:   

hi
i am working in a content providing office
i have direct access to some of our operator(e.g. AKTEL)
we use SMPP V3.4
i can send wap push SI to my nokia 3230 phone using now sms. this thing works fine.
according to nokia forum's browser characteristic documents, my phone supports wap push SL also.
but when i send wap push SL it works just like SI except cache execute mode. in cache execution mode my phones GPRS sysbol moves but afterwards it become normal.
here is my log for wap push SL in nowsms
Binary=1
DCS=F5
UDH=0605040B8423F0
Data=9E0601B002066A00850A0378797A2E636F6D2F70706169642F3132332F6162632E776D6C000 501
i can decode this.
i dont get any error.
is there anyone can help me plz?
Moudy Sameh
New member
Username: Moudy_sameh

Post Number: 1
Registered: 10-2006
Posted on Monday, October 23, 2006 - 02:06 pm:   

Is there any open source java library for WAP push SMS implementation
to get the SMS body formatted
Monica
New member
Username: Moniquiu

Post Number: 2
Registered: 10-2005
Posted on Friday, November 24, 2006 - 03:45 pm:   

Hello!

I need to convert a configuration ota made in XML to PDU, but I can't find a program that does it. If you can help please...

Monica
deepkamal singh
New member
Username: Deepkamal

Post Number: 5
Registered: 12-2006
Posted on Wednesday, December 13, 2006 - 03:59 am:   

Hi,
Hope this will help a little,
http://support.nowsms.com/discus/messages/132/8801. html

Deepkamal Singh
deepkamal@gmail.com
Khmer Tech
New member
Username: Khmertech

Post Number: 2
Registered: 07-2008
Posted on Friday, July 11, 2008 - 10:55 am:   

Hi;
I have a straing problem; and I tried to read your advice through this thread; but seem that it couldn't be solved.

Pls look into my binary message:
I)-000001e3000000040000000000000002310000003031323333333532310000003031323930323 130320040000000000100f500000424ffab
II)-0605040b8423f0010601b603046a387761702d70726f766973696f6e696e67646f6300636861 72616374657269737469630074797065007061726d006e616d650076616c75650003090044000320 0d0a0900c414042303424f4f5453545241500001030d0a008428042d034e414d4500043203617070 730001030d0a0001032000c4140423034e41504445460001030d0a008428042d034e414d45000432 03617070730001030d0a008428042d034e4150494400043203617070735f4e415049440001030d0a 008428042d034245415245520004320347534d2d475052530001030d0a008428042d034e41502d41 4444524553530004320333670001030d0a008428042d034e41502d41444452545950450004320341 504e0001030d0a008428042d03494e5445524e4554000103200d0a0900c4140423034e4150415554 48494e464f0001030d0a008428042d034155544854595045000432035041500001030d0a00842804 2d03415554484e414d45000432036d6f626974656c0001030d0a008428042d034155544853454352 4554000432036d6f626974656c0001030d0a0001030d0a0001030d0a0001
where i believe the first line is SubSM information such as SrcAddress, Destination address, smpp account, smpp host...etc.
1)-0605040b8423f0 should be UDH
2)-01 Transaction ID
3)-06 PDU Type
4)-01 Header Leng
5)-b6 Content-Type: application/vnd.wap.connectivity-wbxml
6)-03046a for header of WBXML which
a)-03:Version 1.3
b)-04: Known Public Identifier
c)-6a: Charset = UTF-8

and the rest:[387761702d70726f766973696f6e696e67646f630063686172616374657269737469630074 797065007061726d006e616d650076616c756500030900440003200d0a0900c414042303424f4f54 53545241500001030d0a008428042d034e414d4500043203617070730001030d0a0001032000c414 0423034e41504445460001030d0a008428042d034e414d4500043203617070730001030d0a008428 042d034e4150494400043203617070735f4e415049440001030d0a008428042d0342454152455200 04320347534d2d475052530001030d0a008428042d034e41502d4144445245535300043203336700 01030d0a008428042d034e41502d41444452545950450004320341504e0001030d0a008428042d03 494e5445524e4554000103200d0a0900c4140423034e415041555448494e464f0001030d0a008428 042d034155544854595045000432035041500001030d0a008428042d03415554484e414d45000432 036d6f626974656c0001030d0a008428042d0341555448534543524554000432036d6f626974656c 0001030d0a0001030d0a0001030d0a0001]
are the message body that reading from wbxml file.

The problem is that; when I trace the message using Wireshark; it doesn't show that the message is broken in term of UDH that exists in that data.

Can anyone pls help me to break down into UDH so; that I can send WAP PUSH through SMS using SMPP?

Best
K.
Jelena Jovanovic
New member
Username: Jelena2607

Post Number: 1
Registered: 09-2011
Posted on Sunday, September 04, 2011 - 10:44 am:   

Hi All,

Could anyone please tell me what esm_class = 0x03 means? If dcs is set to 0/1/3... what is the type of that message if esm is 3?

BR,
Jelena
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3439
Registered: 08-2008
Posted on Monday, September 05, 2011 - 12:23 pm:   

Hi Jelena,

You will find a copy of the SMPP specification here: http://support.nowsms.com/discus/messages/1/24856.html

esm_class=3 indicates that the message should be delivered using normal "store and forward" delivery.

When WAP Push was first developed, there was some thought that it would want to use datagram mode, which means that if the SMSC cannot deliver immediately, it should give up and return an error. esm_class=3 would be interpreted as an attempt to avoid this datagram mode, and use the normal "store and forward" mode.

--
Des
NowSMS Support

Add Your Message Here, or click here to start a new topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Options: Automatically activate URLs in message
Action: