BLE multiple connection overlap

I am a student currently studying BLE.

At present, I am working on a multi-connection setup where both the master and the slaves are using the nRF52832. Specifically, I have 1 master connected to 2 slaves.

Both slaves are transmitting data using the "write without response" method with a connection interval of 10ms.

Sometimes, the data from each slave is written at 10ms intervals, but other times, it is written at 20ms intervals. (the transmission interval of Slave 1 is sometimes 10ms, as shown on the left, and sometimes 20ms, as shown on the right.)

I hypothesize that when the transmission occurs at 10ms intervals, the connection events do not overlap.

However, when it occurs at 20ms intervals, it is because the connection events are overlapping.

Is this a possible phenomenon? Also, is my hypothesis correct?

I look forward to your response. Thank you.

  • Hmm, I feel I am missing something. The variable BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE is configured as Boolean:

    config BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE
    	bool "Override event length default"

    So my understanding is, that it can only be set to "y" or "n" and not "to_what_you_want". So I am a bit confused what the "_OVERRIDE" variable is really doing and how I would assign a number to a boolean.

  • Ah, set CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE=y to use a different BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT="to_what_you_want". That make more sense, but make sure to also set BT_CTLR_SDC_CONN_EVENT_EXTEND_DEFAULT=n, else it may ignore BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT if there are more data to send.

    Kenneth

Related