.NET Components for Mobility

DiscoverDevices() - some of devices without names

Last post 08-29-2008 7:02 PM by cherring2. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 04-07-2007 10:37 PM

    • popek007
    • Not Ranked
    • Joined on 04-07-2007
    • Wroclaw (POLAND)
    • Posts 0

    DiscoverDevices() - some of devices without names

    Hello

     

    I’m using 32feet library to discover Bluetooth radios. After discovering devices only some of them have names – rest of them uses MAC address as name. Is there something wrong in the 32feet library or this is how the Bluetooth just works.

     

    I have Win XP SP2. Bluetooth 2.0 Class 1 from HAMA company www.hama.com

     

    The CODE:

    BluetoothClient bluetoothClient = new BluetoothClient();

    btLastDevices = bluetoothClient.DiscoverDevices(255);

     

    Please see below (report form device discovering) –

    error marked with red.

     

    Bluetooth device name

    Address

    K800i

    0019634C268E

    K750i

    0012EE345143

    K750i

    0016202FC9FC

    K750i

    0019635EAE5D

    K510i

    0016B8E99281

    K510i

    0016B8F26924

    Iwona

    0018AF38BE94

    Irenka

    00174B603504

    Grzes

    0013FD8FE619

    Funbox

    1237826710

    Dario

    00188D667323

    Darek

    0012D2A8154E

    CHRI$

    0015B9047E02

    Carlom

    00119FC9E8D1

    BT GPS

    00154B1001A9

    Asia

    0017D591B44F

    Anton

    0001E3328692

    Amelia

    000FDEE5B0C4

    2Jm6021

    00164E7AA42D

    00:60:57:71:BC:63

    00605771BC63

    00:1B:AF:7B:93:9C

    001BAF7B939C

    00:1A:8A:90:82:97

    001A8A908297

    00:1A:8A:0A:38:7D

    001A8A0A387D

    00:1A:16:32:60:05

    001A16326005

    00:19:B7:86:5D:53

    0019B7865D53

    00:19:B7:40:03:CB

    0019B74003CB

    00:19:B7:3D:EA:B0

    0019B73DEAB0

    00:19:A1:9C:B9:EA

    0019A19CB9EA

    00:19:A1:9C:B7:78

    0019A19CB778

    00:19:63:E9:15:33

    001963E91533

     

    This is important for me to get to know what type of device I’m trying to connect to.

    Knowing if this is Phone or PDA or computer is not enough. I need to know the type “N70” and the manufacture too “Nokia”.

     

    Thanks for help.

    Tomek [at] kiteshop.pl

  • 04-08-2007 9:54 AM In reply to

    Re: DiscoverDevices() - some of devices without names

    Unlike say in IrDA, in Bluetooth Discovery does not exchange the device's name; that has to be queried in a separate operation. One can see this in the Bluetooth select dialog when a new unknown device is first discovered, it appears first by its MAC Address and then it is updated with its name. So, if its the first time the computer has seen (discovered) the ones with the names missing, then that's likely what's occuring.  So either do another discovery a bit later; or on the respective BluetoothDeviceInfo objects re-check the DeviceName property a bit later, after calling Refresh http://32feet.net/library/InTheHand.Net.Sockets.BluetoothDeviceInfo.Refresh.html

    Alan J. McFarlane
    http://www.alanjmcf.me.uk/
    Please follow-up in the newsgroup for the benefit of all.
    Have I helped? Consider visiting my Amazon wishlist, see my homepage.
  • 08-10-2008 4:28 AM In reply to

    Re: DiscoverDevices() - some of devices without names

    I meet same problem !  Could you tell me how  to know what type of device? it is important to send image to the device!

     

    chenhongqi@gmail.com 

  • 08-29-2008 7:02 PM In reply to

    Re: DiscoverDevices() - some of devices without names

    I have the same question. I need to format an image for a mobile phone. What device info/type am I looking for?

Page 1 of 1 (4 items)
Copyright © 2001-2010 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.