OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 23, 2024 3:34 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: bluetooth on x86
PostPosted: Mon Oct 29, 2018 7:49 am 
Offline
Member
Member

Joined: Fri Nov 17, 2006 5:26 am
Posts: 248
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.


Top
 Profile  
 
 Post subject: Re: bluetooth on x86
PostPosted: Tue Oct 30, 2018 6:01 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
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 ]


Top
 Profile  
 
 Post subject: Re: bluetooth on x86
PostPosted: Tue Oct 30, 2018 1:50 pm 
Offline
Member
Member
User avatar

Joined: Sun Sep 19, 2010 10:05 pm
Posts: 1074
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


Top
 Profile  
 
 Post subject: Re: bluetooth on x86
PostPosted: Tue Oct 30, 2018 2:15 pm 
Offline
Member
Member
User avatar

Joined: Mon Jan 15, 2018 2:27 pm
Posts: 201
@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.


Top
 Profile  
 
 Post subject: Re: bluetooth on x86
PostPosted: Tue Oct 30, 2018 3:14 pm 
Offline
Member
Member
User avatar

Joined: Sun Sep 19, 2010 10:05 pm
Posts: 1074
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 125 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group