cancel
Showing results for 
Search instead for 
Did you mean: 

BLE PairingTime

Amogh
Associate III

Hello,

I have a BLE Secure Connection implemented between an android phone and STM32WB55. Currently, using fixed key to start pairing, it takes approximately 2 seconds to get paired (after the key is sent, and devices are paired) in addition to 600ms for scan, connect, and find services.

I was wondering if some can confirm and give me some pointers on how to bring the pairing time to less than 1 second.

What I have tried so far.

  • Fixed MTU size on firmware and Android to avoid MTU set/reset(this reduced 0.5 seconds)
  • Min Advertisement Time Duration is 800ms and Max is 10.4 seconds
  • Tx Power : Set to MAX @ 6dbM
  • Encryption is set to minimum 8 byte.

There is only 1 service, with 2 Characteristics( 1 read, 1 write), and both are authenticated, and encrypted.

Thanks

2 REPLIES 2
BLiwa.1
Associate II

Hello,

I'm finding hard time connecting to a device found by scan.

From what i understand, you managed to connect the stm32wb55 with another device can you please send mention the code that you used to acheave this ?

Thank you in advanced.

Amogh
Associate III

Hello,

I am unable to share the entire code as its proprietary, but I would advise you to first start with Nucleo STM Heart Rate Monitor and use the application provided by STM, or even use nrfConnect.

What device/OS you are using to scan the device?