diff options
author | John Klug <john.klug@multitech.com> | 2018-01-30 12:33:01 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-01-30 12:33:01 -0600 |
commit | 48077f86db013a519e10e28515d4d648c2fe3d4a (patch) | |
tree | 8da05fb7d5d9fa37e4854296935a2fc3e6604b3e /recipes-kernel/rs9113/files/rf/btr | |
parent | 5bcb4e74a45457319940c44ba31fa8ac97b9d167 (diff) | |
download | meta-multitech-48077f86db013a519e10e28515d4d648c2fe3d4a.tar.gz meta-multitech-48077f86db013a519e10e28515d4d648c2fe3d4a.tar.bz2 meta-multitech-48077f86db013a519e10e28515d4d648c2fe3d4a.zip |
RF testing for RS9113
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..c856e00 --- /dev/null +++ b/recipes-kernel/rs9113/files/rf/btr @@ -0,0 +1,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 + |