Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor amit04.kumar's Avatar
    Join Date
    Sep 2009
    Location
    India
    Posts
    172
    Hello All,

    I have to send the string like "#C30\n" over the Bluetooth socket.
    How can I convert each byte into ASCII code. So, remote device can understand it.

    Please help me.
    Last edited by amit04.kumar; 2010-10-19 at 15:58.
    Thanks,
    Amit

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    This seems to be an other attempt to make simple things complicated, like in the other thread (http://discussion.forum.nokia.com/fo....RecvOneOrMore)
    If you have #C30\n in a 8-bit descriptor, you can directly Write it into the RSocket, then SetActive. Of course the descriptor has to be a member variable.

  3. #3
    Regular Contributor amit04.kumar's Avatar
    Join Date
    Sep 2009
    Location
    India
    Posts
    172
    Hi Wizard,

    I have tried with directly writting on RSocket. but Remote BT device didn't understand. They need ASCII value.
    Thanks,
    Amit

Similar Threads

  1. How to get ascii value of character?
    By james1980 in forum Python
    Replies: 2
    Last Post: 2009-01-30, 18:15
  2. How to get ascii value of character?
    By james1980 in forum Python
    Replies: 1
    Last Post: 2009-01-30, 18:08
  3. ascii to character conversion....
    By vishwas_vincy11 in forum Symbian C++
    Replies: 1
    Last Post: 2006-04-23, 12:24
  4. Replies: 1
    Last Post: 2005-03-23, 11:46
  5. How to convert a character to its ascii value?
    By ccwhk in forum Symbian C++
    Replies: 2
    Last Post: 2005-03-09, 16:35

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