cancel
Showing results for 
Search instead for 
Did you mean: 

BLE P2P connection problem.

Yasin Yelkovan
Associate III

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?

YasinYelkovan_0-1718881097762.png

Thanks in advance for your help.

1 REPLY 1
mobaid
Associate

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