System.Bluetooth.TBluetoothGattServer.CreateCharacteristic
Delphi
function CreateCharacteristic(const AService: TBluetoothGattService; const AnUUID: TBluetoothUUID; const AProps: TBluetoothPropertyFlags; const ADescription: string = ''): TBluetoothGattCharacteristic;
C++
TBluetoothGattCharacteristic* __fastcall CreateCharacteristic(TBluetoothGattService* const AService, const GUID &AnUUID, const TBluetoothPropertyFlags AProps, const System::UnicodeString ADescription = System::UnicodeString());
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
Description
Creates a characteristic with the specified UUID, property flags, and description, adds the new characteristic to the specified service, and returns the new characteristic.
See Also
- System.Bluetooth.TBluetoothGattService
- System.Bluetooth.TBluetoothUUID
- System.Bluetooth.TBluetoothPropertyFlags
- System.String
- System.Bluetooth.TBluetoothGattCharacteristic
- System.Bluetooth.TBluetoothGattServer.AddCharacteristic
- System.Bluetooth.TBluetoothGattServer.UpdateCharacteristicValue