Telit LE910Cx-WE866Cx User Manual

Page 1
LE910Cx-WE866Cx
Bundling RF Test User Guide
80583NT11746A Rev. 6 – 2020-06-10
Page 2
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 2 of 52 2020-06-10
SPECIFICATIONS ARE SUBJECT TO CHANGE WITHOUT NOTICE

NOTICE

While reasonable efforts have been made to assure the accuracy of this document, Telit assumes no liability resulting from any inaccuracies or omissions in this document, or from use of the information obtained herein. The information in this document has been carefully checked and is believed to be reliable. However, no responsibility is assumed for inaccuracies or omissions. Telit reserves the right to make changes to any products described herein and reserves the right to revise this document and to make changes from time to time in content hereof with no obligation to notify any person of revisions or changes. Telit does not assume any liability arising out of the application or use of any product, software, or circuit described herein; neither does it convey license under its patent rights or the rights of others.
It is possible that this publication may contain references to, or information about Telit products (machines and programs), programming, or services that are not announced in your country. Such references or information must not be construed to mean that Telit intends to announce such Telit products, programming, or services in your country.

COPYRIGHTS

This instruction manual and the Telit products described in this instruction manual may be, include or describe copyrighted Telit material, such as computer programs stored in semiconductor memories or other media. Laws in the Italy and other countries preserve for Telit and its licensors certain exclusive rights for copyrighted material, including the exclusive right to copy, reproduce in any form, distribute and make derivative works of the copyrighted material. Accordingly, any copyrighted material of Telit and its licensors contained herein or in the Telit products described in this instruction manual may not be copied, reproduced, distributed, merged or modified in any manner without the express written permission of Telit. Furthermore, the purchase of Telit products shall not be deemed to grant either directly or by implication, estoppel, or otherwise, any license under the copyrights, patents or patent applications of Telit, as arises by operation of law in the sale of a product.

COMPUTER SOFTWARE COPYRIGHTS

The Telit and 3rd Party supplied Software (SW) products described in this instruction manual may include copyrighted Telit and other 3rd Party supplied computer programs stored in semiconductor memories or other media. Laws in the Italy and other countries preserve for Telit and other 3rd Party supplied SW certain exclusive rights for copyrighted computer programs, including the exclusive right to copy or reproduce in any form the copyrighted computer program. Accordingly, any copyrighted Telit or other 3rd Party supplied SW computer programs contained in the Telit products described in this instruction manual may not be copied (reverse engineered) or reproduced in any manner without the express written permission of Telit or the 3rd Party SW supplier. Furthermore, the purchase of Telit products shall not be deemed to grant either directly or by implication, estoppel, or otherwise, any license under the copyrights, patents or patent applications of Telit or other 3rd Party supplied SW, except for the normal non-exclusive, royalty free license to use that arises by operation of law in the sale of a product.
Page 3
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 3 of 52 2020-06-10

USAGE AND DISCLOSURE RESTRICTIONS

