Skip to main content
jeuid.1
Visitor II
Apr 3, 2023 7:59 AM UTC
Question

stm32wb55rg bondding issue

1. Issue: When connecting a PC to a device for the first time, disconnecting the connection after turning off the device's power, and then turning on the device's power, the PC and device should automatically reconnect, but they are not connecting.

Problem: When initially connecting a PC to a device, disconnecting the connection after turning off the device's power, and subsequently turning on the device's power, the PC and device fail to automatically reconnect.​

2. Issue : How to remove a pin code

I have two questions. If anyone knows the solution, please answer. thank you

This topic has been closed for replies.

1 reply

Remy ISSALYS
ST Technical Moderator
Apr 21, 2023 4:05 PM UTC

Hello,

To automatically reconnect to the PC, the PC should scan the device and send a connection request to the board. Did you used an application on PC to connect to the board or you are using directly the native Bluetooth of the PC?

To remove the pin code, you can change the IO capability of your device and disable the MITM protection in app_conf.h file:

#define CFG_IO_CAPABILITY CFG_IO_CAPABILITY_NO_INPUT_NO_OUTPUT
 
#define CFG_MITM_PROTECTION CFG_MITM_PROTECTION_NOT_REQUIRED

Best Regards