This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I want to transmit around 2000 bytes in order to check the maximum throughput that this board will allow to trasmit but in order to do so I have to send data that is big enough to fill the whole frame in Bluetooth. I am using a simple application in Java which allows me to transmit sample message to the board and back, then I measure the duration of the process and I have the maximum throughput that can be achieved. On the board side I am using Spp demo, how can I change the MTU value in L2CAP so I can send bigger size data at once?
thanks for your help
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Vihang Parmar:
Hi, Thanks for help, do you know have to change links this folder to larger MTU? Because I cannot find anything in the link you provided.
In reply to Robert Kopaczel:
Ok so I found a way to use "larger MTU", but it didnt change a thing when tallking about throughput!
So thanks to "larger MTU" I can now set first parameter of config params to 800 instead of 335 but it doesnt change a thing!
I have a simple java programme that lets me send a fixed number of bytes to microcontroller which sends it back immediately with loopback mode.
And whever I send a message it devides is into 256byte messages and this is why I think the throughput is so little.
I measure the time of the transmittion and that's how my throughput is about 170kb/s instead of couple mb/s like it is written in datasheet!
Can someone explain it to me why I can send max. 256bytes at once despite the fact that my config params are 800 987 2303, baudrate 921600 and uart buffer sizes 1042, 384 plss?
I still havent found the answer so Im refreshing the topic
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.