I. License Agreements
The software described in this document is the property of Telit and its licensors. It is furnished by express license agreement only and may be used only in accordance with the terms of such an agreement.
II. Copyrighted Materials
Software and documentation are copyrighted materials. Making unauthorized copies is prohibited by law. No part of the software or documentation may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or computer language, in any form or by any means, without prior written permission of Telit
III. High Risk Materials
Components, units, or third-party products used in the product described herein are NOT fault-tolerant and are NOT designed, manufactured, or intended for use as on-line control equipment in the following hazardous environments requiring fail-safe controls: the operation of Nuclear Facilities, Aircraft Navigation or Aircraft Communication Systems, Air Traffic Control, Life Support, or Weapons Systems (High Risk Activities"). Telit and its supplier(s) specifically disclaim any expressed or implied warranty of fitness for such High Risk Activities.
IV. Trademarks
TELIT and the Stylized T Logo are registered in Trademark Office. All other product or service names are the property of their respective owners.
V. Third Party Rights
The software may include Third Party Right software. In this case you agree to comply with all terms and conditions imposed on you in respect of such separate software. In addition to Third Party Terms, the disclaimer of warranty and limitation of liability provisions in this License shall apply to the Third Party Right software.
TELIT HEREBY DISCLAIMS ANY AND ALL WARRANTIES EXPRESS OR IMPLIED FROM ANY THIRD PARTIES REGARDING ANY SEPARATE FILES, ANY THIRD PARTY MATERIALS INCLUDED IN THE SOFTWARE, ANY THIRD PARTY MATERIALS FROM
WHICH THE SOFTWARE IS DERIVED (COLLECTIVELY “OTHER CODE”), AND THE USE
OF ANY OR ALL THE OTHER CODE IN CONNECTION WITH THE SOFTWARE, INCLUDING (WITHOUT LIMITATION) ANY WARRANTIES OF SATISFACTORY QUALITY OR FITNESS FOR A PARTICULAR PURPOSE.
NO THIRD PARTY LICENSORS OF OTHER CODE SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND WHETHER MADE UNDER CONTRACT, TORT OR OTHER LEGAL THEORY, ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE OTHER CODE OR THE EXERCISE OF ANY RIGHTS GRANTED UNDER EITHER OR BOTH THIS LICENSE AND THE LEGAL TERMS APPLICABLE TO ANY SEPARATE FILES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Page 4
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 4 of 52 2020-06-10

APPLICABILITY TABLE

PRODUCTS
WE866C3
WE866C6
LE910CX SERIES
Page 5
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 5 of 52 2020-06-10

CONTENTS

NOTICE.. ....................................................................................................... 2
COPYRIGHTS .................................................................................................. 2
COMPUTER SOFTWARE COPYRIGHTS ....................................................... 2
USAGE AND DISCLOSURE RESTRICTIONS ................................................ 3
APPLICABILITY TABLE .................................................................................. 4
CONTENTS ...................................................................................................... 5
1. INTRODUCTION ............................................................................ 7
1.1. Scope ............................................................................................. 7
1.2. Audience ........................................................................................ 7
1.3. Contact Information, Support ......................................................... 7
1.4. Text Conventions ........................................................................... 8
1.5. Related Documents ........................................................................ 9
2. INSTALL AND SETUP TOOLS ................................................... 10
2.1. Prerequisites ................................................................................ 10
2.2. Wi-Fi Hardware Test Setup .......................................................... 14
2.2.1. Direct Connection Setup .............................................................. 14
2.2.2. Indirect Connection Setup ............................................................ 14
3. WI-FI SIGNALING RF TEST ........................................................ 17
3.1. Access Point Mode ....................................................................... 17
3.1.1. AP Configuration .......................................................................... 17
3.2. STA (Client) Mode ........................................................................ 18
4. WI-FI NON-SIGNALING RF TEST ............................................... 19
4.1. Prerequisites ................................................................................ 19
4.2. Test Setup and Procedure ........................................................... 19
4.2.1. Setup WLAN Test ......................................................................... 19
4.2.2. WLAN Tx Test in 2.4GHz band .................................................... 22
4.2.3. WLAN Tx Test in 5GHz band ....................................................... 25
4.2.4. WLAN Rx Test in 2.4GHz band .................................................... 26
4.2.5. WLAN Rx Test in 5GHz band ....................................................... 28
5. BLUETOOTH RF TEST ............................................................... 29
5.1. Prerequisites ................................................................................ 29
Page 6
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 6 of 52 2020-06-10
5.2. Test Procedure ............................................................................. 29
5.2.1. Use Case 1: WE866Cx HCI UART Interface with LE910Cx Main UART 29
5.2.2. Use Case 2: WE866Cx HCI UART Interface with LE910Cx AUX UART 32
5.2.3. BLE Tx Test .................................................................................. 34
5.2.4. BLE Rx Test ................................................................................. 35
5.2.5. Bluetooth EDR Tx Test ................................................................. 35
5.2.6. Bluetooth EDR Rx Test ................................................................ 36
6. APPENDIX ................................................................................... 38
6.1. Board Data File (BDF) .................................................................. 38
6.1.1. Push/Pull BDF (through ADB commands).................................... 38
6.2. ADB Installation ............................................................................ 38
6.2.1. Verifying the Installation ............................................................... 41
6.3. ADB Commands Tutorial .............................................................. 42
6.4. LE910Cx AT Commands .............................................................. 43
6.4.1. Enable/Disable WLAN - #WLANSTART ....................................... 43
6.4.2. Enable/Disable Broadcast - #WLANBROADCAST ..................... 44
6.4.3. Change SSID - #WLANSSID ....................................................... 44
6.4.4. Change WLAN Mode - #WLANMODE ......................................... 45
6.4.5. Return Assigned IP Address - # WLANIP ................................... 45
6.4.6. Return Network Signal Strength - # WLANSIGNAL ..................... 45
6.4.7. Scan Wi-Fi Networks - #WLANSCAN .......................................... 46
6.4.8. Connect to SSID - #WLANCONNECT ......................................... 46
6.4.9. Network Disconnect - #WLANDISCONNECT .............................. 46
6.4.10. Change WLAN Security Parameters - #WLANSECURITY .......... 47
6.4.11. Change Channel Number and WLAN Protocol- # WLANPC ........ 47
6.4.12. Display Last Error in Detail - #WLANCFGERROR ....................... 48
6.4.13. Enable/Disable MAC Address Filter- # WLANMACMODE ........... 48
6.4.14. Add/Remove MAC Address to/from Accept List - #WLANMACACCEPT 49
6.4.15. Add/Remove MAC Address to/from Deny List - #WLANMACDENY49
6.4.16. Set Regulatory Domain - #WLANCOUNTRYCODE ..................... 50
6.4.17. Enable/Disable WLAN Unsolicited Message - #WLANINDI ......... 50
7. DOCUMENT HISTORY ................................................................ 51
Page 7
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 7 of 52 2020-06-10

1. INTRODUCTION

1.1. Scope

This document provides the step-by-step procedure to perform WE866Cx RF test in LTE Bundling applications.

1.2. Audience

This document is intended only for Telit customers who want to set up a bundling application using WE866Cx module.

1.3. Contact Information, Support

For general contact, technical support services, technical questions and report documentation errors contact Telit Technical Support at:
TS-EMEA@telit.com
TS-AMERICAS@telit.com
TS-APAC@telit.com
TS-SRD@telit.com
Alternatively, use:
https://www.telit.com/contact-us
For detailed information about where you can buy the Telit modules or for recommendations on accessories and components visit:
http://www.telit.com
Our aim is to make this guide as helpful as possible. Keep us informed of your comments and suggestions for improvements.
Telit appreciates feedback from the users of our information.
Page 8
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 8 of 52 2020-06-10

1.4. Text Conventions

Danger – This information MUST be followed, or catastrophic equipment failure or bodily injury may occur.
Caution or Warning – Alerts the user to important points about integrating the module, if these points are not followed, the module and end user equipment may fail or malfunction.
Tip or Information – Provides advice and suggestions that may be useful when integrating the module.
All dates are in ISO 8601 format, i.e. YYYY-MM-DD.
Page 9
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 9 of 52 2020-06-10

1.5. Related Documents

LE910Cx_SW_Guide, 1VV0301556
Qualcomm_80-wl400-24_e_qdart_connectivity_User_Guide
Qualcomm_80-wl431-24_a_qca9377-3_qdart_User_Guide
Qualcomm _80-yc321-3_a_qca6174a_qca9377_qca9379.lea_myftm_User_Guide
Qualcomm _80-n8207-1_y_wfa_certification_for_msm_sdm_platforms_Test_Guide
Page 10
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 10 of 52 2020-06-10

2. INSTALL AND SETUP TOOLS

This section provides step-by-step procedure to install QDART package required to perform RF tests using QRCT (Qualcomm Radio Control Toolkit).

2.1. Prerequisites

1. Computer running on Window 7/10.
2. QDART tool package from Qualcomm.
To download and install the latest QDART software package, perform the following steps:
1. Open https://createpoint.qti.qualcomm.com/ and login with your registered Qualcomm
Email ID and Password. First time users, click Register.
The homepage is displayed.
2. On the homepage, under Product Kits > All Product Types> Bluetooth/Wi-Fi, select DEV. This enables access to the tools.
3. Select Tools and search for QDART.
o Select, Subscribe and click QDART_CONN.WIN.1.0 Installer or
QDART.WIN.4.8 Installer to download. QDART_CONN.WIN.1.0 is a subset of
QDART.WIN.4.8, hence the file size is smaller.
Page 11
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 11 of 52 2020-06-10
A pop-up window appears “The download will initiate in your browser shortly. Please do not close this window until your download has initiated.”
4. Install QDART_CONN.WIN.1.0 Installer. Note that since this version of QDART has included windows USB driver which will be installed automatically during the installation of QDART.
5. To install QDART Run the QDART executable installer in Administrator mode.
Page 12
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 12 of 52 2020-06-10
Page 13
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 13 of 52 2020-06-10
6. The QDART installer installs multiple tools. This document describes the procedure for doing manual RF tests using QRCT.
Note: To use the QDART version (QDART-CONN 1.0-00072.1 and later) with Litepoint IQxel80/IQxel160, Anritsu 8870A, and NI PXI 5644/5645/5646, the SCPI interface is mandatory.
Contact the equipment company to get the SCPI package. Telit/Qualcomm does not distribute the equipment SCPI libraries to its customers.
Page 14
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 14 of 52 2020-06-10

2.2. Wi-Fi Hardware Test Setup

2.2.1. Direct Connection Setup

In this setup,
1. WE866Cx module is physically connected to LE910Cx through the SDIO interface.
2. LE910Cx is directly connected to HOST PC via USB interface as shown below.

2.2.2. Indirect Connection Setup

In this setup, the additional process is needed if the LE910Cx and the HOST PC is not physically connected.
1. The WE866Cx module is physically connected with the LE910Cx through the SDIO
interface (bundled).
2. The LE910Cx and the customer application processor is physically connected with
the USB interface.
Page 15
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 15 of 52 2020-06-10
3. The customer application processor is physically connected with the HOST PC.
All packet data of the DIAG should be forwarded between the LE910Cx and the Host PC through the customer application processor.
The MI information of each USB composition is as below.
Product ID
MI
Service Name
1201
0
DIAG
1
ADB
2
RMNET
3
NMEA
4
MODEM
5
MODEM
6
SAP
1203
0,1
RNDIS
2
DIAG
3
ADB
4
NMEA
5
MODEM
6
MODEM
7
SAP
1204
0
DIAG
1
ADB
2,3
MBIM
4
NMEA
5
MODEM
6
MODEM
7
SAP
1206
0
DIAG 1 ADB
2,3
ECM
4
NMEA
5
MODEM
6
MODEM
7
SAP
Page 16
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 16 of 52 2020-06-10
Product ID
MI
Service Name
1230
0
DIAG
1
ADB
2
RMNET
3,4,5
AUDIO
6
NMEA
7
MODEM
8
MODEM
9
SAP
1231
0,1
RNDIS
2
DIAG
3
ADB
4,5,6
AUDIO
7
NMEA
8
MODEM
9
MODEM
10
SAP
Page 17
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 17 of 52 2020-06-10

3. WI-FI SIGNALING RF TEST

This section provides the step-by-step procedure to configure WE866Cx for Wi-Fi signaling test.

3.1. Access Point Mode

1. Create a directory by issuing the below commands:
adb shell(login:root/password:oelinux123) mkdir/cache/firmware
2. Navigate to the WE866Cx.bin files directory and open a command prompt to run
the following commands (not under adb shell))
adb push utf.bin/cache/firmware adb push bdwlan.bin/cache/firmware adb push qwlan.bin/cache/firmware adb push otp.bin/cache/firmware Issue the following commands: adb shell(login:root/password:oelinux123) echo-n “/cache/firmware” > /svs/module/firmware_class/parameters/path
3. Start Wi-Fi Access Point Mode
/etc/init.d/wlan start ap //– start wlan driver in “ap” mode ifconfig wlan0 192.168.1.1 netmask 255.255.255.0 up //configure “wlan0” interface IP address (only valid for AP mode as in ST mode ip will be received via dhcp) echo 1 >/proc/sys/net/ipv4/ip_forward hostapd -B /data/wlan/hostapd.conf -dddd brctl addif bridge0 wlan0 //The last 3 commands are related to network routing + start AP daemon
Once the above commands are successfully executed, the following AP will be listed.
AP Name: QSoftAP
Password: 1234567890
For installing ADB please refer to section 6.2 ADB Installation.

