NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
4.9 RF test mode
This section describes the commands to perform the RF Test for Bluetooth Classic and
Bluetooth Low Energy on the i.MX 8M Quad EVK.
4.9.1 Bluetooth Classic
4.9.1.1 Enable test mode for qualification
The
HCI_Enable_Device_Under_Test_Mode
command allows the local BR/EDR
controller to enter test mode via LMP test commands for BR/EDR controllers. Read more
Bluetooth Core Specification v5.2
.
root@imx8mqevk:~# hcitool -i hci0 cmd 0x06 0x0003
Command output example:
< HCI Command: ogf 0x06, ocf 0x0003, plen 0
< HCI Command: Enable Device Under Test Mode (0x06|0x0003) plen 0
> HCI Event: 0x0e plen 4
01 03 18 00
> HCI Event: Command Complete (0x0e) plen 4
Enable Device Under Test Mode (0x06|0x0003) ncmd 1
Status: Success (0x00)
root@imx8mqevk:~#
4.9.1.2 Set the receive test parameters
This command sets the receive test parameters. An HCI reset command is required after
this test to resume normal Bluetooth operation.
root@imx8mqevk:~# hcitool -i hci0 cmd 0x3F 0x0018 0x01 0x01 0x02 0x0F 0x02 0x00
0x00 0x00 0x01 0x00 0x01 0x6C 0x6C 0xC6 0x56 0x39 0x20 0x00
Command output example:
< HCI Command: ogf 0x3f, ocf 0x0018, plen 18
01 01 02 0F 02 00 00 00 01 00 01 6C 6C C6 56 39 20 00
< HCI Command: Vendor (0x3f|0x0018) plen 18
->01 01 02 0f 02 00 00 00 01 00 01 6c 6c c6 56 39
->20 00
> HCI Event: 0x0e plen 4
->01 18 FC 00
> HCI Event: Command Complete (0x0e) plen 4
Vendor (0x3f|0x0018) ncmd 1
Status: Success (0x00)
root@imx8mqevk:~#
where:
Parameter
Length
Definition
OGF
1
0x3F
OCF
2
0x0018
UM11490
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2021. All rights reserved.
User manual
Rev. 2 — 29 January 2021
74 / 88