Skip to content

Commit db2623d

Browse files
author
andreas.larsson
committed
Added cbBSM_setStaticLinkKeyNvdsId
1 parent 9e61a52 commit db2623d

File tree

1 file changed

+9
-1
lines changed
  • targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/sdk/ublox-odin-w2-drivers

1 file changed

+9
-1
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/sdk/ublox-odin-w2-drivers/cb_bt_sec_man.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ extern cb_int32 cbBSM_getAllNumberBondedDevices(
346346
* @return If the operation is successful cbBSM_OK is returned.
347347
*/
348348
extern cb_int32 cbBSM_getBondedDevice(
349-
uint32 deviceIndex,
349+
cb_int32 deviceIndex,
350350
TBdAddr* pBdAddr,
351351
cb_boolean pIsLe);
352352

@@ -365,6 +365,14 @@ extern cb_int32 cbBSM_deleteBondedDevice(TBdAddr* pBdAddress);
365365
*/
366366
extern cb_int32 cbBSM_deleteAllBondedDevices(void);
367367

368+
/**
369+
* Initializes the static Link Keys for both classic and LE.
370+
* nvdsId: nvds id for the static link key,
371+
* (0) disables the use of a static link key.
372+
*
373+
* @return cbBSM_OK.
374+
*/
375+
cb_int32 cbBSM_setStaticLinkKeyNvdsId(cb_int32 nvdsId);
368376
#ifdef __cplusplus
369377
}
370378
#endif

0 commit comments

Comments
 (0)