summaryrefslogtreecommitdiff
path: root/recipes-kernel/rs9113/files/rf/btr
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/rs9113/files/rf/btr')
-rwxr-xr-xrecipes-kernel/rs9113/files/rf/btr17
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
+