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

Can't send more than 62 bytes using DLE?

When I enable DLE with a max MTU size of 247 (NRF_BLE_MAX_MTU_SIZE = 247) and PDU payload size of 251 (opt.gap_opt.ext_len.rxtx_max_pdu_payload_size = 251) and a max characteristic length of 244 (attr_char_value.max_len = NRF_BLE_MAX_MTU_SIZE - 3), and I try and send more than 62 bytes using nRF Connect on a Nexus 5X running Android 7.1.1, I get a fatal error displayed on my nRF52832 terminal window. I am currently using nRF5_SDK_12.0.0_12f24da and the s132_nrf52_3.0.0 softdevice. I have no idea why this occurs. At download, my terminal window indicates I have set my RAM start and size correctly and my Sodera LE suggests a successful MTU exchange request/response pair for an MTU size of 247 bytes following a connection. I can send any number of data bytes up to and including 62 data bytes, but if I try and send 63 data bytes, I get a fatal error. Any help to understand why this occurs and how I might correct the issue would be most appreciated.

Parents Reply Children
No Data
Related