10 years ago.

Serial communication buffer length problem

I have used the demo nRF51822_simple chat to connect with android phone. In the main.cpp, I changed the value of TXRX_BUF_LEN to 50. But the length of received data is still only 20. Can someone help me? Thank u very much.

How long is the data you are sending? If the other end of the link is only sending 20 bytes at a time then it doesn't matter how large the buffer is, you will only get 20 bytes.

posted by Andy A 04 Apr 2016
Be the first to answer this question.