Giter VIP home page Giter VIP logo

cbusuioceanu / raspberry-pi-bluetooth-manager Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 25 KB

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

License: MIT License

Shell 100.00%
paired-bluetooth-devices raspberry-pi-bluetooth bluetooth bt-controllers rpi raspberry tethering raspberry-pi-3 rasberry-pi-4 bluetooth-net

raspberry-pi-bluetooth-manager's Introduction

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

raspberry-pi-bluetooth-manager's People

Contributors

cbusuioceanu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.