×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    1

    UDH VCARD when bigger than 1 message

    i have this SMS data for that vcard:

    BEGIN:VCARD\r\n
    VERSION:2.1\r\n
    N:Hehe;John\r\n";
    TEL;PREF:+902123527394\r\n
    END:VCARD

    %06%05%04%23%F4%00%00
    %42%45%47%49%4E%3A%56%43%41%52%44%0D%0A%56%45%52%53%49%4F%4E%3A%32%2E%31%0D%0A%4E%3A%48%65%68%65%3B%4A%6F%68%6E%0D%0A%54%45%4C%3B%50%52%45%46%3A%2B%39%30%32%31%32%34%35%36%33%37%32%31%0D%0A%45%4E%44%3A%56%43%41%52%44

    but i wonder how can i write UDH for a longer v-card such as when binary data is more than 128 byte.

    i guessed
    1. UDH is like:
    %0B%05%04%23%F4%00%00%00%03%00%02%01

    but i dont understand all fields:
    %0B :length of UDH
    %05 :length of User data string
    %04: length of port address string
    %23%F4 : source port address
    %00%00 : receiver port address
    %00 : DONT KNOW WHAT IT IS
    %03 : DONT KNOW WHAT IT IS
    %00 : Some kind of reference ID but DONT KNOW WHAT IT IS
    %02 : how many messages includes all message
    %01 : 1.st message of 2 messages

    Can anyone help me know what are those fields that i dont know pls...
    Thanks in advance...

  2. #2
    Registered User
    Join Date
    Apr 2003
    Location
    Monaco
    Posts
    8

    Re: UDH VCARD when bigger than 1 message

    Here is the UDH decoded:

    %0B :total UDH length (here with 2 Information Elements IE)
    %05 :Application port addressing 16 bits IE
    %04: IE length
    %23%F4 : source port address
    %00%00 : receiver port address
    %00 : Concatenated short message IE
    %03 : IE length
    %00 : Concatenated reference number (0)
    %02 : how many messages includes all message: Yes
    %01 : 1.st message of 2 messages: Yes

    Best regards

    Daniel Mavrakis

  3. #3
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    210

    Re: UDH VCARD when bigger than 1 message

    can some one give me a working example to send vcard via sms

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: UDH VCARD when bigger than 1 message


  5. #5
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    210

    Re: UDH VCARD when bigger than 1 message

    ya i have read those documents and understood encoding format. but presently the problem is i dont know how to encode those data in Symbian C++.
    I know i have too use CSmsUserData::AddInformationElementL(.)to encode headers, but couldnt get much info on it.

Similar Threads

  1. vCard message through a SMS message to various Nokia phones
    By makippola in forum Smart Messaging
    Replies: 2
    Last Post: 2006-04-21, 09:32
  2. Sending long message
    By njoandy1 in forum Smart Messaging
    Replies: 2
    Last Post: 2005-02-06, 09:38
  3. udh 8 bit message
    By elenabonetti in forum Smart Messaging
    Replies: 2
    Last Post: 2003-03-18, 07:49
  4. vCard message through a SMS message for Nokia 7650
    By joanlago in forum General Messaging
    Replies: 3
    Last Post: 2002-10-09, 14:32
  5. Doubt in Nokia PC Connrctivity SDK 2.1 demo (Visual basic).
    By narumugai in forum General Messaging
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

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