System.Bluetooth.TBluetoothUUID

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TBluetoothUUID = TGUID;

C++

typedef GUID TBluetoothUUID;

Properties

Type Visibility Source Unit Parent
record
typedef
public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth System.Bluetooth

Description

Universally unique identifier of Bluetooth services.

This identifier is represented by a string literal enclosed in brackets. UUIDs must have the form "{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}", where each x is a hexadecimal digit (0 through 9 or A through F). For example: "{00000000-0000-1000-8000-00805F9B34FA}".

TBluetoothUUID provides structured access to the UUID:

  • The first 8 hexadecimal digits map D1.
  • The next 4 hexadecimal digits map D2.
  • The next 4 hexadecimal digits map D3.
  • The next 4 hexadecimal digits map the first 2 bytes in D4.
  • The last 12 hexadecimal digits map the remaining 6 bytes in D4.

See Also