https://github.com/aluedtke7/bt-autoconnect
Bluetooth auto connector for the Raspberry PI
https://github.com/aluedtke7/bt-autoconnect
bluetooth go golang raspberry-pi
Last synced: 4 months ago
JSON representation
Bluetooth auto connector for the Raspberry PI
- Host: GitHub
- URL: https://github.com/aluedtke7/bt-autoconnect
- Owner: aluedtke7
- Created: 2020-03-23T19:55:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-23T19:57:05.000Z (over 6 years ago)
- Last Synced: 2024-04-24T11:58:26.671Z (about 2 years ago)
- Topics: bluetooth, go, golang, raspberry-pi
- Language: Go
- Size: 1000 Bytes
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## bt-autoconnect
This program will detect bluetooth event changes via `/dev/input/event0` and
if a change occurs, it will try to connect to one of the paired bluetooth
devices.
Before this tool is able to work, you have to manually pair and trust all
your devices.
#### Cross compilation
On your development machine run the following line to build a `bt-autoconnect` binary that can run on a
raspberry pi:
GOOS=linux GOARCH=arm go build -o bt-autoconnect -v bt-autoconnect.go