ECS Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ecs] a more general bluetooth question (clarification)
Dario Greggio
Sat, 15 Apr 2006 15:15:14 +0200

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

  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.