Difference between revisions of "IoTGateway/BSP/Linux/iMX6/Bluetooth Testing Guide"
From ESS-WIKI
(→Add testing scripts if version 6110 or prior used) |
(→Conventions) |
||
Line 7: | Line 7: | ||
=Getting Started= | =Getting Started= | ||
==<span style="color:#0070c0;">Conventions</span>== | ==<span style="color:#0070c0;">Conventions</span>== | ||
− | <span style="color:purple">'''${BT_MAC_ADDR}'''</span> : Bluetooth peer device's MAC address | + | :<span style="color:purple">'''${BT_MAC_ADDR}'''</span> : Bluetooth peer device's MAC address |
− | <span style="color:purple">'''${FILE}'''</span> : test file that be sent to peer device | + | :<span style="color:purple">'''${FILE}'''</span> : test file that be sent to peer device |
==<span style="color:#0070c0;">Prerequisites</span>== | ==<span style="color:#0070c0;">Prerequisites</span>== |
Revision as of 09:04, 14 June 2016
Bluetooth Testing Guide for iMX6 Platform
Contents
Getting Started
Conventions
- ${BT_MAC_ADDR} : Bluetooth peer device's MAC address
- ${FILE} : test file that be sent to peer device
Prerequisites
Add testing scripts if version 6110 or prior used
- Download the File:Imx6LBV6110 bt testing scripts.tar.gz, and perform the below command
$ tar xvf imx6LBV6110_bt_testing_scripts.tar.gz -C ${BSP_HOME}/sources/meta-advantech/recipes-fsl/images
- Rebuild the sdcard image(click this for details)
Bluetooth/WiFi mini-PCIe card
Testing Operations
Pair the peer device
- If peer device is not paired ever...
# ./bt_pair.sh ${BT_MAC_ADDR}
- If peer device is paired before, repair it...
# ./bt_pair.sh -u ${BT_MAC_ADDR}
Send the specified file to the peer device
- While the configuration of the peer device is ready...
# ./bt_send.sh ${BT_MAC_ADDR} ${FILE}