.NET Components for Mobility

Need to identify bluetooth enabled devices in range.

Last post 06-12-2009 9:53 AM by alanjmcf. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-12-2009 6:52 AM

    • kasun
    • Top 100 Contributor
    • Joined on 01-31-2009
    • Posts 10

    Need to identify bluetooth enabled devices in range.

     I am new to this bluetooth programing. As a part of my final year project, I need to identify and send the devices in range to a web server. web server part, that I can handle but first, I need to put all the devices in to a string array or something. How can I do that? I have downloaded and installed InTheHand library. can someone help me on how to identify these devices in range? a sample code will be very helpfull to undestand. I'm currently planning to develop the system using  C# .Please help.

  • 06-12-2009 9:53 AM In reply to

    Re: Need to identify bluetooth enabled devices in range.

    Have a read of the user guide doc (either in the release or at http://www.alanjmcf.me.uk/comms/bluetooth/32feet.NET%20—%20User’s%20Guide.html)  From it:

    "Of course one can discover and select the peer device at runtime, either discovering the devices and selecting one in code, or displaying the UI device selection dialog.  One would use code like the following, respectively.

    Dim cli As New BluetoothClient
    Dim peers() As BluetoothDeviceInfo = cli.DiscoverDevices()
    Dim device As BluetoothDeviceInfo = ... select one of peer()...
    Dim addr As BluetoothAddress = device.DeviceAddress
    ...

    "

Page 1 of 1 (2 items)
Copyright © 2001-2012 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy. OrcsWeb's Windows Cloud Server Hosting