Skip to main content
gocchan
Associate III
October 9, 2026
Question

Bonding fails

  • October 9, 2026
  • 1 reply
  • 21 views

Hello, 


I'm developing software for the STM32WBA2. Bonding is a required feature of this project, so I've set the bonding-related parameters as follows:

 

CFG_BONDING_MODE: Bonding mode (0x01)
CFG_ENCRYPTION_KEY_SIZE_MAX: 16
CFG_ENCRYPTION_KEY_SIZE_MIN: 8
CFG_IO_CAPABILITY: Display Yes No (0x01)
CFG_MITM_PROTECTION: MITM protection required (0x01)
CFG_SC_SUPPORT: Secure Connections Pairing supported but optional (0x01)
CFG_KEYPRESS_NOTIFICATION_SUPPORT: Keypress notification not supported (0x00)

 

I've also attached app_conf.h and ble_conf.h.
However, when I connect using ST BLE Toolbox and press the Bond button, the Bluetooth connection is lost.
What could be the cause?
Is it possible to view communication logs using ST BLE Toolbox?

 

Best regards, 
Gotoda
 

1 reply

ST Technical Moderator
October 9, 2026
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks