BluetoothLEConnectionParameters 类

定义

表示蓝牙 LE 连接参数。

有关连接参数和 PHY 的详细信息,请参阅 蓝牙核心规范

public ref class BluetoothLEConnectionParameters sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class BluetoothLEConnectionParameters final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BluetoothLEConnectionParameters
Public NotInheritable Class BluetoothLEConnectionParameters
继承
Object Platform::Object IInspectable BluetoothLEConnectionParameters
属性

Windows 要求

要求 说明
设备系列
Windows 11 (在 10.0.22000.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v14.0 中引入)
应用功能
bluetooth

属性

名称 说明
ConnectionInterval

获取连接值。 连接增量定义为 1.25 毫秒的增量,范围从 0x0006 到 0x0C80。 time (ms) = Interval * 1.25ms。

ConnectionLatency

获取连接延迟。 连接延迟在连接事件中定义,范围从0x0000到0x01F3。

LinkTimeout

获取连接链接监督超时。 连接链路监督超时以 10 毫秒为增量定义,范围从 0x000A 到 0x0C80。 时间 (ms) = LinkTimeout * 10 毫秒。

适用于