×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    27

    Question How to read remote device's bluetooth address

    Hi all,

    I have a program acting as a bluetooth server(using rfcomm channel), when a client device connected, I need to get the device's bluetooth address.

    I have try RHostResolver.GetByAddress, but it seems to make a search progress and read all the remote device's address, and I still can't determine which one is the address I need.

    Can anybody tell me how to? Thanks!

    victor

  2. #2
    Super Contributor
    Join Date
    Jan 2008
    Location
    Bangalore, India
    Posts
    777

    Re: How to read remote device's bluetooth address

    Quote Originally Posted by liuvictor2005 View Post
    Hi all,

    I have a program acting as a bluetooth server(using rfcomm channel), when a client device connected, I need to get the device's bluetooth address.

    I have try RHostResolver.GetByAddress, but it seems to make a search progress and read all the remote device's address, and I still can't determine which one is the address I need.

    Can anybody tell me how to? Thanks!

    victor
    have u checked this class,TBTDevAddr,
    it will give u a 48-bit bluetooth device address.
    Regards
    $-Nitesh-$

  3. #3
    Registered User
    Join Date
    Feb 2008
    Posts
    27

    Re: How to read remote device's bluetooth address

    Quote Originally Posted by Nitesh Bhardwaj View Post
    have u checked this class,TBTDevAddr,
    it will give u a 48-bit bluetooth device address.
    Thanks for your reply.
    I know TBTDevAddr contains the bluetooth address, but the problem is how can I get it after a remote device connect in?

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

    Re: How to read remote device's bluetooth address

    RSocket::RemoteName may help you.

  5. #5
    Registered User
    Join Date
    Feb 2008
    Posts
    27

    Re: How to read remote device's bluetooth address

    OK, it works!

    Many thanks to wizard_hu_ and Nitesh Bhardwaj.

Similar Threads

  1. Replies: 4
    Last Post: 2009-03-17, 08:20
  2. Bluetooth devices information
    By merchan in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2007-11-06, 12:00
  3. discovering remote devices with emulator in netbeans 6.0.
    By rajpraveen in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2007-10-26, 09:30
  4. Ignoring cached bluetooth devices with J2ME?
    By westdwestd in forum Bluetooth Technology
    Replies: 0
    Last Post: 2005-01-11, 06:11
  5. Replies: 2
    Last Post: 2004-07-27, 07:28

Posting Permissions

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