cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB: BLE stack doesn't report advertising packets from certain device

AMahm.2
Associate

I'm using STM32WB55 in 1 master 4 slaves configuration. I've implemented scanning, connection creation, MTU exchange, data le exchange functionalities, service discovery, characteristic discovery and descriptor discovery.

Problem I currently have is that sometimes I can't connect to slave device. If I am in this state, if I scan for nearby devices BLE stack doesn't report advertising packets for the device I'm trying to connect to. Note that I am doing scan after I terminate connection process using aci_gap_terminate_gap_proc(GAP_DIRECT_CONNECTION_ESTABLISHMENT_PROC);

I can see advertising packets from other nearby devices though.

If I connect to targeted slave device using my phone, and then disconnect, then I can see advertising packets for this device, and I am also able to connect to it.

I can randomly reproduce this behavior with multiple disconnect-connect attempts.

Does anyone have idea what could be happening and what to try to fix this?

0 REPLIES 0