Skip to content

The first official release of the easiest and fastest script to manage your Raspberry Pi Bluetooth. A state of the art shell script :)

License

Notifications You must be signed in to change notification settings

cbusuioceanu/Raspberry-Pi-Bluetooth-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi Bluetooth Manager aka RPiBTman Build Status

The first official release of the easiest and fastest script to manage your Raspberry Pi Bluetooth. A state of the art shell script :)

Official Bluetooth & Raspberry Pi logos

Contents


Video

soon

Description

Raspberry Pi Bluetooth Manager, aka RPiBTman, helps you manage your bluetooth devices connected to and from RPi. It has a lot of fail safe features so, even if you are a total beginner, you can't break anything. Not unintentionally 😄

Running this script the first time, you will see a notification that will tell you this is the first time running it. That notification will show up only once. There are two "if's" that can change the notification behaviour: 1. If you decide to remove the script config file, the notification will appear again. 2. If the first time config process fails. No need to worry about any of these.

The most important functions of this script (for the moment)
👑 Receive/Give Internet from your phone/tablet/laptop etc to your Raspberry Pi
👑 Transmit Internet from your Raspberry Pi to any device via Bluetooth
What can you do with Raspberry Pi Bluetooth Manager?
✔️ List available BT controllers ✔️ View Bluetooth status ✔️ Show paired BT device info
✔️ Turn bluetooth on/off ✔️ Select default BT controller ✔️ View Discoverable status
✔️ Trust/Untrust BT devices ✔️ Make bluetooth discoverable on/off ✔️ Set/Reset BT controller alias (name)
✔️ View pairable status ✔️ Block/Unblock BT devices ✔️ Make bluetooth pairable on/off
✔️ List scanned/paired BT devices ✔️ Scan for BT devices ✔️ Remove BT devices
✔️ Check needed dependencies ✔️ Configure network bridge ✔️ Configure ISC-DHCP-SERVER
✔️ Configure iptables ✔️ Configure services ✔️ Disconnect devices

How to use

You'll need a Raspbery Pi 3 or a Raspberry Pi 4 with Raspbian OS (32 or 64bit) to use this script. If this is the first time you use this, stay close: the setup is fully automated!

git clone https://github.com/cbusuioceanu/Raspberry-Pi-Bluetooth-Manager.git rpibtman && cd rpibtman && sudo bash rpibtman.sh

The first time configuration of the system & script will start. Make sure the configuration ends cleanly and you are redirected to the Main Menu of the script. Main Menu has detailed options and is pretty simple for everyone. I will also detail everything here.

LEGEND: BT=Bluetooth; devs=Devices;
Main Menu
  • 1. Available BT controllers -> list them
  • 2. Select default BT controller -> e.g. if you have for example the RPi BT controller and a USB one, choose one of them
  • 3. Set/Reset BT controller alias -> change the broadcast name of your Pi bluetooth or reset it to default (raspberry)
  • 4. List scanned/paired BT devices -> list scanned or paired bluetooth devices with RPi
  • 5. Bluetooth status -> is controller on or off
  • 6. Discoverable status -> is discoverability on or off
  • 7. Pairable status -> is pairability on or off
  • 8. Receive Internet from phone -> give your Raspberry Pi an Internet connection from your Smartphone/Tablet/Smartwatch etc
  • 9. Transmit Internet from RPi -> give your smart devices an Internet connection from RPi
  • 10. Scan for Bluetooth devices -> start scanning for local active bluetooth devices
  • 11. Show paired BT device info -> view your paired bluetooth devices info
  • 12. Trust/Untrust BT devices -> trust/untrust a paired bluetooth device
  • 13. Block/Unblock BT devices -> block/unblock a paired bluetooth device
  • 14. Remove BT device -> remove a paired bluetooth device
  • 15. Disconnect BT device -> disconnect a device from your RPi
  • q. Exit
Shortcuts
  • 4s. List scanned BT devs -> directly list scanned devices via menu 4
  • 4p. List paired BT devs -> directly list paired devices via menu 4
  • 50. Bluetooth off -> turn bluetooth off
  • 51. Bluetooth on -> turn bluetooth on
  • 60. Discoverable off -> turn rpi discoverable off
  • 61. Discoverable on -> turn rpi discoverable on
  • 70. Pairable off -> turn rpi pairing off
  • 71. Pairable on -> turn rpi pairing on
Utils

You can use this any time but all of these steps will be automatically run at first time config.

  • c1. Check dependencies
  • c2. Config Bridge
  • c3. Config ISC-DHCP-SERVER
  • c4. Config iptables
  • c5. Config services

Photo gallery

About

The first official release of the easiest and fastest script to manage your Raspberry Pi Bluetooth. A state of the art shell script :)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages