Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit 641a8bb

Browse files
author
Youssif
committed
BL652 Application: correction to sample app and User Guide example
Minor correction for ble pair lesc usage and a correction to the BleWhitelist app to use dehexised address.
1 parent 85b86e2 commit 641a8bb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Applications/cmd.manager.sb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@
455455
// - Changes whether OOB pairing is preferred or not
456456
//
457457
// -----------------------------------------------------------------------------
458-
// ble pair lescpref #INTLESCPREF#
458+
// ble pair lesc #INTLESCPREF#
459459
// - Security Manager related
460460
// - This will result in BleSecMngrLescPairingPref() being called
461461
// - valid values for #INTLESCPREF# are

UserGuideExamples/BleWhitelist.sb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,15 @@ sub WhiteListInit()
5353
IF rc==0 THEN
5454
//Add address we want to specifically look for
5555
addr$="000016A40B1623"
56+
addr$ = StrDehexize$(addr$)
5657
rc=BleWhitelistAddAddr(hWlist,addr$)
5758
AssertRC(110)
5859
//Made a mistake so clear it
5960
rc=BleWhitelistClear(hWlist)
6061
AssertRC(120)
6162
//now add the correct address
6263
addr$="000016A40B1642"
64+
addr$ = StrDehexize$(addr$)
6365
rc=BleWhitelistAddAddr(hWlist,addr$)
6466
AssertRC(130)
6567
//now add first one in the trusted database

0 commit comments

Comments
 (0)