Dela via


BluetoothLEConnectionParameters Class

Definition

Represents Bluetooth LE connection parameters.

For more information on connection parameters and PHY, please reference the Bluetooth Core Specification.

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
Inheritance
Object Platform::Object IInspectable BluetoothLEConnectionParameters
Attributes

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)
App capabilities
bluetooth

Properties

ConnectionInterval

Gets the connection inverval. The connection inverval is defined as 1.25ms increments, ranging from 0x0006 to 0x0C80. Time(ms) = Interval * 1.25ms.

ConnectionLatency

Gets the connection latency. The connection latency is defined in connection events, ranging from 0x0000 to 0x01F3.

LinkTimeout

Gets the connection link supervision timeout. The connection link supervision timeout is defined in 10ms increments, ranging from 0x000A to 0x0C80. Time(ms) = LinkTimeout * 10ms.

Applies to