nrf5340 in extended mode

hello Sirs

How can I put nrf5340-sdk in to extended mode to transfer 250 bytes of data over BLE radio?

the sample code I am using is Peripheral-uart example code.

Parents
  • Hello,

    I suggest you have a look at the sample found in:

    NCS\nrf\samples\bluetooth\throughput,

    And look at the configurations in the prj.conf file. 

    I am not sure exactly which ones that you need, but I guess you can start by trying to include this chunk:

    CONFIG_BT_BUF_ACL_RX_SIZE=251
    CONFIG_BT_GATT_CLIENT=y
    CONFIG_BT_ATT_PREPARE_COUNT=2
    CONFIG_BT_CONN_TX_MAX=10
    CONFIG_BT_L2CAP_TX_BUF_COUNT=10
    CONFIG_BT_L2CAP_TX_MTU=247
    CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
    CONFIG_BT_CTLR_PHY_2M=y
    CONFIG_BT_CTLR_RX_BUFFERS=2
    CONFIG_BT_BUF_ACL_TX_COUNT=10
    CONFIG_BT_BUF_ACL_TX_SIZE=251
    CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
    You don't necessarily need the 2M PHY, and the dynamic channel, and some of the others, but I am not sure if you want to send 250 bytes in order to increase throughput, or if you just want to send long packets.
    Best regards,
    Edvin
  • Thank you very much for your immediate reply.

    Actually the cause of problem was another hardware device and the BLE device is working very nice.

    The problem is caused by serial port of node red program.

    Any way thank you very much again.  

Reply Children
No Data
Related