BLE Data Length Extension Usage and Example

Hello,

I'm just learning the nRF stack and development environment, hopefully this question is not too basic. Our product requires the usage of the extended data length packet in order to achieve the throughput performance we require.

I was wondering if a specific example exists that uses the extended data packet feature? I have been working with the basic "peripheral" example since it has some usage of vendor specific services and characteristics.

One other related question. In looking through the developer zone I found reference to someone using extended data length packets, and they included the following defines in their config file:

CONFIG_BT_BUF_ACL_RX_SIZE=251
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
CONFIG_BT_L2CAP_TX_MTU=260
CONFIG_BT_RX_STACK_SIZE=2048
CONFIG_BT_BUF_ACL_RX_SIZE=251
CONFIG_BT_BUF_EVT_RX_SIZE=251
CONFIG_BT_BUF_CMD_TX_SIZE=251
CONFIG_BT_CONN_TX_MAX=10
CONFIG_BT_L2CAP_TX_BUF_COUNT=10
CONFIG_BT_L2CAP_TX_FRAG_COUNT=10
CONFIG_BT_BUF_ACL_TX_COUNT=10
CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_BUF_CMD_TX_SIZE=251
CONFIG_BT_BUF_CMD_TX_COUNT=10
My question is: 1) Are all these CONFIGs required for the extended data packet usage? Also, 2) Do these override some of the settings in the Kconfig menu? I was also looking at the following Kconfig settings:
Data Length Update (BT_DATA_LEN_UPDATE)
Maximum supported ACL size for outgoing data (BT_BUF_ACL_TX_SIZE)
Maximum supported ACL size for incoming data (BT_BUF_ACL_RX_SIZE)
Maximum supported HCI Event buffer length (BT_BUF_EVT_RX_SIZE)
Maximum support HCI Command buffer length (BT_BUF_CMD_TX_SIZE)
Maximum supported L2CAP MTU for L2CAP TX buffers (BT_L2CAP_TX_MTU)
Thanks so much for your help,
Pam
Parents
  • Hi Pam,

    In looking through the developer zone I found reference to someone using extended data length packets

    Could you supply a link to this ticket and I'll take a look on the details there for comparison? Also, which version of NCS (if you're using NCS) are you using?

    I was wondering if a specific example exists that uses the extended data packet feature?

    I believe the ble/throughput-sample should allow you to get started on a BLE sample that uses data extension! 

    1) It could be that all the CONFIGS in the sample you mention is more than what is required or that the throughput-sample contains less than what you need, so I suggest you compare them up against each other.

    2) I will look closer into this tomorrow and come back with a reply then.

    Let me know if this is enough to get you started and feel free to follow up with more questions!

    Kind regards,
    Andreas

Reply
  • Hi Pam,

    In looking through the developer zone I found reference to someone using extended data length packets

    Could you supply a link to this ticket and I'll take a look on the details there for comparison? Also, which version of NCS (if you're using NCS) are you using?

    I was wondering if a specific example exists that uses the extended data packet feature?

    I believe the ble/throughput-sample should allow you to get started on a BLE sample that uses data extension! 

    1) It could be that all the CONFIGS in the sample you mention is more than what is required or that the throughput-sample contains less than what you need, so I suggest you compare them up against each other.

    2) I will look closer into this tomorrow and come back with a reply then.

    Let me know if this is enough to get you started and feel free to follow up with more questions!

    Kind regards,
    Andreas

Children
No Data
Related