mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-18 13:44:20 +01:00
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Bluetooth BCM43xx",
|
||||
"version": "0.2",
|
||||
"version": "0.3",
|
||||
"slug": "bluetooth_bcm43xx",
|
||||
"description": "Activate bluetooth for bcm43xx",
|
||||
"url": "https://home-assistant.io/addons/Bluetooth_bcm43xx/",
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
hciattach /dev/ttyAMA0 bcm43xx 115200 noflow -
|
||||
hciattach -n /dev/ttyAMA0 bcm43xx 115200 noflow - &
|
||||
HCI_PID=$!
|
||||
|
||||
hciconfig hci0 up
|
||||
|
||||
wait $HCI_PID
|
||||
|
||||
Reference in New Issue
Block a user