Reputation: 187
I use Android 6.0.1, Sumsung S6 with Dialog development board. To reduce power consumption, I'm trying to set the connection interval as large as possible. It works when changing the connection interval to 300ms, however, when I change it even larger the actual connection interval is 30ms. The maximum connection interval should be 4s according to BLE specs, and does Android have different specifications? Thanks.
Upvotes: 0
Views: 1162
Reputation: 18452
I saw your post on the DA14580 forum. It seems you have chosen 5 seconds for supervision timeout. But according to the BLE 4.1 standard the supervision timeout must be larger than 2*conn_intv_max. So if you have a connection interval of 4 seconds you need at least 8010 ms supervision timeout (note that the supervision timeout resolution is 10 ms). If you use slave latency you must set supervision timeout to something larger than 2*conn_intv*(sup_to+1).
Upvotes: 1