GattDescriptor.ConvertShortIdToUuid(UInt16) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
Bluetooth SIG 정의 짧은 ID를 전체 GATT UUID로 변환합니다.
중요
ConvertShortIdToUuid API는 더 이상 사용되지 않으며 이후 버전의 Windows에서는 사용할 수 없습니다. 대신 BluetoothUuidHelper.FromShortId를 사용합니다.
public:
static Platform::Guid ConvertShortIdToUuid(unsigned short shortId);
static winrt::guid ConvertShortIdToUuid(uint16_t const& shortId);
/// [Windows.Foundation.Metadata.Deprecated("Use BluetoothUuidHelper instead of ConvertShortIdToUuid. For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
static winrt::guid ConvertShortIdToUuid(uint16_t const& shortId);
public static Guid ConvertShortIdToUuid(ushort shortId);
[Windows.Foundation.Metadata.Deprecated("Use BluetoothUuidHelper instead of ConvertShortIdToUuid. For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public static Guid ConvertShortIdToUuid(ushort shortId);
function convertShortIdToUuid(shortId)
Public Shared Function ConvertShortIdToUuid (shortId As UShort) As Guid
매개 변수
- shortId
-
UInt16
unsigned short
uint16_t
16비트 Bluetooth GATT 설명자 UUID.
반환
이 설명자를 고유하게 식별하는 해당 128비트 GATT 설명자 UUID입니다.
- 특성
Windows 요구 사항
앱 기능 |
bluetooth
|
적용 대상
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기