3.1.1. AP Configuration

Hostapd.conf file can pulled/pushed at /data/wlan/ location.
File name: “00CC9974.conf_origine”
00CC9974.conf_origine
Page 18
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 18 of 52 2020-06-10

3.2. STA (Client) Mode

1. Create a directory by issuing the below commands:
adb shell(login:root/password:oelinux123) mkdir/cache/firmware
2. Navigate to the WE866Cx.bin files directory and open a command prompt to run
the following commands (not under adb shell)
adb push utf.bin/cache/firmware adb push bdwlan.bin/cache/firmware adb push qwlan.bin/cache/firmware adb push otp.bin/cache/firmware Issue the following commands: adb shell(login:root/password:oelinux123) echo-n “/cache/firmware” > /svs/module/firmware_class/parameters/path
3. Start Wi-Fi STA (Client) Mode
AT#WLANMODE=1 // To force in client mode AT#WLANSTART=1 // To start WLAN AT#WLANSCAN=0 // scanning for wifi networks
OR
adb shell command: iw wlan0 scan
SSID: MT8862A or CMW-AP signal: -44.00 dBm freq: 2437
AT#WLANCONNECT=CMW-AP // SSID=MT8862A or CMW-AP
Page 19
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 19 of 52 2020-06-10

4. WI-FI NON-SIGNALING RF TEST

