GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - usbbluetooth/usbbluetooth: Take full control of your USB Bluetooth controllers!

BranchesTags
Open more actions menu

Latest commit

 

History

229 Commits
229 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
src
src
 
 
subprojects
subprojects
 
 
test
test
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
Usage.md
Usage.md
 
 
meson.build
meson.build
 
 

Repository files navigation

USB Bluetooth

Build CodeQL OpenSSF Scorecard

LibUSB based Bluetooth device driver. Take full control of your USB Bluetooth devices using C!

For general documentation about the project, please visit usbbluetooth.github.io.

For a Python version of this library, check out UsbBluetooth for Python or Scapy UsbBluetooth for direct integration with Scapy.

For a C# version of this library, check out UsbBluetooth for C#.

Usage

This project consist of a C library that allows you to enumerate and control USB Bluetooth devices.

There is also an example binary compiled to test the library in your platform, it is called usbbt. The usbbt executable allows you to list available devices and to send them a reset command.

Check out the usage document for more information.

Plaform quirks

Windows

In Windows you may have to install WinUSB driver in your device using Zadig. Otherwise, UsbBluetooth will detect your device but it may not be able to take control of your device.

Linux

Your Linux user must have permissions to access USB hardware. Here are several options to ensure access:

  • Run as root: Execute the application with elevated privileges using sudo. Note that this may not be ideal for security reasons.

  • Add user to a group: Add your user to the plugdev, usb or uucp group (depending on your distribution). Remeber to reboot or log out and log back in for the changes to take effect. For example:

    sudo usermod -a -G plugdev $USER
    
  • Create a udev rule: Create a custom udev rule to automatically set permissions for USB Bluetooth devices. Create a file like /etc/udev/rules.d/99-usbbluetooth.rules with content similar to:

    SUBSYSTEM=="usb", ATTR{idVendor}=="your_vendor_id", ATTR{idProduct}=="your_product_id", MODE="0666"
    

    Replace your_vendor_id and your_product_id with the actual vendor and product IDs of your device (you can find these using lsusb). Then reload udev rules with sudo udevadm control --reload-rules && sudo udevadm trigger.

Contributors

Special thanks to Tarlogic Security for sponsoring part of the development of this project via paid work hours.

About

Take full control of your USB Bluetooth controllers!

usbbluetooth.github.io

Topics

bluetoothbluetooth-devicesbluetooth-lebluetooth-low-energy

Resources

Readme
Activity
Custom properties

Stars

77 stars

Watchers

6 watching

Forks

14 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.