Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Custom bluetooth commands over winsock2

0 views
Skip to first unread message

Robert

unread,
Apr 7, 2008, 11:02:46 AM4/7/08
to
Hi all,

I'm trying to use windows sockets to communicate with my bluetooth
device. The thing I'm trying (I'm not even sure if it's possible) is
to send a HCI-command (a simple one, like reading the local device
name).

Now, I don't even know if it is possible to talk to the HCI-layer
using winsock. So my first question would be whether this is actually
possible. I assumed it to be possible since the functions
WSALookupService.... allows e.g. an inquiry to be initiated - I assume
it accesses the HCI layer for that.

I got all the opcodes & stuff for sending HCI commands, I just need
some way to communicate them. Kernel-mode is not an option for me, as
I will probably need to replace the MS bluetooth stack with my own
driver then...

I've been searching for info for some time now, without results.. So
any help is highly appreciated!
Thanks,

Robert

Doron Holan [MSFT]

unread,
Apr 7, 2008, 1:39:11 PM4/7/08
to
you cannot send HCI commands from user mode. IIRC, the vista version of the
bth stack allows for you to send vendor commands to the device.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Robert" <Robe...@gmail.com> wrote in message
news:e5fdfd5f-1347-4ada...@l28g2000prd.googlegroups.com...

0 new messages