BLE timers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

BLE timers

973 Views
amarksjc
Contributor I

We need to optimize the time it takes for a client running ble 5.0 to securely connect with a remote device also running 5.0.  We'd like to see how long each significant step takes.  Ideas, suggestions... please.

In advance, Thanks.  

0 Kudos
Reply
1 Reply

955 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @amarksjc ,

 

Hope you are doing well!

There are several ways to optimize the BLE connection time:

  • Minimize advertising and connection intervals.
  • Optimize scan window/interval balances on the central. 
  • Use privacy mode only when required. Disabling it saves time when not needed.
  • Disable features not required like 2M PHY, coded PHY, extended advertising, etc.

And for time statistics, you can add timestamps to the code. Also, employing a sniffer to capture packets would be helpful. This link has the installation and usage of NXP protocol analyzer, hopefully it will help you.

 

Best regards,

Gavin

0 Kudos
Reply