System.Bluetooth

From RAD Studio API Documentation
Jump to: navigation, search

Provides classes to use the Bluetooth capabilities of the device that is running your application to connect to applications running on remote devices.

To implement Classic Bluetooth support in your application, use the following classes:

To implement Bluetooth Low Energy support in your application, use the following classes:

Package rtl270.bpl

Units

System.Bluetooth Provides classes to use the Bluetooth capabilities of the device that is running your application to connect to applications running on remote devices.
System.Bluetooth.Components Components to provide support for both Classic Bluetooth and Bluetooth Low Energy in your applications.


Classes

EBluetoothLEDeviceException Type of exception raised in relation to the bluetooth low energy devices that are handled by a TBluetoothLE component.
EBluetoothLEServiceException Type of exception raised in relation to the GATT services that are handled by a TBluetoothLE component.
TBluetoothAdapter Represents a Classic Bluetooth hardware adapter.
TBluetoothCustomAdapter Base class for subclasses that represent a Bluetooth hardware adapter.
TBluetoothCustomDevice Base class for subclasses that represent a Bluetooth-enabled remote device.
TBluetoothDevice Represents a remote device that supports Classic Bluetooth.
TBluetoothGattCharacteristic Represents a Bluetooth GATT Characteristic.
TBluetoothGattDescriptor A GATT characteristic descriptor provides information about a characteristic.
TBluetoothGattService Represents a Bluetooth GATT Service.
TBluetoothLEAdapter Represents a Bluetooth Low Energy hardware adapter.
TBluetoothLEAdvertiseData Represents the data that a GATT server advertises to Bluetooth LE devices.
TBluetoothLEDevice Represents a remote device that supports Bluetooth Low Energy.
TBluetoothLEManager Main class for Bluetooth Low Energy communications.
TBluetoothLEScanFilter This class represents a BLE scan filter.
TBluetoothLEServiceData Dictionary where keys are UUIDs of GATT services and values are data of those services to advertise.
TBluetoothManager Main class for Classic Bluetooth communications.
TBluetoothServerSocket Socket that represents a published service and lets you listen for incoming connection requests.
TBluetoothSocket Allows you to establish a connection to a remote device and send and receive data from the remote device.
TBluetoothUUIDHelper Helper class to work with different formats of Bluetooth UUIDs.
TScanResponse A dictionary of key-value pairs where keys are scan response keys and values are arrays of bytes.

Types

TBluetoothAdapterState Current state of an adapter.
TBluetoothConnectionState Current state of an adapter.
TBluetoothDescriptorKind The list of standard descriptors and the Unkown value.
TBluetoothGattFormatType Type of format that an array of bytes uses.
TBluetoothGattStatus Status at the end of a Bluetooth Low Energy operation.
TBluetoothMacAddress Hardware address of a local adapter or a remote device.
TBluetoothPropertyFlags Represents a set of TBluetoothProperty enumeration values.
TBluetoothService Represents a Bluetooth service, published by you or by a remote device.
TBluetoothType Type or types of Bluetooth that a remote device supports.
TConnectLEDeviceEvent Type of event handler for remote device connection and disconnection events.
TDiscoverableEndEvent Type of event handler for the TBluetoothManager.OnDiscoverableEnd event.
TDiscoverServicesEvent Type of event handler for the TBluetoothLE.OnServicesDiscovered event.
TDiscoveryEndEvent Type of event handler for the TBluetoothManager.OnDiscoveryEnd event.
TGattCharacteristicEvent Type of event handler for events that occur after a read or write operation of a characteristic.
TGattCharacteristicSubscriptionEvent Type of event handler for characteristic subscription or unsubscription events.
TGattDeviceRSSIEvent Type of event handler for the TBluetoothLEDevice.OnReadRSSI event.
TGattServiceEvent Type of event handler for the TBluetoothGattServer.OnServiceAdded event.
TIdentifyUUIDEvent Type of event handler for the TBluetoothManager.OnIdentifyCustomUUID event.
TScanResponseKey The data format of the response packet that a Bluetooth LE device sends upon discovery.
TServiceDataRawData This record type is used to represent the beacon manufacturer data.

Variables


Retrieved from "https://docwiki.embarcadero.com/Libraries/Sydney/e/index.php?title=System.Bluetooth&oldid=735085"