NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
Step 8 - Set external source device as default source
root@imx8mqevk:~# pacmd set-default-source <index number of external
source device>
Step 9 - Enable the audio route
root@imx8mqevk:~# pactl load-module module-loopback latency_msec=1
source=alsa_input.platform-sound-bt-sco.mono-fallback sink=<External sink
device>
root@imx8mqevk:~# pactl load-module module-loopback latency_msec=1
source=<External source device> sink=alsa_output.platform-sound-bt-sco.mono-
fallback
Step 10 - Enable PCM line management by the host software
The following command controls the PCM lines. This command should be sent when the
host wants to control the PCM lines.
The host needs to issue this command to have multiple voices at the same time, to let
the controller know that the host software provides the PCM configuration.
root@imx8mqevk:~# hcitool -i hci0 cmd 0x3f 0x0070 0x01
Command output example:
< HCI Command: ogf 0x3f, ocf 0x0070, plen 1
01
> HCI Event: 0x0e plen 4
01 70 FC 00
where:
Parameter
Length
Definition
OGF
1
0x3F
OCF
2
0x0070
Action
1
0x00 = the controller manages the PCM lines(default)
0x01 = the host software manages the PCM lines (enables new
use cases)
Step 11 - Connect with a remote Bluetooth device
Section 4.1 "Scan, pair and connect to Bluetooth classic/Bluetooth LE"
connect with a remote Bluetooth device that supports HFP Audio Gateway.
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
57 / 88