bluetooth on x86

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
kerravon
Member
Member
Posts: 278
Joined: Fri Nov 17, 2006 5:26 am

bluetooth on x86

Post by kerravon »

Hi. I would like to drive the bluetooth on my x86 laptop. I couldn't find any mention of bluetooth programming in the Wiki. Could someone get me started please?

Also, I'm expecting to be running under qemu under Windows 10. qemu has a "-bt" parameter, but I'm not sure what to set it to.

To start with what I would like to do is have qemu pass my requests on to Windows so that under my operating system I can get a list of bluetooth devices in my physical vicinity.

Thanks. Paul.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: bluetooth on x86

Post by Combuster »

Bluetooth is not a starter subject - not in friendly environments such as arduino, so not even remotely in OS development. As the wiki states:
Beginner mistakes wrote: Is there a tutorial on...?

Because this place can not and does not cater for beginner developers, the question for some other place that does provide a tutorial, good explanations or easy to understand reading is often requested. However, they do not exist. Difficult subjects can not be described with light prose, just like there are enough things that are too complicated for a monkey to properly learn. If you have trouble reading official documentation, this would be a good time to practice.
You might find yourself lucky if a bluetooth initiate happens to be around here, but otherwise practising getting all that information on your own would be the best course of action from here on.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
SpyderTL
Member
Member
Posts: 1074
Joined: Sun Sep 19, 2010 10:05 pm

Re: bluetooth on x86

Post by SpyderTL »

You can find the complete Bluetooth specifications here: https://www.bluetooth.com/specification ... cification

Depending on your configuration, you may also have to implement a complete USB host controller implementation to be able to communicate with a Bluetooth host controller.

But if you do happen to get it working, feel free to come back and create a wiki page that explains how everything works. :P
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
User avatar
pvc
Member
Member
Posts: 201
Joined: Mon Jan 15, 2018 2:27 pm

Re: bluetooth on x86

Post by pvc »

@SpyderTL Nice one. I've tried to download it before but their downloads were so slow that I thought that they were offline long ago. But… they are just slow.
User avatar
SpyderTL
Member
Member
Posts: 1074
Joined: Sun Sep 19, 2010 10:05 pm

Re: bluetooth on x86

Post by SpyderTL »

As far as I can tell, other than the USB Bluetooth Adapter class (Base Class 0xE0, Subclass 0x01, Protocol 0x01 and 0x04), I can't find any mention of a "reference" design or hardware API for Bluetooth, which means that each Bluetooth Host Controller will probably have it's own API (Memory/IO registers), and will require it's own driver implementation.
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
Post Reply