This section provides the step-by-step procedure to perform non-signaling (FTM) Wi-Fi RF test using QRCT.

4.1. Prerequisites

WE866Cx firmware
utf.bin bdwlan.bin qwlan.bin otp.bin

4.2. Test Setup and Procedure

4.2.1. Setup WLAN Test

Step 1: Connect the USB cable, RF cable and power up the hardware.
Once successfully connected the device is listed under Device Manager as shown below.
Page 20
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 20 of 52 2020-06-10
Step 2: Start WE866Cx in FTM mode
Now, open a command prompt and run the following commands. Note that WE866Cx firmware files will be present in LE910Cx firmware by default.
1. [Optional] Upload WE866Cx Firmware using the following commands.
adb shell root oelinux123 // root is accessible when string « ~ # » appears mkdir /cache/firmware // Only once In CMD windows from location of bin files (attached) run commands below : not under adb shell // only once adb push utf.bin /cache/firmware adb push bdwlan.bin /cache/firmware adb push qwlan.bin /cache/firmware adb push otp.bin /cache/firmware
2. Place WE866Cx in FTM mode.
adb shell root oelinux123 // root is accessible when string « ~ # » appears /etc/init.d/wlan start_ftm ftmdaemon
You can check the WE866Cx log with the dmesg command.
Page 21
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 21 of 52 2020-06-10
Step 3: Establish connection between WE866Cx and QRCT
Perform the following steps to put the device in FTM mode.
Run the QRCT tool.
1. Select Target type MSM_MDM from the drop-down list.
2. Select COM port
3. Click Connect
4. Select Category > WLAN
5. Select Chipset > QCA6174
6. Click MANUAL SELECT CHIP
7. Click Chip Selection
8. In Chip Selection window, select Chip > QC6174
9. Select RFCal Data Source > File
10. Click Select BDF and browse the BDF file.
For example: C:\WE866C3 bin files\bdwlan Default\bdwlan.bin
11. Select WLAN Instance >Inst0
12. Click Establish Connection
Once the connection is successful, the following message appears. Now, the DUT is ready for RF Test.
1 2 4 5 8
6
7
3
9
11
10
12
Page 22
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 22 of 52 2020-06-10

4.2.2. WLAN Tx Test in 2.4GHz band

1. Click TX
2. Under TX SETUP, set the desired configuration parameters.
Page 23
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 23 of 52 2020-06-10
Note: In HT Mode
HT40+: 40MHz bandwidth, primary high, 802.11n HT40-: 40MHz bandwidth, primary low, 802.11n
The below screenshot shows Tx settings in 802.11b, CH.6, 2.4GHz band.
1
2
3
4 5 6
7
8
9
10
11
Page 24
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 24 of 52 2020-06-10
3. Click SET TX ON
4. Observe the RF signal parameters on test instrument CMW500.
5. To change any of the Tx parameters, click SET TX OFF, then change the parameter and re-click the SET TX ON.
Page 25
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 25 of 52 2020-06-10

4.2.3. WLAN Tx Test in 5GHz band

The below screenshot shows Tx settings in 802.11ac, CH.46, 5GHz band.
Page 26
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 26 of 52 2020-06-10

4.2.4. WLAN Rx Test in 2.4GHz band

