Commands
www.ti.com
158
SWRU271H–October 2010–Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
HCI Extension API
hciStatus_t HCI_EXT_SetRxGainCmd( uint8 rxGain )
This command sets the RF receiver gain. The default system value for this feature
is standard receiver gain.
Note
NOTE: When DTM is ended by a call to HCI_LE_TestEndCmd or a HCI_Reset
is used, the transmitter output power setting is restored to the default
value of 0 dBm.
Parameters rxGain– one of:
• HCI_EXT_RX_GAIN_STD
• HCI_EXT_RX_GAIN_HIGH
Corresponding Events HCI_VendorSpecifcCommandCompleteEvent
hciStatus_t HCI_EXT_SetSCACmd ( uint16 scaInPPM )
This command sets the sleep clock accuracy (SCA) value of the device in parts
per million (PPM), from 0 to 500. For a master device, the value is converted to one
of eight ordinal values representing a SCA range per , which is used when a
connection is created. For a slave device, the value is used directly. The system
default value for a master and slave device is 50 ppm and 40 ppm, respectively.
Note
NOTE: This command is allowed only when the device is disconnected.
The SCA value of the device remains unaffected by an HCI reset.
Parameters scaInPPM – The SCA of the device in PPM from 0 to 500.
Corresponding Events HCI_VendorSpecifcCommandCompleteEvent
hciStatus_t HCI_EXT_SetSlaveLatencyOverrideCmd ( uint8 mode)
This command enables or disables the slave latency override letting the user
temporarily suspend slave latency even though it is active for the connection.
When enabled, the device wakes up for every connection until slave latency
override is disabled again. The default value is disable.
Note
NOTE: This command applies only to devices in the slave role.
This command can help when the slave application will soon receive
something that must be handled immediately. This command fails to
change the slave latency connection parameter: the device wakes up for
each connection event.
Parameters control – HCI_EXT_ENABLE_SL_OVERRIDE, HCI_EXT_DISABLE_SL_OVERRIDE
Corresponding Events HCI_VendorSpecifcCommandCompleteEvent