Commands
www.ti.com
154
SWRU271H–October 2010–Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
HCI Extension API
hciStatus_t HCI_EXT_PERbyChanCmd ( uint16 connHandle, perByChan_t *perByChan )
This command starts or ends the packet error rate by accumulating channel
counters for a connection and can be used by an application to make coexistence
assessments. Based on the results, an application can perform an update channel
classification command to limit channel interference from other wireless
standards. If *perByChan is NULL, counter accumulation discontinues. If
*perByChan is not NULL, sufficient memory is assumed to exist at this location for
the PER data based on the following type definition perByChan_t located in ll.h:
Note
NOTE: You must ensure there is sufficient memory allocated in the perByChan
structure. You must also maintain the counters by clearing them if
required before starting accumulation.
The counters are 16 bits. At the shortest connection interval, this
provides a bit over 8 minutes of data.
This command can be used combined with
HCI_EXT_PacketErrorRateCmd.
Parameters connHandle – The connection ID to accumulate the data
perByChan- Pointer to PER by channel data or NULL
Corresponding Events HCI_VendorSpecifcCommandCompleteEvent
hciStatus_t HCI_EXT_ResetSystemCmd ( uint8 mode )
This command issues a hard or soft system reset. A watchdog timer timeout
causes a hard reset. Resetting the PC to zero causes a soft reset.
Note
NOTE: The reset occurs after a 100 ms delay to let the correspond event to be
returned to the application.
Parameters mode – HCI_EXT_RESET_SYSTEM_HARD
Corresponding Events HCI_VendorSpecifcCommandCompleteEvent
hciStatus_t HCI_EXT_SaveFreqTuneCmd ( void )
This PTM-only command saves this device’s the tuning setting of this device in
non-volatile memory. The Bluetooth Low Energy Controller uses this setting when
resetting and waking from sleep.
Corresponding Events HCI_VendorSpecifcCommandCompleteEvent