×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    151

    Question How to print Blutooth adress on console

    hi

    TInquirySockAddr addr;
    TNameEntry entry;
    addr.SetIAC(KGIAC);
    addr.SetAction(KHostResName|KHostResInquiry);
    TRequestStatus status;
    hr.GetByAddress(addr, entry, status);
    User::WaitForRequest(status);

    using above code i want to print Name and adress of the Bluetooth device? How should i do this? Please tell me

  2. #2
    Registered User
    Join Date
    Mar 2006
    Location
    India
    Posts
    503

    Re: How to print Blutooth adress on console

    To print Anything on console
    CConsoleBase* console;
    console=Console::NewL(KTxtExampleCode,TSize(KConsFullScreen,KConsFullScreen));
    console->Printf(KHelloWorldText);


    BT Address
    TBTDevAddr::BDAddr()
    TBTDevAddr has Des which gives u descriptor TPtr8 which can be used ..
    Regards
    Kamal :)
    ------------------
    You never expect what expects you.

  3. #3
    Registered User
    Join Date
    Mar 2006
    Location
    India
    Posts
    503

    Re: How to print Blutooth adress on console

    Not sure ..tht u will get a BT address on console mode ...
    Regards
    Kamal :)
    ------------------
    You never expect what expects you.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,688

    Re: How to print Blutooth adress on console

    TBTDevAddr:es gives you a binary descriptor, but TBTDevAddr::GetReadable probably gives you a human readable descriptor.

Similar Threads

  1. KerrGeneral
    By federicopalumbo in forum Symbian
    Replies: 6
    Last Post: 2008-03-26, 16:11
  2. Random RingTone within Contact List for 3rd
    By cckfranky in forum Symbian
    Replies: 5
    Last Post: 2007-12-29, 18:33
  3. Replies: 4
    Last Post: 2007-08-13, 07:18
  4. How to send an image with attachment in email
    By krtrivdi in forum Symbian
    Replies: 1
    Last Post: 2007-01-09, 12:07
  5. Sending an image over email
    By jeclarim in forum Symbian
    Replies: 3
    Last Post: 2006-12-15, 20:25

Posting Permissions

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