arduino-BLEPeripheral icon indicating copy to clipboard operation
arduino-BLEPeripheral copied to clipboard

Question regarding Slave latency and supervision timeout.

Open DhirajGehlot opened this issue 6 years ago • 1 comments

Hello,

I am trying to follow guidelines set up by apple : https://developer.apple.com/library/archive/qa/qa1931/_index.html for connection parameters like link also includes : BLE Parameter Validation Spreadsheet which is checklist for connection parameters.

Based on sheet:

Connection interval min (ms) | 15 Connection interval max (ms) | 30 Slave latency | 0 Supervision timeout (ms) | 2000 Advertising interval (ms) | 20

I am trying to set the same following the APIs provided: https://github.com/sandeepmistry/arduino-BLEPeripheral/blob/master/API.md

I have two queries:

  1. This link shows method to set connection interval and advertising interval, however, whats the default value of slave latency and supervision timeout? Can I set that using API?

  2. Are these value correct for connection interval mentioned above? nRF.setAdvertisingInterval(20); // for 20 ms advertising interval nRF.setConnectionInterval(12, 24); // considering 1.25ms increment

DhirajGehlot avatar Nov 30 '18 11:11 DhirajGehlot

@DhirajGehlot did you ever figure this out. I'm having similar questions.

KEranda avatar Oct 11 '20 15:10 KEranda