2025-05-27 3:27 AM
Hi all
After connecting to my STM32WBA i get the following program trace:
>>== HCI_LE_CONNECTION_COMPLETE_SUBEVT_CODE - Connection handle: 0x0001
- Connection established with @:5c:c7:a3:61:de:70
- Connection Interval: 30.00 ms
- Connection latency: 0
- Supervision Timeout: 720 ms
MTU exchanged size = 251
>>== ACI_HAL_FW_ERROR_VSEVT_CODE
FW Error Type = 0x02
After that my phone stays connected to STM. Sometimes it discovers some services and sometimes it doesnt.
Any suggestion how to proceed with debugging?
2025-05-27 4:45 AM
Upon further investigation, the problem is caused by running BLE scan at the same time. Turning it off resolves the issue. Now the question is how to keep scan running while having established connection.
2025-05-27 9:46 AM
Hello @cvs_dev
For this you may refer to the implementation of the BLE_p2pRouter that allow up to 8 connections. More details about that are available on this WIKI specially part 3.3.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.