Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User sandowch's Avatar
    Join Date
    May 2008
    Posts
    3
    I know that the class CSmsPDU is needed in the PDU mode.But I have no idea about the use of CSmsPDU.It seems the message body can not be encoded correctly.I add the message body like this:
    HBufC8 * iMessage = HBufC8::NewL(80);
    iMessage->Des().Zero();
    iMessage->Des().Append(0x60);
    iMessage->Des().Append(0xA8);
    iMessage->Des().Append(0x59);
    iMessage->Des().Append(0x7D);
    userData.SetBodyL(*iMessage);
    delete iMessage;
    set PID:
    pdu.SetPIDType(TSmsProtocolIdentifier::ESmsPIDShortMessageType);
    pdu.SetShortMessageType(TSmsProtocolIdentifier::ESmsShortMessageType0);
    Set DCS:
    settings.SetAlphabet( TSmsDataCodingScheme::ESmsAlphabetUCS2 );

  2. #2
    Nokia Developer Moderator A.A.M.'s Avatar
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,308

Similar Threads

  1. Send PDU SMS to my S60 emulator
    By medarex2000 in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2008-06-05, 10:09
  2. How to send SMS in PDU mode
    By please_try_later in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2007-02-23, 19:22
  3. Need a PHP/HTML script which integrates with SDK and send sms
    By ramanladhani in forum Tools and SDK Feedback (Closed)
    Replies: 2
    Last Post: 2007-01-14, 10:56
  4. sms sending in pdu mode
    By stevensp in forum Smart Messaging
    Replies: 4
    Last Post: 2003-09-12, 14:16
  5. Send in PDU Mode using AT commands
    By giadich in forum General Messaging
    Replies: 1
    Last Post: 2002-06-18, 09:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved