2024-06-20 04:01 AM
Hi
I am using USB DONGLE board (MB1293C) as client and Nucleo board (MB1355D) as server.
The BLE_p2pClient application is downloaded in a USB DONGLE board and the BLE P2P_Server application is downloaded in a Nucleo board.
My problem is that most of the time when I try to connect these two devices, the connection does not complete successfully.
The code in the BLE Dongle always goes in the "ACI_GATT_PROC_COMPLETE_VSEVT_CODE:" case than in the "APP_BLE_DISCOVER_WRITE_DESC:" case in the Update_Service() function. But it does not finish.
Why is it happening?
Thanks in advance for your help.
2024-07-10 12:26 AM
Hi Yasin ,
Remove any delays between MX_APPE_Process(); calls .
i.e. if the sequencer task is CFG_TASK_START_SCAN_ID , (the client is scanning now) and the code being executed is
while (1)
{
HAL_Delay(100)
MX_APPE_Process()
}
the HAL_Delay(100); will cause this problem .
try to remove the HAL_Delay(100) and retest