update e_player and bt
This commit is contained in:
parent
54fe12b755
commit
6976680043
Binary file not shown.
15
target/d211/demo128_nand/rootfs_overlay/etc/init.d/S40bluetooth → target/d211/demo128_nand/rootfs_overlay/etc/init.d/S80bluetooth
Executable file → Normal file
15
target/d211/demo128_nand/rootfs_overlay/etc/init.d/S40bluetooth → target/d211/demo128_nand/rootfs_overlay/etc/init.d/S80bluetooth
Executable file → Normal file
@ -29,9 +29,7 @@ bring_hci_up()
|
||||
|
||||
start_bt()
|
||||
{
|
||||
echo "[BT] Waiting 10 seconds before init..."
|
||||
sleep 10
|
||||
echo "[BT] Init AIC8800..."
|
||||
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
|
||||
|
||||
@ -57,11 +55,12 @@ start_bt()
|
||||
hciconfig ${HCI_DEV} leadv 0
|
||||
sleep 1
|
||||
|
||||
# 启动 bluetoothd
|
||||
# <EFBFBD><EFBFBD><EFBFBD>动 bluetoothd
|
||||
"${BLUETOOTHD_BIN}" &
|
||||
echo $! > "${BLUETOOTHD_PIDFILE}"
|
||||
|
||||
# 启动 btgatt-server(设置广播数据,包含名称)
|
||||
echo "[BT] Waiting 10 seconds before init..."
|
||||
sleep 10
|
||||
# 启动 btgatt-server
|
||||
"${BTGATT_BIN}" ${BTGATT_ARGS} >/dev/null 2>&1 &
|
||||
echo $! > "${BTGATT_PIDFILE}"
|
||||
|
||||
@ -96,7 +95,7 @@ stop_bt()
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
start_bt
|
||||
start_bt >/dev/null 2>&1 &
|
||||
;;
|
||||
stop)
|
||||
stop_bt
|
||||
@ -112,4 +111,4 @@ case "$1" in
|
||||
;;
|
||||
esac
|
||||
|
||||
exit $?
|
||||
exit $?
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user