System.Bluetooth
From RAD Studio API Documentation
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 |
|---|
Contents
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
EBluetoothLECharacteristicException Type of exception raised in relation to TBluetoothGattCharacteristic.
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. TBluetoothDeviceState Current state of a remote device.
TBluetoothGattFormatType Type of format that an array of bytes uses.
TBluetoothGattStatus Status at the end of a Bluetooth Low Energy operation.
TBluetoothPropertyFlags Represents a set of TBluetoothProperty enumeration values.
TBluetoothScanMode Scan mode of a Classic Bluetooth adapter.
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.
TDiscoverLEDeviceEvent Type of event handler for the TBluetoothLEManager.OnDiscoverLeDevice and the OnDiscoverLEDevice event.
TDiscoverServicesEvent Type of event handler for the TBluetoothLE.OnServicesDiscovered event.
TDiscoveryEndEvent Type of event handler for the TBluetoothManager.OnDiscoveryEnd event.
TDiscoveryLEEndEvent Type of event handler for the TBluetoothLEManager.OnDiscoveryEnd, and TBluetoothLE.OnEndDiscoverDevices events.
TGattCharacteristicEvent Type of event handler for events that occur after a read or write operation of a characteristic.
TGattCharacteristicReadEvent Type of event handler for the TBluetoothGattServer.OnCharacteristicRead event.
TGattCharacteristicSubscriptionEvent Type of event handler for characteristic subscription or unsubscription events.
TGattCharacteristicWriteEvent Type of event handler for the TBluetoothGattServer.OnCharacteristicWrite event.
TGattDescriptorEvent Type of event handler for the TBluetoothLEDevice.OnDescriptorRead and TBluetoothLEDevice.OnDescriptorWrite events.
TGattDeviceRSSIEvent Type of event handler for the TBluetoothLEDevice.OnReadRSSI event.
TGattOperationResultEvent Type of event handler for the TBluetoothLEDevice.OnReliableWriteCompleted 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