NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
Command output example:
< HCI Command: ogf 0x3f, ocf 0x006f, plen 6
01 00 08 00 00 00
> HCI Event: 0x0e plen 4
01 6F FC 00
root@imx8mqevk:/usr/lib/ofono/test#
where:
Parameter
Length
Definition
OGF
1
0x3F
OCF
2
0x006F
Action
1
0x00 = PCM will be initialized
0x01 = PCM will be de-initialized
Operation mode
1
0x00 = normal mode
This mode is used when only 1 voice call needs to be active at
a time. Depending on the Action parameter, either the PCM will
be initialized or de-initialized.
0x01 = internal loopback
This mode is used when there are 2 HF connections and
audio data on first connection needs to be routed to second
connection. This can be used only when both SCO links are of
the same type (that is, NB to NB, or WB to WB only).
0x02 = remote loopback on same link
0x03 = local loopback on same link
0x04 to 0xFF = reserved
SCO Handle1
2
Synchronous connection handle for which PCM configuration is
to be done
Range from 8 to 10
SCO Handle2
2
Synchronous connection handle for which PCM configuration is
to be done
Parameter valid only when Operation Mode = 0x01.
Step 20 - Use Ofono test script to hang up a call
Ofono hangup-all script uses the AT command
AT+CHUP
to hangup a call.
root@imx8mqevk:/usr/lib/ofono/test# python3 ./hangup-all
root@imx8mqevk:/usr/lib/ofono/test#
Step 21 - Use Ofono test script to answer a call
Ofono answer-calls script uses the AT command
ATA
to answer a call.
root@imx8mqevk:/usr/lib/ofono/test# python3 ./answer-calls
Command output example:
[ /hfp/org/bluez/hci0/dev_04_1B_BA_C7_92_36 ]
[ /hfp/org/bluez/hci0/dev_04_1B_BA_C7_92_36/voicecall01 ] incoming
root@imx8mqevk:/usr/lib/ofono/test#
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
63 / 88