Hi everyone! I´ve got a doubt about HCI buffers.
I need to transfer a lot of bytes of data from keyfob to PC application (on the order of 10,000 packets of 15 bytes each one).
I've understood that the CC2540 has a limited buffer for queuing up data packets for one connection events. The max data per connection event is limited to 80 bytes at app level. There is a 4X20 buffer, and the buffer gets flushed when data is successfully sent and acknowledged at the link layer.
So... Which is the best way to send data in the shortest time possible? I thought two ways:
1. Create for example 4 characteristics of 15(or 20) bytes each one. And the connection interval established in 80 ms.
2. Or create 1 characteristic of 15 (or 20) bytes and establish the connection interval in 20 ms for example.
I need to transfer 10,000 packets of 15 bytes each one in the shortest time possible.
Which is the best way? Or both ways behave the same form for the stated purpose? What is the difference between them?
Thanks in advance...
Martin Romero