×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Sep 2009
    Location
    India
    Posts
    172

    How to convert character to ASCII

    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
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,675

    Re: How to convert character to ASCII

    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
    Join Date
    Sep 2009
    Location
    India
    Posts
    172

    Re: How to convert character to ASCII

    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 Symbian
    Replies: 2
    Last Post: 2009-01-30, 18:15
  2. How to get ascii value of character?
    By james1980 in forum Symbian
    Replies: 1
    Last Post: 2009-01-30, 18:08
  3. ascii to character conversion....
    By vishwas_vincy11 in forum Symbian
    Replies: 1
    Last Post: 2006-04-23, 12:24
  4. Replies: 1
    Last Post: 2005-03-23, 11:46
  5. 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
  •  
×