cancel
Showing results for 
Search instead for 
Did you mean: 

I'm having problems with the simultaneous central/peripheral connections. Can someone help me understand the timing constraints?

egermany
Associate

I am developing a prototype using a L4 stm32 microcontroller with a bluenrg m2sa BLE module which acts as central/peripherial. Also small sensors nodes with L1 annd the bluenrg m2sa modules. I'm having problems with the simultaneous central/peripheral.

Could anyone help me understand the timing constraints for the parameters:

Scan Interval (SCAN_P)

Scan Window (SCAN_L)

Minimum Connection Period (CONN_P1)

Maximum Connection Period(CONN_P2)

Minimum Connection Length(CONN_L1)

Maximum Connection Length(CONN_L2)

Minimum Advertising Interval (ADV_INTERV_MIN)

Maximum Advertising Interval (ADV_INTERV_MAX)

 Minimum Connection Event Interval (L2CAP_INTERV_MIN)

Maximum Connection Event Interval (L2CAP_INTERV_MAX)

I have been triying different configurations. but until now, i havent achieved the simultaneous connection.

Possible scenarios until now:

1) remote node connects to the main board, then the main board fails to init advertising.

2) advertise first, stablish connection with phone app, then init scan and phone connection drops.

I have read the several technical notes available for the ble modules since the blunrg-ms, bluenrg-1 and the bluenrg-2. there is mentioned that the timings must be carefully choosen, but can't figure out the constraints that links all of the variables to enable connect, scan, advertise and keep connections.

any help would be really apreciated.

Regards,

Enrique

1 REPLY 1
malarab
Senior II

Hello egermany,

I have the same problem,

how do you have resolve it ?