Hi,
We are using DA14583 for development purpose of our BLE product.
We have SDK where maximum number of pairing bonding users shown is 5.
Is this the compulsion or we can increase the storage data of pairing bonding? Please help.
Regards,
Karan
Device:


Hi karanshah28,
Yes, you could change the APP_BOND_DB_MAX_BONDED_PEERS, but could you please indicate which is the maximum number of bonded peers that you would like?
Thanks, PM_Dialog
Hi,
我们正在寻找100 devices to bond and pair. What is the maximum number of devices that can be bonded in DA14583?
Regards,
Karan
Hi karanshah28,
The APP_BOND_DB_MAX_BONDED_PEERS is to set the number of available paired slots that the device will keep, so if for example you have set it to 5 that means that device will keep 5 slot for pairing information, in case there is a new connection and a new security request the device will overwrite that paired device and will store the new data in that slot. To be honest, we haven’t tested it with 100 devices, but I think that with 100 devices you will have memory leakage
Thanks, PM_Dialog
Hi Dialog,
I have two queries in that case for you:
1) In case i have set APP_BOND_DB_MAX_BONDED_PEERS as 5, and all the 5 slots are taken, then if the new connection comes, will it remove the first paired device or last paired device? I mean will it follow FIFO or LIFO pattern?
2) What is the maximum number of devices you have tested pairing bonding?
Regards,
Karan
Hi karanshah28,
I have to ask the Team internally for both your questions, so I will get back to you as soon as I have a feedback.
Thanks, PM_Dialog
Hi karanshah28,
Please check below the feedback I got from the Team regarding your queries.
Storing the maximum number of pairing and bonding data depends on several factors, such as -
1. Where would the application store bonding information (e.g Flash memory)
2. What kind of use case you are targeting, could you share a block diagram to have a better understanding of your end user application where 100 devices information need to be stored
In short, if you store data in flash memory, as long as you have space you will be able to store device specific bonding information
First data will be overwritten this is usually how the algorithm are designed to efficiently utilize memory. However again this is application specific and you can use the user space to write your own algorithm to change or modify the end user application behavior
In a piconet a testing is done for CFG_MAX_CONNECTIONS number for DA14583 from da1458x_config_basic.h file
Thanks, PM_Dialog
Hi Dialog Team,
We will test it out with our requirement of 20 device and will let you know. 100 devices bonding doesnt need to be stored as informed earlier.
Thanks, Karan
Hi karanshah28,
Thanks for your indication. Yes, please let us know.
Regards, PM_Dialog