×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Sep 2003
    Posts
    61

    SMS content PDU format

    Hi!
    I am trying to access the content of incoming SMS in PDU format via a CSMSMessage object, accessed through a CSmsClientMtm object. I am able to detect the type of message received, and access the pdu content, but it's always empty.

    My code is something this way:

    SmsClientMtm* smsMtm = (CSmsClientMtm*) iMtmRegistry->NewMtmL(KUidMsgTypeSMS);
    ...
    CSmsHeader& smsHeader = smsMtm->SmsHeader();
    const CSmsPDU& sms = smsHeader.Message().SmsPDU();
    const CSmsDeliver& deliver = STATIC_CAST(const CSmsDeliver&,sms);
    TPtrC8 auxPtr = (TPtrC8) deliver.UserData().Body();


    Any idea on how to access the PDU?

    Thank you so much.

    Regards!

  2. #2
    Regular Contributor
    Join Date
    May 2007
    Posts
    468

    Re: SMS content PDU format


  3. #3
    Regular Contributor
    Join Date
    Sep 2003
    Posts
    61

    Re: SMS content PDU format

    Hi!! Thank you for your response. I think it's solved yet, you must call the functions CSmsMessage::EncodeIntoSinglePDUL or CSmsMessage::EncodeMessagePDUsL depending on the type of SMS (simple or concatenated).

    Regards!!

Similar Threads

  1. how to set the SMS format PDU or text?
    By twosnowman in forum General Messaging
    Replies: 0
    Last Post: 2006-06-07, 15:15
  2. [Help] Displaying SMS in a special format on hanset screen?
    By scarlet83 in forum General Messaging
    Replies: 0
    Last Post: 2006-02-24, 10:45
  3. SMS WAP-push with arbitrary content?
    By pigeonhk in forum General Messaging
    Replies: 1
    Last Post: 2006-01-28, 17:24
  4. Sending SMS in PDU mode
    By josephtkc in forum Symbian
    Replies: 2
    Last Post: 2004-05-26, 17:59
  5. SMS Series 60 in PDU format
    By JoelParker27@yahoo.com in forum General Messaging
    Replies: 4
    Last Post: 2003-10-23, 18:36

Posting Permissions

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