What is the BLE latency time?

Posted on
  • On the 2nd generation device, how long will it take for accelerometer data to get to my computer to process it, how long is the lag?

  • It depends. On Espruino side there are 2 values to tune
    NRF.setConnectionInterval(interval) for connected device - this one is relevant when you are reading value set by NRF.updateServices.
    Connection interval is shortest possible time for any BLE request packet to get response packet. However if you are subscribed to notifications without requesting/reading the value then you may get it without asking but still even in this case value updated by NRF.updateServices will get sent at the beginning of next connection interval

    NRF.setAdvertising(data, options) - options.interval if you are advertising the data without connection. for advertising there is also random 0-10ms extra delay suggested by BLE specs

  • Thanks so much for the response, it helps alot!

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

What is the BLE latency time?

Posted by Avatar for user149770 @user149770

Actions