Cordio Stack and Cordio Profiles  r2p3-02rel0
HCI Optimization Interface

HCI Optimization Interface Functions

This is an optimized interface for certain HCI commands that simply read a value. The stack uses these functions rather than their corresponding functions in the command interface. These functions can only be called after the reset sequence has been completed.

uint8_tHciGetBdAddr (void)
 Return a pointer to the BD address of this device. More...
 
uint8_t HciGetWhiteListSize (void)
 Return the white list size. More...
 
int8_t HciGetAdvTxPwr (void)
 Return the advertising transmit power. More...
 
uint16_t HciGetBufSize (void)
 Return the ACL buffer size supported by the controller. More...
 
uint8_t HciGetNumBufs (void)
 Return the number of ACL buffers supported by the controller. More...
 
uint8_tHciGetSupStates (void)
 Return the states supported by the controller. More...
 
uint16_t HciGetLeSupFeat (void)
 Return the LE supported features supported by the controller. More...
 
uint16_t HciGetMaxRxAclLen (void)
 Get the maximum reassembled RX ACL packet length. More...
 
uint8_t HciGetResolvingListSize (void)
 Return the resolving list size. More...
 
bool_t HciLlPrivacySupported (void)
 Whether LL Privacy is supported. More...
 
uint16_t HciGetMaxAdvDataLen (void)
 Get the maximum advertisement (or scan response) data length supported by the Controller. More...
 
uint8_t HciGetNumSupAdvSets (void)
 Get the maximum number of advertising sets supported by the Controller. More...
 
bool_t HciLeAdvExtSupported (void)
 Whether LE Advertising Extensions is supported. More...
 
uint8_t HciGetPerAdvListSize (void)
 Return the periodic advertising list size. More...
 

Description

Function Documentation

uint8_t* HciGetBdAddr ( void  )

Return a pointer to the BD address of this device.

Returns
Pointer to the BD address.
uint8_t HciGetWhiteListSize ( void  )

Return the white list size.

Returns
White list size.
int8_t HciGetAdvTxPwr ( void  )

Return the advertising transmit power.

Returns
Advertising transmit power.
uint16_t HciGetBufSize ( void  )

Return the ACL buffer size supported by the controller.

Returns
ACL buffer size.
uint8_t HciGetNumBufs ( void  )

Return the number of ACL buffers supported by the controller.

Returns
Number of ACL buffers.
uint8_t* HciGetSupStates ( void  )

Return the states supported by the controller.

Returns
Pointer to the supported states array.
uint16_t HciGetLeSupFeat ( void  )

Return the LE supported features supported by the controller.

Returns
Supported features.
uint16_t HciGetMaxRxAclLen ( void  )

Get the maximum reassembled RX ACL packet length.

Returns
ACL packet length.
uint8_t HciGetResolvingListSize ( void  )

Return the resolving list size.

Returns
resolving list size.
bool_t HciLlPrivacySupported ( void  )

Whether LL Privacy is supported.

Returns
TRUE if LL Privacy is supported. FALSE, otherwise.
uint16_t HciGetMaxAdvDataLen ( void  )

Get the maximum advertisement (or scan response) data length supported by the Controller.

Returns
Maximum advertisement data length.
uint8_t HciGetNumSupAdvSets ( void  )

Get the maximum number of advertising sets supported by the Controller.

Returns
Maximum number of advertising sets.
bool_t HciLeAdvExtSupported ( void  )

Whether LE Advertising Extensions is supported.

Returns
TRUE if LE Advertising Extensions is supported. FALSE, otherwise.
uint8_t HciGetPerAdvListSize ( void  )

Return the periodic advertising list size.

Returns
periodic advertising list size.