BLE UART data throughput, experience?

Posted on
  • Howdy all,

    I'm wondering if any one has a handle on how much data can be pumped out of the Puck.js via the BLE UART service, in the real world, bytes/sec. I know there is a lot of over head, as long as I have a timestamp on the data, it can lag quite a bit, just needs to be error free and no dropped information.



  • Hi - I haven't got any measured figures, but:

    The connection interval can be negotiated (depending on the PC) between 7.5 and 20ms - and it can send/receive 20 bytes per interval, so that's between 1000-2700 bytes/second. For reliable comms I'd stick a little below that if possible.

    On Espruino's side, newer firmwares will warn you with a FIFO_FULL error message if they believe that they have lost some data (eg. code was busy waiting for a write to complete so didn't have time to process the data that came in)

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

BLE UART data throughput, experience?

Posted by Avatar for user6407 @user6407