diff options
Diffstat (limited to 'recipes-kernel/rs9113/files/rf/btr')
-rwxr-xr-x | recipes-kernel/rs9113/files/rf/btr | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes-kernel/rs9113/files/rf/btr b/recipes-kernel/rs9113/files/rf/btr new file mode 100755 index 0000000..0854377 --- /dev/null +++ b/recipes-kernel/rs9113/files/rf/btr @@ -0,0 +1,17 @@ +#!/bin/bash +echo 'Bluetooth receive, single channel parameter' +export DRIVER_MODE=2 +export COEX_MODE=4 +/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 + |