How to speed up connection and database discovery.

Hi,

we are developing a system based on device with nRF52840 S140 ( central and pheripheral).

We developed on both side a custom service.

System is working fine bonding with PM manager.

PM manager is working as I can see that exchange of passekey occurs only at the first connection.

Problem: as we have 4 pheripheral the connection is very slow (several seconds).

Question 1:

Reading documentation about PM it seems possible to store information about service and characteristics. 
I am not sure this information are actually stored. I am sure the information are not used as the system always repeat the database discovery?
Is it possible to cache the information at the first connection to use them in the following connections?
If yes how is it possible to do this? Any example or documentation related?

Question 2:

We know which services and characteristic will be found as we have full control of the pheripheral and we know they will never change.
Is it possible to skip service discovery passing to the SD the needed information?

Thanks

Alessandro

Parents Reply Children
No Data
Related