is there a data range for connection latency and connection timeout?

Dear all

I am trying to figure out the range for the connection parameters, I understand that the connection intervals are range from 7.5ms-4s from the post here. But it does say about the latency and timeout data range, could anyone help please? BTW, what is the the unit of the connection latency? same as interval? in slot?

Thank you.

Ping

Parents Reply Children
  • Hi, Kenneth

    Thanks for reply, in my application, I just want to set a range for user to set the parameters whatever they are needed for different peripherals.

    Is there a minimum and maximum connection timeout for example? same question for slave latency. I understand interval has to be between 7.5ms and 4s.

    Regards!

    Ping

  • Hi,

    I don't remember the absolute min and max values in the back of my head, I guess you can search through internet or bluetooth core spec if you need the absolute numbers.

    As central device you will want to establish connection using some reasonable parameters that ensure you can pair and perform a database discovery of the peer within reasonable time, you don't want to use slave latency during this time since it will slow down this process by quite a lot. As a peripheral device you will have some preferred connection parameters (e.g. for interval, latency, and timeout), the peripheral device will commonly send a connection parameter update request after connection is established to let the central know which parameters it want to have. It's common that the central accept this. In all the above cases the BT stack will ensure that the parameters are within BT core spec, if any of the peers try to set a value that is outside of spec they will get an error.

    Best regards,
    Kenneth

Related