1. Click RX
2. Under RX SETUP, set the desired configuration parameters.
The below screenshot shows Rx settings in 802.11b, CH.6, 11Mbps, 2.4GHz band.
Page 27
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 27 of 52 2020-06-10
3. After setting desired Rx paramters, click SET CONT. RX
4. Configure the VSG to transmit significant number of WLAN packets.
5. Click GET RX REPORT in the QRCT. Inspect receiver report and calculate PER.
Page 28
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 28 of 52 2020-06-10

4.2.5. WLAN Rx Test in 5GHz band

The below screenshot shows Rx settings in 802.11ac, CH.46, MCS9, 5GHz band.
Page 29
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 29 of 52 2020-06-10

5. BLUETOOTH RF TEST

This section provides the step-by-step procedure to perform a BLE RF testing once the DUT is in Factory Test mode.

5.1. Prerequisites

The following files must be available in the WE866Cx firmware. If not, please contact Telit Technical support.
tfbtnv11.nvm
tfbtfw11.tlv

5.2. Test Procedure

5.2.1. Use Case 1: WE866Cx HCI UART Interface with LE910Cx Main UART

1. Connect the WE866Cx UART to the LE910Cx main UART.
2. Load BDF file to WE866Cx. Steps are given in section 4.2.1 to load BDF file to WE866Cx.
3. Execute the below commands in adb shell:
cd /sys/class/tty
ls
4. Check ttyHS0.
5. Connect the LE910Cx USB interface to your PC and check the LE910Cx modem serial port.
6. Open the LE910Cx serial port in Tera Term and issue the below commands:
AT#USBCFG?
AT#PORTCFG?
Page 30
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 30 of 52 2020-06-10
If the response is not as shown in the above screenshot, issue the below AT commands:
AT#USBCFG=13
AT#PORTCFG=14
Note: Execution of these commands are needed only once after flashing the firmware to LE910Cx.
7. If BT_EN pin is connected to LE910Cx pin GPIO_07, issue the below AT command to LE910Cx to power-up the WE866Cx Bluetooth.
AT#GPIO=7,1,1,0
Note – This command is not required in the designs where WL_EN and BT_EN are shorted.
8. Close the LE910Cx serial port.
9. To create pipe between LE910Cx USB port to LE910Cx main UART port, issue the below commands in adb shell.
cd /sys/class/tty
killall socat
socat -b128 /dev/ttyGS1,raw,echo=0,b115200 /dev/ttyHS0,raw,echo=0,crtscts=1,b115200 &
10. Open QRCT tool and select the serial port and click Connect.
Page 31
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 31 of 52 2020-06-10
11. Issue HCI reset. QRCT tool opens the BT DIAG Bridge console. The WE866Cx BT controller responses will be displayed as shown below.
12. Download NVM file
Browse NVM file location.
Click Download NVM (file name: xxxx.nvm)
13. Download the patch file
Browse Patch file location.
Click Download Patch (file name: xxxx.tlv)
14. Issue HCI reset. Downloaded files will take effect.
15. To start WE866Cx Bluetooth RF tests, refer to section 5.2.3 BLE Tx Test.
Page 32
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 32 of 52 2020-06-10

5.2.2. Use Case 2: WE866Cx HCI UART Interface with LE910Cx AUX UART

1. Connect the WE866Cx UART to LE910Cx main UART.
2. Load BDF file to WE866Cx. Steps are given in section 4.2.1 to load BDF file to WE866Cx.
3. Execute the below commands in adb shell:
cd /sys/class/tty
ls
4. Check ttyHS1.
5. Connect the LE910Cx USB interface to PC and check the LE910Cx modem serial port.
6. Open the LE910Cx serial port in Tera Term (115200 baud, 8N1) and issue the below commands.
AT#USBCFG=13
AT#PORTCFG=16
Note: Execution of these commands are needed only once after flashing the firmware to LE910Cx.
7. If BT_EN pin is connected to LE910Cx pin GPIO_07, issue the below AT command to LE910Cx to power-up the WE866Cx Bluetooth.
AT#GPIO=7,1,1,0
Note – This command is not required in the designs where WL_EN and BT_EN are shorted.
Page 33
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 33 of 52 2020-06-10
8. Close the LE910Cx serial port.
9. To create pipe between LE910Cx USB port to LE910Cx AUX UART port, issue the below commands in adb shell.
cd /sys/class/tty
killall socat
socat -b128 /dev/ttyGS1,raw,echo=0,b115200 /dev/ttyHS1,raw,echo=0,crtscts=1,b115200 &
Note: If required, use params b921600 and b3000000 for 921kbps and 3Mbps baud rates.
10. Open QRCT tool and select the serial port and click Connect.
11. Issue HCI reset. QRCT tool opens the BT DIAG Bridge console. The WE866Cx BT controller responses will be displayed as shown below.
Page 34
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 34 of 52 2020-06-10
12. Download NVM file
Browse NVM file location.
Click Download NVM (file name: xxxx.nvm)
13. Download the patch file
Browse Patch file location.
Click Download Patch (file name: xxxx.tlv)
14. For the loaded files to be effective, issue HCI reset.
15. To start WE866Cx Bluetooth RF tests, refer to section 5.2.3 BLE Tx Test.

5.2.3. BLE Tx Test

