GattDescriptor 클래스

정의

GATT 특성의 설명자를 나타냅니다. GattDescriptor 개체는 특정 특성의 GATT 설명자를 나타내며 GattCharacteristic 개체의 Descriptors 속성에서 가져옵니다.

public ref class GattDescriptor sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class GattDescriptor final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GattDescriptor final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class GattDescriptor
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GattDescriptor
Public NotInheritable Class GattDescriptor
상속
Object Platform::Object IInspectable GattDescriptor
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)
앱 기능
bluetooth

설명

버전 기록

Windows 버전 SDK 버전 추가된 값
1703 15063 WriteValueWithResultAsync

속성

AttributeHandle

GATT 서버 디바이스에서 이 특성을 고유하게 식별하는 데 사용되는 GATT 특성 핸들을 가져옵니다.

ProtectionLevel

디바이스와의 무선 통신에 대해 원하는 GATT 보안 옵션을 가져오거나 설정합니다.

Windows는 페어링 프로세스의 일부로 디바이스와 가능한 최대 보안을 협상하며, 더 낮은 수준의 보안을 지정해도 기존 보안 수준이 저하되지 않습니다.

Uuid

이 GattDescriptor에 대한 GATT 설명자 UUID를 가져옵니다.

메서드

ConvertShortIdToUuid(UInt16)

Bluetooth SIG 정의 짧은 ID를 전체 GATT UUID로 변환합니다.

중요

ConvertShortIdToUuid API는 더 이상 사용되지 않으며 이후 버전의 Windows에서는 사용할 수 없습니다. 대신 BluetoothUuidHelper.FromShortId를 사용합니다.

ReadValueAsync()

Windows에서 유지 관리하는 값 캐시에서 읽은 설명자 값을 수행합니다.

ReadValueAsync(BluetoothCacheMode)

Windows에서 유지 관리하는 값 캐시 또는 디바이스에서 직접 읽은 설명자 값을 수행합니다.

WriteValueAsync(IBuffer)

Bluetooth LE 디바이스에 설명자 값 쓰기를 수행합니다.

WriteValueWithResultAsync(IBuffer)

Bluetooth LE 디바이스에 설명자 값 쓰기를 수행합니다.

적용 대상