OreBolt-OS/overlay/usr/bin/enable_vault_ble.sh

9 lines
155 B
Bash
Executable File

#!/bin/sh
hciconfig hci0 up
hciconfig hci0 name "WH-1-BLE-VAULT"
hciconfig hci0 piscan
btmgmt power off
btmgmt le on
btmgmt power on
btmgmt advertising on