To start the BLE RF Tx test, refer to the QRCT BLE tab below and select the options as per the test requirement.
1. To start the Tx test, click Transmitter Test in QRCT.
2. Observe the test instrument user interface to see the results.
3. To stop the Tx test, click Tx Stop in QRCT.
4. Below screenshot shows the Tx test results from Litepoint iQxel user interface.
Page 35
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 35 of 52 2020-06-10
5. Note the Avg and Max Tx power value in dBm.

5.2.4. BLE Rx Test

To start the BLE RF Rx test, refer to the QRCT BLE tab below and select the options as per the test requirement.
1. To start the Rx test, click Receiver Test in QRCT.
2. Configure your test instrument for generating BLE waveform as per the test requirement.
3. Generate N packets and wait till all the packets are transmitted.
4. To get the Number of packets received, click End Test in QRCT. From this PER can be calculated.

5.2.5. Bluetooth EDR Tx Test

To perform the Bluetooth Enhanced Data Rate (EDR) RF Tx test, refer to the QRCT Bluetooth Non-Signaling (EPTM) tab below and select the options as per the test requirement.
1. To start Tx transmission in burst mode, click Tx only Burst in QRCT and measure the power on the spectrum analyzer or CMW500.
Page 36
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 36 of 52 2020-06-10
2. To stop the Tx test, click Stop in QRCT.
3. Below screenshot shows the Tx test results from CMW500 user interface.

5.2.6. Bluetooth EDR Rx Test

To perform the Bluetooth Enhanced Data Rate (EDR) RF Rx test, refer to the QRCT Bluetooth Non-Signaling (EPTM) tab below and select the options as per the test requirement.
Page 37
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 37 of 52 2020-06-10
1. To start Rx transmission in burst mode, click Rx Only Burst in QRCT.
2. Click Rx Test stats to receive statistics in the debug window and average statistics in the GUI.
3. Configure your test instrument by setting the required frequency for RX sensitivity.
4. The Rx measurements are displayed.
5. To stop the Rx test, click Stop in QRCT.
Page 38
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 38 of 52 2020-06-10

6. APPENDIX

6.1. Board Data File (BDF)

BDF (Board Data file) contains a set of fields and parameters that are used by firmware for device configuration and operation. The BDF must be placed in /cache/firmware directory.

6.1.1. Push/Pull BDF (through ADB commands)

Copy from PC to target (Push):
adb push bdwlan.bin /cache/firmware
Copy from target to PC (Pull):
adb pull /cache/firmware/bdwlan.bin

6.2. ADB Installation

Android Debug Bridge (adb) is a versatile command-line tool that lets you communicate with a device. The adb command facilitates a variety of device actions, such as installing and debugging apps, and it provides access to a Unix shell that you can use to run a variety of commands on a device.
Perform the following steps to install ADB on an Android SDK Platform for Windows:
1. Open a windows browser and navigate to
https://developer.android.com/studio/releases/platform-tools.html.
2. Under Downloads section, click Download SDK Platform – Tools for Windows.
Page 39
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 39 of 52 2020-06-10
3. The Terms and Conditions pop-up window appears. Select the checkbox and click DOWNLOAD ANDROID STUDIO FOR WINDOWS.
4. The “platform-tools_r28.0.2-windows.zip” will be downloaded to your local drive on your computer.
Page 40
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 40 of 52 2020-06-10
5. Unzip the folder onto your Windows C drive (“C:\Program Files”) and rename the folder as “Adb”.
6. Add “ADB” to the Windows Path to set the environmental variables by performing the following steps:
a. Right-click on the windows Start button and select Run. b. Type sysdm.cpl in Run window and click OK to open System Properties.
c. Under Advanced tab, click Environment Variables.
d. In the Environment Variables window,
i. Under System variables, click New.
ii. In the New System Variable window, enter the following:
Variable name: ADB Variable value: C:\Program Files\Adb\platform-tools
Then, click OK.
Page 41
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 41 of 52 2020-06-10
iii. Under User Variable, select Path and click Edit. iv. In the Edit environment variable window, click New and enter
C:\Program Files\Adb\platform-tools for the variable value, and then click OK.

6.2.1. Verifying the Installation

1. Launch Windows Power shell from the Start menu and execute the adb version to verify the location is added.
Page 42
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 42 of 52 2020-06-10

6.3. ADB Commands Tutorial

adb devices : List of all devices adb shell : launches a shell on the device adb push <local> <remote> : pushes the file <local> to <remote> adb pull <remote> [<local>] : pulls the file <remote> to <local>. If <local> isn’t specified, it will pull to the current folder. adb logcat : allows you to view the device log in real-time. You can use adb logcat -b radio to view radio logs, and adb logcat -C to view logs in colour adb install <file> : installs the given .apk file to your device adb shell dumpsys meminfo : Memory consumption overview adb shell dumpsys batterystats --charged <package-name>: Battery information tasks
Page 43
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 43 of 52 2020-06-10

6.4. LE910Cx AT Commands

6.4.1. Enable/Disable WLAN - #WLANSTART

