www.ti.com
Commands
151
SWRU271H–October 2010–Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
HCI Extension API
hciStatus_t HCI_EXT_ModemHopTestTxCmd( void )
This API starts a continuous transmitter direct test mode test using a modulated
carrier wave and transmitting a 37-byte packet of pseudo-random 9-bit data. A
packet is transmitted on a different frequency (linearly stepping through all RF
channels 0 through 39) every 625 µs. Use the HCI_EXT_EndModemTest command
to end the test.
Note
NOTE: When the HCI_EXT_EndModemTest is issued to stop this test, a
controller reset occurs.
The device transmits at the default output power (0 dBm) unless changed
by HCI_EXT_SetTxPowerCmd.
Corresponding Events HCI_VendorSpecifcCommandCompleteEvent
hciStatus_t HCI_EXT_ModemTestRxCmd( uint8 rxFreq )
This API starts a continuous receiver modem test using a modulated carrier wave
tone, at the frequency that corresponds to the specific RF channel. Any received
data is discarded. Receiver gain may be adjusted using the HCI_EXT_SetRxGain
command. RSSI may be read during this test by using the HCI_ReadRssi
command. Use HCI_EXT_EndModemTest command to end the test.
Note
NOTE: The RF channel not the Bluetooth Low Energy frequency is specified.
You can obtain the RF channel from the Bluetooth Low Energy frequency
as follows: RF Channel = (Bluetooth Low Energy Frequency – 2402) ÷ 2.
When the HCI_EXT_EndModemTest is issued to stop this test, the
controller resets.
Parameters rxFreq- selects which channel [0 to 39] on which to receive
Corresponding Events HCI_VendorSpecifcCommandCompleteEvent