summaryrefslogtreecommitdiff
path: root/recipes-kernel/rs9113/files/rf/btr
blob: c856e00c03129cdc22464d9f7195b27755bf8c6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
echo 'Bluetooth receive, single channel parameter'
sed -i 's/DRIVER_MODE=1/DRIVER_MODE=2/' /opt/rs9113/common_insert.sh
sed -i 's/COEX_MODE=[0-9]*/COEX_MODE=4/' /opt/rs9113/common_insert.sh
/etc/init.d/rs9113 stop >/dev/null 2>&1
cd /opt/rs9113
bash wlan_bt_insert.sh
sleep 2
chan=1
if [[ -n $1 ]] ; then
    chan=$1
fi
echo Using channel $1 for wifi receive
set -x

/opt/rs9113/bt_receive 0023a7010203 1 15 1021 0 3 $chan $chan 1 1 0 2