| ECS Home Automation and Security Archives |
| Subject: From: Date: | Re: [ecs] a more general bluetooth question (clarification) Mark Gilmore Sat, 15 Apr 2006 10:44:35 -0400 |
fyi (assuming this guy knows what he's talking about :-)): http://mhonarc.axis.se/bluetooth-dev/msg00487.html : Each Bluetooth device has a globally unique device address, much like a MAC address. This is how you address Bluetooth devices. There is also a user-friendly name for each device. You could think of these as being analagous to an IP address and a host/domain name, although they're not equivalent. At 09:15 AM 4/15/2006, you wrote: >Mark Gilmore wrote: > >>If a BT had an IP address, my work would be all but completed. >>But they seem to use different addressing: >>http://www.securityfocus.com/infocus/1830 : >>The Bluetooth address itself is a unique 48bit device identifier, >>where the first 3 bytes of the address are assigned to a specific manufacturer >[...] > >hmmm, well, what you are talking about is the "MAC address", if I'm >not wrong, and it belongs to "every" etherner board. but it is >something "below" IP, IP sits on top of MAC address and is more used >(in internet times). >I'd swear I got an IP address for my mobile phone, on the PC, when >they're connected together. Or better, the bluetooth adapter for PC >showed up in Network adapters, and got an IP address or could even >be assgined one. > >try IPCONFIG /ALL at CMD prompt, and you will see both MAC address >and IP address. > >>An inventory *is* possible with VC++: >>http://windowssdk.msdn.microsoft.com/library/default.asp?url=/library/en-us/bluetooth/bluetooth/bluetooth_and_wsalookupservicebegin_for_device_inquiry.asp >> >>But my 2003 version of VC++ apparently lacks this support >>(as the required "NS_BTH" constant is not found in any of my MSVC inc files). > >This is what I was thinking, it must be some kind of very new >feature, probably available only in XP and, as for the compiler, in >latest version of Visual Studio/.NET > >>I have yet to find an executable that does it (other than >>"BTExplorer", which is apparently very expensive - you have to >>email them for a price). > >I see. > >>So I'm now looking into a JAVA solution "JSR 82: JavaTM APIs for Bluetooth": > >never been into Java so if you find a solution over there it'll be >good for you! > > >-- >Ciao, Dario > > > > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.1.385 / Virus Database: 268.4.1/312 - Release Date: 4/14/2006 > > > > >-- >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.1.385 / Virus Database: 268.4.1/312 - Release Date: 4/14/2006 Mark Gilmore http://OmnipotenceSoftware.com -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.385 / Virus Database: 268.4.1/312 - Release Date: 4/14/2006