* [Bluez-devel] Accessing HCI on Windows
@ 2004-03-23 9:00 Stefan Mischke
2004-03-23 11:11 ` Marcel Holtmann
0 siblings, 1 reply; 8+ messages in thread
From: Stefan Mischke @ 2004-03-23 9:00 UTC (permalink / raw)
To: bluez-devel
Hello folks,
I'm quite new to this "professional developer stuff" and mailing lists
(so far only used to forums), so sorry if I do something wrong here.
I'm writing a little "Location Awareness using Bluetooth"-thing for my
Bachelor of CS degree. On Linux, everything is fine and I just have to
look into the BlueZ code. But it would be nice if there was a
possibility to port my work to Windows. Unfortunately I have found no
documentation about how to access the HCI on Windows. All I need would
be a simple "SendHCICommand()" or something. My Question: Does anyone
know how to do this? Do I have to deal with the Widcomm drivers (seem to
be monopolists) or is there a common way?
I know that this is not a Windows mailing list, but I just don't know
where else to ask. I'd really appreciate any help or hint. Thanks in
advance!
Kind regards
Stefan
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] Accessing HCI on Windows
2004-03-23 9:00 [Bluez-devel] Accessing HCI on Windows Stefan Mischke
@ 2004-03-23 11:11 ` Marcel Holtmann
2004-03-23 13:12 ` Xavier Garreau
0 siblings, 1 reply; 8+ messages in thread
From: Marcel Holtmann @ 2004-03-23 11:11 UTC (permalink / raw)
To: Stefan Mischke; +Cc: BlueZ Mailing List
Hi Stefan,
> I'm writing a little "Location Awareness using Bluetooth"-thing for my
> Bachelor of CS degree. On Linux, everything is fine and I just have to
> look into the BlueZ code. But it would be nice if there was a
> possibility to port my work to Windows. Unfortunately I have found no
> documentation about how to access the HCI on Windows. All I need would
> be a simple "SendHCICommand()" or something. My Question: Does anyone
> know how to do this? Do I have to deal with the Widcomm drivers (seem to
> be monopolists) or is there a common way?
as I know there is no Windows stack that provides full access to the HCI
layer as BlueZ do. Actually it must be possible in some kind of way, but
in most cases you have to pay for their development kit.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] Accessing HCI on Windows
2004-03-23 11:11 ` Marcel Holtmann
@ 2004-03-23 13:12 ` Xavier Garreau
2004-03-23 16:30 ` Stefan Mischke
0 siblings, 1 reply; 8+ messages in thread
From: Xavier Garreau @ 2004-03-23 13:12 UTC (permalink / raw)
To: Marcel Holtmann, Stefan Mischke; +Cc: BlueZ Mailing List
> as I know there is no Windows stack that provides full access to the HCI
> layer as BlueZ do. Actually it must be possible in some kind of way, but
> in most cases you have to pay for their development kit.
The COM1 stack used to allow direct HCI access (H4 interface) if opening as
a serial port the special file declared in
HKLM\SYSTEM\CurrentControlSet\Enum\USB\Vid_xxxx&Pid_xxxx\something_goes_here
\Device Parameters\SymbolicName
(replace Vid_xxxx&Pid_xxxx with the ones from your device)
You can download their drivers from their website et make it work with your
dongle by editing the .inf file to add YOUR dongle vid&pid.
Just kill their btstack and write your own...
It's surely not usable for commercial products but it works for
testing/development purposes ... I used it to create some demos but am now
working with widcomm SDK which gives acces to all levels of the stack
beginning from l2cap (or HCI vendor commands)
Hope it helps.
I did reply to the list because there are often questions about
bluetooth/windows here ...
BR,
--
Xavier Garreau <x.garreau@prim-time.fr>
Prim'Time Technology
http://www.prim-time.fr/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] Accessing HCI on Windows
2004-03-23 13:12 ` Xavier Garreau
@ 2004-03-23 16:30 ` Stefan Mischke
2004-03-23 17:00 ` Xavier Garreau
0 siblings, 1 reply; 8+ messages in thread
From: Stefan Mischke @ 2004-03-23 16:30 UTC (permalink / raw)
To: Xavier Garreau; +Cc: Marcel Holtmann, BlueZ Mailing List
[-- Attachment #1: Type: text/html, Size: 2733 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] Accessing HCI on Windows
2004-03-23 16:30 ` Stefan Mischke
@ 2004-03-23 17:00 ` Xavier Garreau
2004-03-23 18:06 ` Stefan Mischke
0 siblings, 1 reply; 8+ messages in thread
From: Xavier Garreau @ 2004-03-23 17:00 UTC (permalink / raw)
To: Stefan Mischke; +Cc: Marcel Holtmann, BlueZ Mailing List
> Do I understand correctly that an USB Bluetooth dongle can be treated as
if it was connected to the serial port of the pc? In this case calling > the
Windows API Function CreateFile(SymbolicName) and doing ReadFile() and
WriteFile() according to H4 would do the job, wouldn't it?
Yes ! That's it ! But Widcomm drivers do not work this way.
> > You can download their drivers from their website et make it work with
your
> > dongle by editing the .inf file to add YOUR dongle vid&pid.
> By "their" you mean Widcomm? Ok, my Dongles are shipped with Widcomm
drivers, so I don't have to change the .inf file, correct?
No those from Com1 (http://www.com1.fr)
BTW, Widcomm documentation is very very good !
BR,
--
Xavier Garreau <x.garreau@prim-time.fr>
Prim'Time Technology
http://www.prim-time.fr/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] Accessing HCI on Windows
2004-03-23 17:00 ` Xavier Garreau
@ 2004-03-23 18:06 ` Stefan Mischke
2004-03-23 20:47 ` Xavier Garreau
0 siblings, 1 reply; 8+ messages in thread
From: Stefan Mischke @ 2004-03-23 18:06 UTC (permalink / raw)
To: Xavier Garreau; +Cc: Marcel Holtmann, BlueZ Mailing List
Xavier Garreau schrieb:
>Yes ! That's it ! But Widcomm drivers do not work this way.
>
>
>No those from Com1 (http://www.com1.fr)
>
>
>
But the Com One drivers ARE Widcomm drivers. So where is the difference?
Anyway I tried to install the Com One drivers by outcommenting the
"ExcludeFromSelect" in the .inf file. As a result, the driver
installation doesn't recognize the fake, but when I try to start the
Bluetooth Software it says "Your Bluetooth license does not include use
with this Bluetooth device". After clickeng "Ok" it asks for a license
file. The license file from my original drivers does not work (version
differs?). So how can I do it?
Kind regards
Stefan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] Accessing HCI on Windows
2004-03-23 18:06 ` Stefan Mischke
@ 2004-03-23 20:47 ` Xavier Garreau
2004-03-23 20:56 ` Marcel Holtmann
0 siblings, 1 reply; 8+ messages in thread
From: Xavier Garreau @ 2004-03-23 20:47 UTC (permalink / raw)
To: Stefan Mischke, Xavier Garreau; +Cc: Marcel Holtmann, BlueZ Mailing List
> But the Com One drivers ARE Widcomm drivers. So where is the difference?
Ouch, i've been to their website and saw the new drivers ... What i did worked
with tech0776 and they were not from widcomm ...
> Anyway I tried to install the Com One drivers by outcommenting the
> "ExcludeFromSelect" in the .inf file. As a result, the driver
> installation doesn't recognize the fake, but when I try to start the
> Bluetooth Software it says "Your Bluetooth license does not include use
> with this Bluetooth device". After clickeng "Ok" it asks for a license
> file. The license file from my original drivers does not work (version
> differs?). So how can I do it?
Well, it looks like you'll have to code the usb to H4 driver yourself ...
Regards
--
Xavier Garreau <xavier@xgarreau.org>
http://www.xgarreau.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] Accessing HCI on Windows
2004-03-23 20:47 ` Xavier Garreau
@ 2004-03-23 20:56 ` Marcel Holtmann
0 siblings, 0 replies; 8+ messages in thread
From: Marcel Holtmann @ 2004-03-23 20:56 UTC (permalink / raw)
To: Xavier Garreau; +Cc: Stefan Mischke, Xavier Garreau, BlueZ Mailing List
Hi,
> > But the Com One drivers ARE Widcomm drivers. So where is the difference?
>
> Ouch, i've been to their website and saw the new drivers ... What i did worked
> with tech0776 and they were not from widcomm ...
lets stop this thread now, because this mailing list is for Linux and
Bluetooth ;)
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-03-23 20:56 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-23 9:00 [Bluez-devel] Accessing HCI on Windows Stefan Mischke
2004-03-23 11:11 ` Marcel Holtmann
2004-03-23 13:12 ` Xavier Garreau
2004-03-23 16:30 ` Stefan Mischke
2004-03-23 17:00 ` Xavier Garreau
2004-03-23 18:06 ` Stefan Mischke
2004-03-23 20:47 ` Xavier Garreau
2004-03-23 20:56 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).