Subrating Sample - packets per connection event

I'm running the subrating sample (ncs\v3.1.1\nrf\samples\bluetooth\subrating) on two nRF54L15-DK boards. Using a protocol analyzer I'm seeing that when the subrate factor is 10, meaning that every 10th connection event can be actively used, only one packet is transmitted and one received. The connection interval is 10 ms and transmission generally takes about 88 us and receiving a packet, only 44 us.

I realise the Bluetooth Core Specification only stipulates that a single packet must be transmitted at least and that anything else is an implementation decision, but is there a way to "encourage" Zephyr to schedule more packets per event than just one each way?

Thanks in anticipation.

Parents Reply
  • Hi,

    Normally MD will be set to 1 if there are any more packets buffered on a peer, and the event will be extended to allow those to be sent during the specific event. 

    There are two kconfig options you can check here:

    CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT and 
    CONFIG_BT_CTLR_SDC_CONN_EVENT_EXTEND_DEFAULT.

    The first set the default allocated time in us, and the second allow the event to be extended beyond the default allocated time.

    Kenneth

Children
Related