This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Sending 240 bytes in NUS nrf_connect_sdk

Hi,

I am trying to send the max 240 bytes in NUS SERVICE nRF_CONNECT_SDK

I have seen the ble throughput example and changed

CONFIG_BT_RX_BUF_LEN=255

CONFIG_BT_CTLR_TX_BUFFER_SIZE=251
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251

error:

W: No ATT channel for MTU 90
W: No buffer available to send notification
W: No ATT channel for MTU 91
W: No buffer available to send notification
W: No ATT channel for MTU 90
W: No buffer available to send notification
W: No ATT channel for MTU 90
W: No buffer available to send notification
W: No ATT channel for MTU 91
W: No buffer available to send notification
W: No ATT channel for MTU 91
W: No buffer available to send notification
W: No ATT channel for MTU 90
W: No buffer available to send notification
W: No ATT channel for MTU 90
W: No buffer available to send notification
W: No ATT channel for MTU 9E: ***** MPU FAULT *****
E:   Stacking error (context area might be not valid)
E: r0/a1:  0xdf5f5e79  r1/a2:  0x9a650424  r2/a3:  0xe6fde46b
E: r3/a4:  0x6024e085 r12/ip:  0x49fb63e0 r14/lr:  0x11fd2a18
E:  xpsr:  0x21000000
E: Faulting instruction address (r15/pc): 0x00034ff0
E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
E: Current thread: 0x20003118 (unknown)
E: Resetting system

Parents Reply Children
Related