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.BluetoothProvides classes to use the Bluetooth capabilities of the device that is running your application to connect to applications running on remote devices.
System.Bluetooth.ComponentsComponents to provide support for both Classic Bluetooth and Bluetooth Low Energy in your applications.


Classes

EBluetoothAdapterException
EBluetoothDeviceException
EBluetoothException
EBluetoothFormatExceptionType of exception raised in relation to TBluetoothGattCharacteristic.
EBluetoothLEAdapterExceptionType of exception raised in relation to TBluetoothLEAdapter.
EBluetoothLEAdvertiseDataExceptionException for issues related to Bluetooth LE advertising.
EBluetoothLECharacteristicExceptionType of exception raised in relation to TBluetoothGattCharacteristic.
EBluetoothLEDescriptorExceptionType of exception raised in relation to TBluetoothGattDescriptor.
EBluetoothLEDeviceExceptionType of exception raised in relation to the bluetooth low energy devices that are handled by a TBluetoothLE component.
EBluetoothLEServiceExceptionType of exception raised in relation to the GATT services that are handled by a TBluetoothLE component.
EBluetoothManagerException
EBluetoothServiceException
EBluetoothSocketException
TBluetoothAdapterRepresents a Classic Bluetooth hardware adapter.
TBluetoothCustomAdapterBase class for subclasses that represent a Bluetooth hardware adapter.
TBluetoothCustomDeviceBase class for subclasses that represent a Bluetooth-enabled remote device.
TBluetoothDeviceRepresents a remote device that supports Classic Bluetooth.
TBluetoothDeviceListList of remote devices.
TBluetoothGattCharacteristicRepresents a Bluetooth GATT Characteristic.
TBluetoothGattCharacteristicListList of characteristics.
TBluetoothGattDescriptorA GATT characteristic descriptor provides information about a characteristic.
TBluetoothGattDescriptorListList of descriptors.
TBluetoothGattDeviceListList of Bluetooth Low Energy devices.
TBluetoothGattServerGATT server that provides services for Bluetooth Low Energy devices.
TBluetoothGattServiceRepresents a Bluetooth GATT Service.
TBluetoothGattServiceListList of Bluetooth GATT Services.
TBluetoothLEAdapterRepresents a Bluetooth Low Energy hardware adapter.
TBluetoothLEAdapterListList of Bluetooth Low Energy adapters.
TBluetoothLEAdvertiseDataRepresents the data that a GATT server advertises to Bluetooth LE devices.
TBluetoothLEDeviceRepresents a remote device that supports Bluetooth Low Energy.
TBluetoothLEDeviceDictionary
TBluetoothLEDeviceListList of remote devices.
TBluetoothLEManagerMain class for Bluetooth Low Energy communications.
TBluetoothLEScanFilterThis class represents a BLE scan filter.
TBluetoothLEScanFilterListList of BLE scan filter.
TBluetoothLEServiceDataDictionary where keys are UUIDs of GATT services and values are data of those services to advertise.
TBluetoothManagerMain class for Classic Bluetooth communications.
TBluetoothServerSocketSocket that represents a published service and lets you listen for incoming connection requests.
TBluetoothServiceListList of Bluetooth services.
TBluetoothSocketAllows you to establish a connection to a remote device and send and receive data from the remote device.
TBluetoothUUIDHelperHelper class to work with different formats of Bluetooth UUIDs.
TBluetoothUUIDsListA list of Bluetooth UUIDs.
TScanResponseA dictionary of key-value pairs where keys are scan response keys and values are arrays of bytes.

Types

TBluetooth16bitsUUID
TBluetoothAdapterStateCurrent state of an adapter.
TBluetoothConnectionStateCurrent state of an adapter.
TBluetoothDescriptorKindThe list of standard descriptors and the Unkown value.
TBluetoothDeviceStateCurrent state of a remote device.
TBluetoothGattFormatTypeType of format that an array of bytes uses.
TBluetoothGattStatusStatus at the end of a Bluetooth Low Energy operation.
TBluetoothMacAddressHardware address of a local adapter or a remote device.
TBluetoothPropertyEnumerates possible properties of characteristics.
TBluetoothPropertyFlagsRepresents a set of TBluetoothProperty enumeration values.
TBluetoothScanModeScan mode of a Classic Bluetooth adapter.
TBluetoothServiceRepresents a Bluetooth service, published by you or by a remote device.
TBluetoothServiceType
TBluetoothTypeType or types of Bluetooth that a remote device supports.
TBluetoothUUIDUniversally unique identifier of Bluetooth services.
TConnectLEDeviceEventType of event handler for remote device connection and disconnection events.
TDiscoverableEndEventType of event handler for the TBluetoothManager.OnDiscoverableEnd event.
TDiscoverLEDeviceEventType of event handler for the TBluetoothLEManager.OnDiscoverLeDevice and the OnDiscoverLEDevice event.
TDiscoverServiceEvent
TDiscoverServicesEventType of event handler for the TBluetoothLE.OnServicesDiscovered event.
TDiscoveryEndEventType of event handler for the TBluetoothManager.OnDiscoveryEnd event.
TDiscoveryLEEndEventType of event handler for the TBluetoothLEManager.OnDiscoveryEnd, and TBluetoothLE.OnEndDiscoverDevices events.
TGattCharacteristicEventType of event handler for events that occur after a read or write operation of a characteristic.
TGattCharacteristicReadEventType of event handler for the TBluetoothGattServer.OnCharacteristicRead event.
TGattCharacteristicSubscriptionEventType of event handler for characteristic subscription or unsubscription events.
TGattCharacteristicWriteEventType of event handler for the TBluetoothGattServer.OnCharacteristicWrite event.
TGattDescriptorEventType of event handler for the TBluetoothLEDevice.OnDescriptorRead and TBluetoothLEDevice.OnDescriptorWrite events.
TGattDeviceRSSIEventType of event handler for the TBluetoothLEDevice.OnReadRSSI event.
TGattOperationResultEventType of event handler for the TBluetoothLEDevice.OnReliableWriteCompleted event.
TGattServiceEventType of event handler for the TBluetoothGattServer.OnServiceAdded event.
TIdentifyUUIDEventType of event handler for the TBluetoothManager.OnIdentifyCustomUUID event.
TRemoteRequestPairEvent
TScanResponseKeyThe data format of the response packet that a Bluetooth LE device sends upon discovery.
TServiceDataRawDataThis record type is used to represent the beacon manufacturer data.

Variables

BLUETOOTH_BASE_UUID