modify bluetooth script and btgatt-server permission
This commit is contained in:
parent
53aa17a9b6
commit
ee169a5caa
@ -8,7 +8,7 @@ HCIATTACH_BIN=/usr/bin/hciattach
|
||||
HCIATTACH_ARGS="-s 1500000 ${UART_DEV} any 1500000 flow nosleep"
|
||||
HCI_TOOL=/usr/bin/bt-hci-tool
|
||||
BTGATT_BIN=/usr/bin/btgatt-server
|
||||
BTGATT_ARGS="-i ${HCI_DEV} -s low -t public"
|
||||
BTGATT_ARGS="-m 256 -i ${HCI_DEV} -s low -t public"
|
||||
BLUETOOTHD_BIN=/usr/libexec/bluetooth/bluetoothd
|
||||
BT_LOCAL_NAME="AIC-BT"
|
||||
HCI_WAIT_TIMEOUT=10
|
||||
@ -29,7 +29,9 @@ bring_hci_up()
|
||||
|
||||
start_bt()
|
||||
{
|
||||
echo "[BT] Init AIC8800..."
|
||||
echo "[BT] Waiting 10 seconds before init..."
|
||||
sleep 10
|
||||
echo "[BT] Init AIC8800..."
|
||||
insmod /lib/modules/5.10.44/kernel/drivers/net/wireless/aic8800/aic8800_btlpm/aic8800_btlpm.ko 2>/dev/null
|
||||
sleep 1
|
||||
|
||||
|
||||
0
target/d211/demo128_nand/rootfs_overlay/usr/bin/btgatt-server
Normal file → Executable file
0
target/d211/demo128_nand/rootfs_overlay/usr/bin/btgatt-server
Normal file → Executable file
Loading…
Reference in New Issue
Block a user