www.ti.com
Commands
145
SWRU271H–October 2010–Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
HCI Extension API
2. Configure the Bluetooth Low Energy protocol stack to return the event (in
SimpleBLEPeripheral processStateChangeEbt()) after establishing the connection.
3. Check for and receive these events in the application
(SimpleBLEPeripheral_taskFxn()).
hciStatus_t HCI_EXT_DeclareNvUsageCmd ( uint8 mode)
This command informs the controller whether the host uses NV memory during
Bluetooth Low Energy operations. The default system value for this feature is NV
In Use. When the NV is unused during Bluetooth Low Energy operations, the
controller can bypass internal checks that reduce overhead processing. This
capability reduces average power consumption.
Note
NOTE: This command is allowed only when the Bluetooth Low Energy controller
is idle.
If you use NV when declaring it is not in use, a hung Bluetooth Low
Energy connection may occur.
Parameters mode – one of…
HCI_EXT_NV_NOT_IN_USE
HCI_EXT_NV_IN_USE
Corresponding Events: HCI_VendorSpecifcCommandCompleteEvent
hciStatus_t HCI_EXT_DecryptCmd ( uint8 *key, uint8 * encText)
This command decrypts encrypted data using the AES128 .
Note
NOTE: Only the application should use this command. Incoming encrypted
Bluetooth Low Energy data is automatically decrypted by the stack and
operates free of this API.
Parameters mode – one of…
HCI_EXT_NV_NOT_IN_USE
HCI_EXT_NV_IN_USE
Corresponding Events: HCI_VendorSpecifcCommandCompleteEvent