www.ti.com
Commands
153
SWRU271H–October 2010–Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
HCI Extension API
hciStatus_t HCI_EXT_OnePacketPerEventCmd ( uint8 control )
This command configures the link layer to only allow one packet per connection
event. The default system value for this feature is disabled. This command can
tradeoff throughput and power consumption during a connection. When enabled,
power can be conserved during a connection by limiting the number of packets
per connection event to one at the expense of more limited throughput. When
disabled, the number of packets transferred during a connection event is not
limited at the expense of higher power consumption per connection event.
Note
NOTE: Perform a power analysis of the system before determining whether this
command will save power. Transferring multiple packets per connection
event, may be more power efficient.
Parameters control – HCI_EXT_DISABLE_ONE_PKT_PER_EVT,
HCI_EXT_ENABLE_ONE_PKT_PER_EVT
Corresponding Events HCI_VendorSpecifcCommandCompleteEvent: this event is returned only if the setting is
changing from enable to disable or disable to enable
hciStatus_t HCI_EXT_OverlappedProcessingCmd ( uint8 mode )
This command enables or disables overlapped processing. The default is
disabled.
Parameters mode – one of the following:
• HCI_EXT_DISABLE_OVERLAPPED_PROCESSING,
• HCI_EXT_ENABLE_OVERLAPPED_PROCESSING
Corresponding Events HCI_VendorSpecifcCommandCompleteEvent: this event is returned only if the setting is
changing from enable to disable or disable to enable
hciStatus_t HCI_EXT_PacketErrorRateCmd ( uint16 connHandle, uint8 command )
This command resets or reads the packet error rate counters for a connection.
When resetting, the counters are cleared. When reading the total number of
packets received, the number of packets received with a CRC error, the number of
events, the number of missed events are returned.
Note
NOTE: The counters are only 16 bits. At the shortest connection interval, this
command allows for a little over eight minutes of data.
Parameters connId– The connection ID to perform the command
command- HCI_EXT_PER_RESET, HCI_EXT_PER_READ
Corresponding Events HCI_VendorSpecifcCommandCompleteEvent