Added cbBSM_setStaticLinkKeyNvdsId

pull/4338/head
andreas.larsson 2017-05-17 23:12:19 +02:00
parent 9e61a52c12
commit db2623d318
1 changed files with 9 additions and 1 deletions

View File

@ -346,7 +346,7 @@ extern cb_int32 cbBSM_getAllNumberBondedDevices(
* @return If the operation is successful cbBSM_OK is returned. * @return If the operation is successful cbBSM_OK is returned.
*/ */
extern cb_int32 cbBSM_getBondedDevice( extern cb_int32 cbBSM_getBondedDevice(
uint32 deviceIndex, cb_int32 deviceIndex,
TBdAddr* pBdAddr, TBdAddr* pBdAddr,
cb_boolean pIsLe); cb_boolean pIsLe);
@ -365,6 +365,14 @@ extern cb_int32 cbBSM_deleteBondedDevice(TBdAddr* pBdAddress);
*/ */
extern cb_int32 cbBSM_deleteAllBondedDevices(void); extern cb_int32 cbBSM_deleteAllBondedDevices(void);
/**
* Initializes the static Link Keys for both classic and LE.
* nvdsId: nvds id for the static link key,
* (0) disables the use of a static link key.
*
* @return cbBSM_OK.
*/
cb_int32 cbBSM_setStaticLinkKeyNvdsId(cb_int32 nvdsId);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif