×

Discussion Board

Results 1 to 12 of 12

Hybrid View

  1. #1
    Registered User
    Join Date
    Mar 2003
    Location
    Denmark
    Posts
    10

    M-Notifycation.ind sms encoding

    I've been trying to send MMS Notifycation SMS's but I can't get it to work.

    The SMS I'm sending is the following:

    040636BE8C82986D6D73008D908A8C8E017F880381017F83687474703A2F2F7777772E746573742E636F6D2F7465737400

    04 Push ID
    06 Push PDU
    01 length of headers & content type
    BE content type
    8C82 X-Mms-Message-Type
    986D6D7300 X-Mms-Transaction-ID
    8D90 X-Mms-MMS-Version
    8A8C X-Mms-Message-Class
    8E017F880381017F X-Mms-Expiry
    83687474703A2F2F7777772E746573742E636F6D2F7465737400 X-Mms-Content-Location

    What have I done wrong? I'm a bit confuesed about the Expiry format, so it might be it.

    Please help...

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    12

    M-send.conf

    Have you tried to senf other types of mms pdu's over sms ?
    If yes, can u give me any help ?

    Thx

  3. #3
    Registered User
    Join Date
    May 2003
    Posts
    9
    Did you include UDH with correct port numbers before the actual WSP/MMS data body?

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    12
    Yes, but I am using the EMI UCP standard.

    My problem consists in formatinf the body of the O51 UCP operation.

    I don't know where can I find some documentation regarding the headers
    04 Push ID
    06 Push PDU
    01 length of headers & content type
    BE content type

    that are in the sms.

    Can you please help me ?

    Thanks.

  5. #5
    Registered User
    Join Date
    May 2003
    Posts
    9
    MMS Message is a data body within WSP.
    The 4 bytes you mention make the WSP header

    Refer to WSP (section 8.2.4) document at www.wapforum.org

    WSP Message is a data body within WTP (Connection Less).
    There is a 1 byte Transaction ID that makes the header

    Refer to WTP document at www.wapforum.org

    WTP Message is a data body within the SMS message.


    Below is a sample of a compete SMS PDU (data part inluding UDH)

    0605040b8400010006266170706c69636174696f6e2f766e642e7761702e6d6d732d6d65737361676500af84b4818dca8c829832323233345f5f6d6d6832008d9089148034313531393137382f545950453d504c4d4e00964e524b008a808e02a06788058103093a7d83687474703a2f2f74322f323232333400

  6. #6
    Registered User
    Join Date
    May 2003
    Posts
    11

    m-notification-ind and WAP-PUSH...

    Hi,

    I want to send m-notification-ind to Nokai phone via WAP-PUSH.
    So I prepared followed WAP Push data:

    UDH = 05040B8423F0

    DATA = 000603BEAF848C829831008D90891080666C6F726573656B4077702E706C009674657374204D4D53008A808E0213608805810306978083687474703A2F2F3231322E3136302E39312E38362F496D67427277732F746573742E6D6D7300

    Where (WAP Push fields) 000603BEAF8 can be decoded as:
    00 transaction ID
    06 Pdu type Push
    03 WAP headers length
    BE content type = "application/vnd.wap.mms-message"
    AF84 X-WAP-Application-Id = "x-wap-application:mms.ua"

    Data begining from 8C829831... represent WSP encoded m-notification-ind message content

    Then I tried to send it via AT commands and Siemens SL-45i connected to serial port of my PC (as Octet Encoded Pdu) UDH and DATA

    Tested Nokia 6800 didn't retrieve any notification (but Sony Ericson T68i - did).

    Could somebody tell what I do wrong? Please!

    Flores

  7. #7
    Registered User
    Join Date
    May 2003
    Posts
    11
    I guess that Push Data is:

    0006266170706c69636174696f6e2f766e642e7761702e6d6d732d6d65737361676500af84b4818dca

    and consist of:
    00 - Push id
    06 - PUSH PDU
    26 - Content type + headres lenght (Dec - 38 bytes)
    6170706c69636174696f6e2f766e642e7761702e6d6d732d6d65737361676500 - content type = "application/vnd.wap.mms-message"
    af84 - X-WAP-Application-Id = "x-wap-application:mms.ua"

    but I can't decode b4818dca

    What does it mean - please help?

    Flores

  8. #8
    Registered User
    Join Date
    Mar 2003
    Posts
    3
    06 05 04 0b 84 00 ' UDH
    01 00 ' I don't know
    06 26 ' Ox26 = Octet38 I think the Ox26 is the Following Bytes Count.
    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 b4 81 8d ca ' I don't know
    // Below is the Msg Body . Encode refer to wap 209.
    8c X-Mms-Message-Type
    82 'Msg-Type value. 82 mean 'm-notification-ind'
    98 ' X-Mms-Transaction-ID
    32 32 32 33 34 5f 5f 6d 6d 68 32 00 ' Transcation-ID value. End with Ox00
    8d 'X-Mms-MMS-Version
    90 ' Version value
    89 ' From
    14 80 ' I can't understand this.
    Below is From's Value : 41519178/TYPE=PLMN . End with Ox 00
    34 31 35 31 39 31 37 38 2f 54 59 50 45 3d 50 4c 4d 4e 00
    96 'Subject
    4e 52 4b 00 'NRK is Subject Value. if a String then end with Ox00
    8a 'X-Mms-Message-Class
    80 'Ox80 = Octet 128:Personal,129:Advertisement,130 Information, 131 Auto
    8e 'X-Mms-Message-Size
    02 a0 67 ' Message Size value
    88 'X-Mms-Expiry
    05 81 03 09 3a 7d ' this is a time values
    83 'X-Mms-Content-Location
    68 74 74 70 3a 2f 2f 74 32 2f 32 32 32 33 34 00 'http://t22234 //if it's a String then end with Ox00 , you can set it to your wap server.

    I have successfully recieved the MMS message with My 7650.

  9. #9
    Registered User
    Join Date
    May 2003
    Posts
    11
    Hi jiangpo

    ...

    >> 89 ' From
    >> 14 80 ' I can't understand this

    14 (hex) - 20 (dec) lenth of FROM text element + 2 (length of 41519178/TYPE=PLMN = 18)

    80 Address-present-token

    ...

    How did you send WAP Push message to your phone - please aswer in details!

    Flores

  10. #10
    Registered User
    Join Date
    Mar 2003
    Posts
    15
    Any one found out what af 84 b4 81 8d ca means?????

    /J.

  11. #11
    Registered User
    Join Date
    Mar 2003
    Posts
    5
    I guess:

    b4 : Push-Flag 0x34 | 0x80
    81: Value 01 | 0X80
    8d :Content-Length 0x0d| 0x80
    ca : 0x4a | 0x80. 4*16+10=74. Total byte in MMS Body



    CC

  12. #12
    Registered User
    Join Date
    Jun 2006
    Posts
    7

    Re: m-notification-ind and WAP-PUSH...

    Hi, I have a question.
    can please someone help me out with that thred?
    http://discussion.forum.nokia.com/fo...ad.php?t=82310

    thanks in advance!

    Quote Originally Posted by chinchihfang
    I guess:

    b4 : Push-Flag 0x34 | 0x80
    81: Value 01 | 0X80
    8d :Content-Length 0x0d| 0x80
    ca : 0x4a | 0x80. 4*16+10=74. Total byte in MMS Body



    CC

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×