苹果设备BLE连接参数摘录(Accessory Design Guidelines for Apple Devices:Release R17)

40.6 Connection Parameters
The accessory is responsible for the connection parameters used for the Low Energy connection. The
accessory should request connection parameters appropriate for its use case by sending an L2CAP
Connection Parameter Update Request at the appropriate time. See the Bluetooth 4.0 specification,
Volume 3, Part A, Section 4.20 for details.
The connection parameter request may be rejected if it does not meet the following guidelines:
● Peripheral Latency of up to 30 connection intervals.
● Supervision Timeout from 2 seconds to 6 seconds.
● Interval Min of at least 15 ms.
● Interval Min is a multiple of 15 ms.
● One of the following:
  ● Interval Max at least 15 ms greater than Interval Min.
  ● Interval Max and Interval Min both set to 15 ms.
● Interval Max * (Peripheral Latency + 1) of 2 seconds or less.
● Supervision Timeout greater than Interval Max * (Peripheral Latency + 1) * 3.
Note that if an accessory requests both an Interval Min and Interval Max of 15 ms, some devices will
scale the interval to 30 ms to balance power and performance constraints.
If Bluetooth Low Energy HID is one of the connected services of an accessory, a connection interval
down to 11.25 ms may be accepted by the device.
The device will not read or use the parameters in the Peripheral Preferred Connection Parameters
characteristic. See the Bluetooth 4.0 specification, Volume 3, Part C, Section 12.5.

以上为原文.若BLE参数不满足以上需求,则更新参数不会被接收.

完整文档地址如下:https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf

posted @ 2022-07-11 15:16  北风Z  阅读(462)  评论(0编辑  收藏  举报