#WLANSTART – Enable/Disable WLAN
AT#WLANSTART=[< mode>]
Set command to enable/disable WLAN
Parameter:
<Mode> - int type, status mode.
0 – Disable 1 – Enable 2 – Auto enable with start
<cid> - (PDP Context Identifier) numeric parameter which specifies a
particular PDP context definition.
Note: Enable WLAN will start it as access point mode by default unless configure prior to start (at#wlanmode).
Note: In case of starting WLAN with no network (no SIM card, +cfun=4, …) WLAN will start without internet access and it will return +CME ERROR: No Internet Access. Note: starting WLAN without <cid> parameter will start the WLAN with <cid>=1.
AT#WLANSTART?
Read command returns the current WLAN status in the format:
#WLANSTART: <mode>
Where:
<mode>
0 – WLAN off
1 – WLAN on
2 – WLAN on and auto start
<cid> - PDP Context Identifier
AT#WLANSTART=?
Test command returns the supported range of values for parameter <mode> <cid>.
Page 44
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 44 of 52 2020-06-10

6.4.2. Enable/Disable Broadcast - #WLANBROADCAST

6.4.3. Change SSID - #WLANSSID

#WLANBROADCAST – Enable/Disable broadcast
AT#WLANBROADCA ST=[<mode>]
Set command enable/disable broadcast
Parameter:
<mode> - int type, status mode.
0 – Enable broadcast 1 – Disable broadcast
AT#WLANBROADCA ST ?
Read command returns the current broadcast status in the format:
#WLANBROADCAST: <mode>
Where:
<mode>
0 – Enable broadcast 1 – Disable broadcast
AT#WLANBROADCA ST =?
Test command returns the supported range of values for parameter <mode>.
#WLANSSID – Change the SSID name
AT#WLANSSID=[<ss id>]
Set command change the SSID name
Parameter:
<ssid> - string type,ssid.
AT#WLANSSID?
Read command returns the current SSID in the format:
#WLANSSID: <ssid>
AT#WLANSSID=?
Test command returns OK result code.
Page 45
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 45 of 52 2020-06-10

6.4.4. Change WLAN Mode - #WLANMODE

6.4.5. Return Assigned IP Address - # WLANIP

6.4.6. Return Network Signal Strength - # WLANSIGNAL

#WLANMODE – Change mode : Access point/client
AT#WLANMODE=[< mode>]
Set command change WLANE mode
Parameter :
<mode> - int type, status mode.
0 – Access point mode (AP) 1 – Client mode (STA) 2 – Concurrent mode (AP+STA)
AT#WLANMODE?
Read command returns the current mode status in the format:
#WLANMODE: <mode>
Where :
<mode>
0 – Access point mode (AP) 1 – Client mode (STA) 2 – Concurrent mode (AP+STA)
AT#WLANMODE=?
Test command returns the supported range of values for parameter <mode>.
#WLANIP – Return assigned IP address
AT#WLANIP
Execute return the assigned IP address
AT#WLANIP=?
Test command returns OK
#WLANSIGNAL – Return the signal strength of the network we connected to
AT#WLANSIGNAL
Execute return the signal strength of the network we connected to
AT# WLANSIGNAL =?
Test command returns OK
Page 46
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 46 of 52 2020-06-10

6.4.7. Scan Wi-Fi Networks - #WLANSCAN

6.4.8. Connect to SSID - #WLANCONNECT

6.4.9. Network Disconnect - #WLANDISCONNECT

#WLANSCAN – Scan Wi-Fi Network
AT#WLANSCAN=[< mode>]
Set command for client mode only for scanning for WI-FI networks.
Parameter :
<mode> - int type, mode.
0 – normal result 1 – extend result AT#WLANSCAN=?
Test command returns the supported range of values for parameter <mode>.
#WLANCONNECT – Connect to SSID
AT#WLANCONNECT =[[<ssid>],[<security >],[<key>]]
Set command for client mode only, to connect to a given SSID
Parameter:
<ssid> - string type, ssid. <security> - int type
0 – wep 1 – wpaX
<key> - string type, key.
AT#WLANCONNECT ?
Read command returns the currently ssid it connect to in the format:
# WLANCONNECT: <ssid>
AT#WLANCONNECT =?
Test command reports supported values for the parameter < type >.
#WLANCONNECT:(0-1)
#WLANDISCONNECT – Disconnect from SSID
AT#WLANDISCONN ECT
Execution command will disconnect from the network. Relevant for client mode only.
AT#WLANDISCONN ECT=?
Test command returns OK result code.
Page 47
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 47 of 52 2020-06-10

6.4.10. Change WLAN Security Parameters - #WLANSECURITY

6.4.11. Change Channel Number and WLAN Protocol- # WLANPC

#WLANSECURITY – Use to change the WLAN Security parameters
AT#WLANSECURITY =[[<wpa>],[<key_mg mt>,<pairwise>,<key >]]
Set command allows changing WLAN security parameters. Relevant for AP mode only.
Parameter:
<wpa> - security type 0 – disable 1 – wpa1 2 – wpa2 3 – wpa1 + wpa2 <key_mgmt> - security type 0 – WPA-PSK <pairwise> - This controls wpa's data encryption 0 – TKIP 1 – CCMP 2 – TKIP and CCMP <key> - string type, the network's password
AT#WLANSECURITY ?
Read command reports the current value of the parameters
AT#WLANSECURITY =?
Test command returns the supported range of values for parameters
<wpa>,<key_mgmt>,<pairwise>,<key> in the format:
#WLANSECURITY: (0-3),(0-2),""
#WLANPC – Use to change the channel number and the protocol.
AT#WLANPC=<mod e> ,<channel_num>
Set command allow to change the AP channel number. Relevant for AP mode only.
Parameter: <mode> - protocol type 0 – 'b' 1 – 'b/g' 2 – 'b/g/n' (default) 3 – 'a/g/n' 4 – 'a/g/n/ac'
<channel_num> - channel number
NOTE: The channel can be selected automatically at run time by setting
channel=0
Page 48
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 48 of 52 2020-06-10

6.4.12. Display Last Error in Detail - #WLANCFGERROR

6.4.13. Enable/Disable MAC Address Filter- # WLANMACMODE

AT# WLANPC ?
Read command returns the current channel number and protocol in the format:
#WLANPC : <mode> ,<channel_num>
Example:
at#wlanpc? #WLANPC: 1,12
AT#WLANPC=?
Test command returns the supported range of values for parameter <mode>.code.
#WLANCFGERROR – Display hostapd.conf output error
AT#WLANCFGERRO R
Execution command will display last error in detailed form. AT#WLANCFGERRO
R=?
Test command returns OK result code. #WLANMACMODE – Enable/Disable MAC address filtering
AT# WLANMACMODE =<mode>
Set command allow to enable/disable the MAC address filter. Relevant for AP mode only.
Parameter:
<mode> - int type 0 = accept unless in deny list (default)
1 = deny unless in accept list
AT#WLANMACMOD E ?
Read command returns the currently mode in the format:
#WLANMACMODE : <num>
Example:
at#wlanmacmode? #WLANMACMODE: 1
AT#WLANMACMOD E =?
Test command returns the supported range of values for parameter <mode>.
Page 49
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 49 of 52 2020-06-10

6.4.14. Add/Remove MAC Address to/from Accept List - #WLANMACACCEPT

6.4.15. Add/Remove MAC Address to/from Deny List - #WLANMACDENY

#WLANMACACCEPT – Use to add/ remove MAC address to/from accept list
AT#WLANMACACC EPT=<mode>,<mac_ address>
Set command allow to add/remove MAC address to/from accept list. Relevant for AP mode only.
Parameter:
<mode> - int type 0 – remove from accept list 1 – add to accept list
< mac_address > - string type, mac address
NOTE: mac address should be written with ':' between each Hexa number. Example 00:A0:C6:00:00:17
AT#WLANMACACC EPT?
Read command returns the accept list:
AT#WLANMACACC EPT =?
Test command returns the supported range of values for parameters #WLANMACDENY – Use to add/remove MAC address to/from deny list
AT#WLANMACDENY =<mode>,<mac_add ress>
Set command allow to add/ remove MAC address to/from deny list. Relevant for AP mode only.
Parameter:
<mode> - int type 0 – remove from deny list 1 – add to deny list
< mac_address > - string type, mac address
NOTE: mac address should be written with ':' between each Hexa number. Example 00:A0:C6:00:00:17
AT#WLANMACDENY ?
Read command returns the deny list:
AT#WLANMACDENY =?
Test command returns the supported range of values for parameters
Page 50
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 50 of 52 2020-06-10

6.4.16. Set Regulatory Domain - #WLANCOUNTRYCODE

6.4.17. Enable/Disable WLAN Unsolicited Message - #WLANINDI

#WLANCOUNTYCODE– Use to set the regulatory domain
AT#WLANCOUNTRY CODE=<country_co de >
Set command allow to change the country code. Relevant for AP mode only.
Parameter:
<country_code> - string type
NOTE: This can limit available channels and transmit power.
Default: US
AT#WLANCOUNTRY CODE ?
Read command returns the currently country code in the format:
#WLANCOUNTRYCODE: <string>
Example:
at#wlancountrycode? #WLANCOUNTRYCODE: US
OK
AT#WLANCOUNTRY CODE =?
Test command return OK #WLANINDI – Enable/Disable WLAN unsolicited message
AT#WLANINDI=[<sta te>]
Set command enable/disable WLAN unsolicited message
Parameter:
<state> - int type,status mode.
0 – disable (factory default) 1 – enable
Note: need to be save on profiles
AT#WLANINDI?
Read command returns the currently WLAN status in the format:
#WLANINDI: <state>
Where:
<state>
0 – off
1 – on
AT#WLANINDI=?
Test command returns the supported range of values for parameter <state>.
Page 51
LE910Cx-WE866Cx Bundling RF Test User Guide
80583NT11746A Rev. 6 Page 51 of 52 2020-06-10

7. DOCUMENT HISTORY

Revision
Date
Changes
0
2019-03-25
First issue
1
2019-04-02
Added Chapter 2 Equipment
2
2019-04-05
Enhanced section 2.2.2 Indirect Connection Setup
3
2019-04-10
Added ADB installation details
4
2020-03-12
Added Chapter 5. Bluetooth RF Test
Updated Chapter 4.Wi-Fi Non-Signaling RF Test with relevant screenshots.
Renamed and updated Chapter 2. Setup as Chapter 2. Install and Setup Tools
Updated contact information
Removed Chapter 3. Test Bench: Tools & Firmware
5
2020-04-20
Updated Applicability Table
6
2020-06-10
Changed the document name to “LE910Cx-WE866Cx Bundling RF Test User Guide to incorporate WE866C6 module.
Added the following sections:
5.2.5 Bluetooth EDR Tx Test
5.2.6 Bluetooth EDR Rx Test
Page 52
Loading...