Changing the maximum number of bonded devices

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MaMe_1509466
Level 4
Level 4
25 replies posted 10 replies posted 5 replies posted

Changing LESMPKEYS_MAX_BONDED_DEVICES to 6 in Wiced-Smart/bleapp/lestack/smp/lesmpkeys.h

and doing a clean build does not seem to change max bonded devices since

lesmpkeys_maxNumOfBondedDevice() is still returning a 5 at run time.


Is it possible to increase the max bonded devices to 6?

0 Likes
1 Solution
VictorZ_46
Employee
Employee
5 comments on blog 25 sign-ins 250 likes received

Try to add

extern UINT8 lesmpkeys_maxBondedDevices;

lesmpkeys_maxBondedDevices = 6;

n the create function.  That should work.

View solution in original post

2 Replies
VictorZ_46
Employee
Employee
5 comments on blog 25 sign-ins 250 likes received

Try to add

extern UINT8 lesmpkeys_maxBondedDevices;

lesmpkeys_maxBondedDevices = 6;

n the create function.  That should work.

MaMe_1509466
Level 4
Level 4
25 replies posted 10 replies posted 5 replies posted

lesmpkeys_maxNumOfBondedDevice() returns 6 after this change

is applied.


Thanks