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.

CC2650EM-5XD-RD: SPP_BLE_Server - serial buffer limitation

Part Number: CC2650EM-5XD-RD
Other Parts Discussed in Thread: CC2650

Hello, 

I'm using spp_ble_server demo app on 5XD module as a wireless bridge from a sensor to a PC (that uses CC2650 launchpad running SPP_BLE_Client).

My question is what is the maximum serial message size that  the host mcu can send to the BLE module (SPP_BLE_Server) ?

Also, from serial port perspective, how often such message can be sent ? 

How the overall throughput can be increased ?

Thanks

  • Hi,

    Without flow control, you can send as much data as possible at the specified baud rate, only limitation would be RAM. At a faster baud rate, you will eventually overflow the UART RX buffer if the over the air throughput is relatively slow.

    You can use a larger PDU size to increase throughput.

    Best wishes
  • Thanks for your prompt reply.

    So, the only limiting factor is the over-the-air throughput (which empties the rx buffer) ?

    If I need to send serial messages of 2000 bytes at a time (no flow control) it is possible ?

    The reason I'm asking is because I've seen at the code buffers of smaller sizes (128/270/512 bytes) and i don't want to overflow them.

    How do I use "a larger PDU size" ?

    Thanks again