Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2007

    writing string obtained from Bluetooth Rfcomm

    i have a bluetooth program that i based on the PointToMultipoint_ver_2.0 given in the Nokia site...it works all rite...but i need to write this string in a file for parsing...could someone explain to me how this data is received by the listener class...the 8-bit iBuffer descriptor is used to store the received string and is then stored in a 16 bit HBufC* text as far as i see...is there anything i need to take care of or should i simply write this "text" descriptor using RFileWriteStream...also when is tried simply writing a normal 16 bit descriptor using "RFileWriteStream << descriptor"...i got an unknown character at the beginning of the file...is that the descriptor's length...if so how do i remove it.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: writing string obtained from Bluetooth Rfcomm

    You can use RFileWriteStream::WriteL for example, since it does not store the length, only the characters. You can use RFile::Write too (with the 8-bit descriptor).

Similar Threads

  1. Replies: 35
    Last Post: 2009-04-11, 14:36
  2. Bluetooth - RFCOMM
    By yasomca in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2009-02-07, 04:35
  3. RFCOMM bluetooth
    By Rimmi99 in forum Bluetooth Technology
    Replies: 3
    Last Post: 2007-05-14, 14:52
  4. Is L2CAP worth the extra effort?
    By ed_welch in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-02-23, 10:02
  5. D211 new linux driver 1.04 not working !!
    By franz_meyer in forum Multimodecards
    Replies: 1
    Last Post: 2002-12-12, 08:31

Posting Permissions

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