This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What are latency and supervision timeout limits?

Hey guys,

I'm building a remote control (similar to TV remote) and I'm using nRF51. I am trying to figure out optimal connection parameters so the battery would last as long as possible while the remote would be reasonably responsive (200-250ms latency is fine). The peripheral (remote) has a service with characteristic which holds button state which is notified to central when button press occurs. I've read nRF51 Low power modes and power profiles documentation but still need some input.

Since user could not press any button for a very long time (few hours) I am not sure what should be my connection parameters. I am thinking of setting the supervision timeout to a very large value (maybe 1 hour) and set the latency to a very large value too (maybe 10000). Connection interval is going to be [200ms,250ms] so the remote wouldn't need to respond for ~45min if no button was pressed. 1.) Does this sound logical or is my thinking wrong?

I've also noticed that if I set latency to be more than supervision timeout then the peripheral never even connects to central. This happened with latency 20, supervision timeout 4000ms and conn interval ~250ms. 2.) Why is this? Should (latency * conn_interval) < supervision timeout?

Related