Email notification OMA WAP Push problem

I am trying to send an OMA Email Notification ( EMN ) 1.0 WAP-Push, to a mobile device to force it to receive new emails for a given mailbox.

My problem is that nothing happens when the mobile receives the SMS. I tested with Nokia E71 which should have a spec implemented according to Nokia's own specs. On the device, I have set up an IMAP email account for my_email@gmail.com email addresses.

I read somewhere that it is also necessary to set "Email Notifications" to "auto update" in the "auto search" menu.

So, explaining the setup, here's what I was trying to send:

Title:

UDH=WDP+WSP
WDP=0605040B8423F0
06 - Length of WDP in octets
05 - information element identifier, application port addressing scheme, 16-bit address
04 - information element length in octets
0B84 - Destination port (2948)
23F0 - Source port (9200)

WSP=250603030A09
25 - transaction id (connectionless WSP)
06 - PDU Type: Push
03 - Length of headers in octets
030A - Content-type: application/vnd.wap.emn+wbxml
09 - Application-id: x-wap-application:emn.ua

      

Body:

030D6A008507036D795F656D61696C40676D61696C2E636F6D0005C30620090504121501
03 - WBXML version 1.3
0D - EMN 1.0 public identifier
6A - Encoding UTF-8
00 - String table length = 0
85 - <EMN>-tag with attributes
07 - Mailbox=mailat: (Attribute)
03 - Inline string follows
6D795F656D61696C40676D61696C2E636F6D - 'my_email@gmail.com' 
00 - End of string
05 - Timestamp (Attribute)
C3 - Opaque data follows
06 - data is 6 octets long
200905041215 - 20090504T12:15:00Z
01 - </EMN>    

      

I know this is a very specific question and may be difficult to answer, but I hope someone can point out what I am doing wrong ...

+1


source to share


1 answer


Have you tried tracking the message using Wireshark to check if it's formatted correctly?

Besides::

Destination port value is inconsistent - did you make a typo or mistake?

0B84 - Destination port (2984)

What to think about



1) Do you have the byte ordering correct? For instance. if your source port is 0x23f0 (9200) will be formatted as 23f0 or as f023

2) If the WDP length indicator includes the length byte itself, which makes the correct length of 07 octets?

3) If WSP has a length field?

Hello

0


source







All Articles