This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ask for some details about SlaveLatency

image description dear friends, There is a pic that i catched using sniffer. SlaveLatency,a gap parameter,is set to 2.As you can see, when the slave do not give an ack,the mater will resend the package.In such case,does the slave device need to listen for the master? and does the slave need to receive the master package? If the slave received it ,however,this package is resend.If not, does slave device sleep until the 3th connection event's coming ?and,that is to say,when slavelatency=2,every 3 connection event,you can just send data in 1 connection event? further more,can i get a detailed information on how slavelatency affect throughput?

Parents
  • Whan using slave latency it means that the slave won't have to listen for the "slave latancy number of packets". This means the master will have to resend packets until it's acked by the slave. So the throughput from master to slave will be affected.

    The other way around, if the slave wants to send data to the master it can wakeup and do this in all the connetion event. i.e. the slave latency feature is there to save power on the peripheral which is assumed to have less available power than the central, which will typically be a phone with a big battery...

Reply
  • Whan using slave latency it means that the slave won't have to listen for the "slave latancy number of packets". This means the master will have to resend packets until it's acked by the slave. So the throughput from master to slave will be affected.

    The other way around, if the slave wants to send data to the master it can wakeup and do this in all the connetion event. i.e. the slave latency feature is there to save power on the peripheral which is assumed to have less available power than the central, which will typically be a phone with a big battery...

Children
Related