Difference between revisions of "IoTGateway/BSP/Linux/iMX6/Bluetooth Testing Guide"
From ESS-WIKI
(→Add testing scripts if version 6110 or prior used) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{DISPLAYTITLE:Bluetooth Testing Guide for iMX6 Platform}} | |
<!-- | <!-- | ||
{| align="right" | {| align="right" | ||
Line 12: | Line 12: | ||
==<span style="color:#0070c0;">Prerequisites</span>== | ==<span style="color:#0070c0;">Prerequisites</span>== | ||
− | ===Add testing scripts if version 6110 or prior used=== | + | === Add testing scripts if version 6110 or prior used === |
− | :Download the [[Media: | + | |
− | ::<code>$ tar xvf Imx6LBV6110_bt_testing_scripts.tar.gz -C <span style="color:#7030a0 | + | :Download the [[Media:Imx6LBV6110_bt_testing_scripts_1.zip|Imx6LBV6110_bt_testing_scripts_1.zip]], and execute the following command: |
+ | ::<code>$ tar xvf Imx6LBV6110_bt_testing_scripts.tar.gz -C <span style="color:#7030a0">'''${BSP_HOME}'''</span>/sources/meta-advantech/recipes-fsl/images</code> | ||
:Rebuild the sdcard image(click [[IoTGateway/BSP/Linux/iMX6/Yocto_LBV6_User_Guide#Build_Instructions|this]] for details) | :Rebuild the sdcard image(click [[IoTGateway/BSP/Linux/iMX6/Yocto_LBV6_User_Guide#Build_Instructions|this]] for details) | ||
Latest revision as of 03:10, 19 December 2019
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 Imx6LBV6110_bt_testing_scripts_1.zip, and execute the following 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 has paired, 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}