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.
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.
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
Hello again
I added the above code in the prj.conf file but it had no effect.
Actually I have changed CONFIG_BT_NUS_UART_BUFFER_SIZE from 32 to 256 in autoconf.h and I could send
up to 62 bytes over BLE radio. Any further bytes won't be sent. In this situation fewer bytes can also be sent but
by adding only one byte to 62 you cant receive any byte.
hello
I should apologize seriously because I had added your suggested code to the wrong file Kconfig.prj
instead of prj.conf . After correcting, the code worked perfectly and I could send and receive 243 bytes
of data over ble radio.
Thank you very much for your invaluable support.
hello
I should apologize seriously because I had added your suggested code to the wrong file Kconfig.prj
instead of prj.conf . After correcting, the code worked perfectly and I could send and receive 243 bytes
of data over ble radio.
Thank you very much for your invaluable support.
hello
I could transfer over 200 bytes over BLE by editing the Config file as you said before.
But when I decreased the baud rate from 115200 to 9600 the BLE transferring function didn't work
for long frame data.
Is this a problem caused by maximum window time in BLE advertising parameters?
How can I correct this issue?
saeed mahvis said:But when I decreased the baud rate from 115200 to 9600 the BLE transferring function didn't work
for long frame data.
How does it not work? Can you describe the symptoms please? It is hard to tell how to correct the issue when I don't know what the issue actually is.
Best regards,
Edvin