Mistake on this page?
Report an issue in GitHub or email us
STACK_HCI_OPT_API

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_t * HciGetBdAddr (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_t * HciGetSupStates (void)
 Return the states supported by the controller. More...
 
uint64_t HciGetLeSupFeat (void)
 Return the LE supported features supported by the controller. More...
 
uint32_t HciGetLeSupFeat32 (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...
 
hciLocalVerInfo_tHciGetLocalVerInfo (void)
 Return a pointer to the local version information. More...
 

Detailed Description

Function Documentation

int8_t HciGetAdvTxPwr ( void  )

Return the advertising transmit power.

Returns
Advertising transmit power.
uint8_t* HciGetBdAddr ( void  )

Return a pointer to the BD address of this device.

Returns
Pointer to the BD address.
uint16_t HciGetBufSize ( void  )

Return the ACL buffer size supported by the controller.

Returns
ACL buffer size.
uint64_t HciGetLeSupFeat ( void  )

Return the LE supported features supported by the controller.

Returns
Supported features.
uint32_t HciGetLeSupFeat32 ( void  )

Return the LE supported features supported by the controller.

Returns
Supported features.
hciLocalVerInfo_t* HciGetLocalVerInfo ( void  )

Return a pointer to the local version information.

Returns
Pointer to the local version information.
uint16_t HciGetMaxAdvDataLen ( void  )

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

Returns
Maximum advertisement data length.
uint16_t HciGetMaxRxAclLen ( void  )

Get the maximum reassembled RX ACL packet length.

Returns
ACL packet length.
uint8_t HciGetNumBufs ( void  )

Return the number of ACL buffers supported by the controller.

Returns
Number of ACL buffers.
uint8_t HciGetNumSupAdvSets ( void  )

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

Returns
Maximum number of advertising sets.
uint8_t HciGetPerAdvListSize ( void  )

Return the periodic advertising list size.

Returns
periodic advertising list size.
uint8_t HciGetResolvingListSize ( void  )

Return the resolving list size.

Returns
resolving list size.
uint8_t* HciGetSupStates ( void  )

Return the states supported by the controller.

Returns
Pointer to the supported states array.
uint8_t HciGetWhiteListSize ( void  )

Return the white list size.

Returns
White list size.
bool_t HciLeAdvExtSupported ( void  )

Whether LE Advertising Extensions is supported.

Returns
TRUE if LE Advertising Extensions is supported. FALSE, otherwise.
bool_t HciLlPrivacySupported ( void  )

Whether LL Privacy is supported.

Returns
TRUE if LL Privacy is supported. FALSE, otherwise.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.