This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Maximum NUS data length

Hello, a newcomer here. 

I've just went through your wonderful BLE service and characteristics tutorials and now I'm experimenting with the BLE UART, i.e. proprietary NUS. I'm using nRF52-DK and SDK 17.1.0.

I have some issues figuring maximum allowed data length. At first, the nRF Connect app at my smartphone refuses to send more than 20 characters. I searched a bit and found a couple of threads here in the devzone that mention that maximum data length is 20 bytes per single TX/RX action. Is that true? How is that determined, and why such a small value? I cant find any explanation about it in the infocenter or in the codebase. 

Now, if I wanted to send a longer string of data, what would be better approach, to use the NUS or move on to some other service?

Best, 

W.

Parents Reply Children
No Data
Related