Commands
www.ti.com
152
SWRU271H–October 2010–Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
HCI Extension API
hciStatus_t HCI_EXT_NumComplPktsLimitCmd ( uint8 limit, uint8 flushOnEvt )
This command sets the limit on the minimum number of complete packets before
the controller returns a control number of completed packets event . If the limit is
not reached by the end of a connection event, the number of completed packets
event is returned based on the flushOnEvt flag if nonzero. You can set the limit
rom one to the maximum number of HCI buffers (see the LE Read Buffer Size
command in ). The default limit is one; the default flushOnEvt flag is FALSE.
Note
NOTE: The purpose of this command is to minimize the overhead of sending
multiple number of completed packet events. Minimizing this number of
events maximizes the processing available to increase wireless
throughput. This command is often used in conjunction with
HCI_EXT_OverlappedProcessingCmd.
Parameters limit – From 1 to HCI_MAX_NUM_DATA_BUFFERS (returned by
HCI_LE_ReadBufSizeCmd).
flushOnEvt –
• HCI_EXT_DISABLE_NUM_COMPL_PKTS_ON_EVENT: only return a number of
completed packets event when the number of completed packets is greater than or
equal to the limit
• HCI_EXT_ENABLE_NUM_COMPL_PKTS_ON_EVENT: return the number of
completed packets event at the end of every connection event
Corresponding Events HCI_VendorSpecifcCommandCompleteEvent