Bluetooth Library for Android

Bluetooth Library for Android

Delphi and C++Builder Bluetooth library for Android.
  • uses Android Bluetooth API
  • supports BLE and BT Classic clients
  • available for Delphi/C++Builder 10.4 - 12
  • source code included in registered version
  • royalty free distribution in applications

Download and order

FAQ

How can I set scanning filter for BLE?
BluetoothAdapter.StartLeScan(
  TScanFilter.Create(
    ['Blood Pressure'], // devices
    ['51:6B:AF:DD:4C:D0'], // device addresses
    [ToGUID(TBluetoothGattService.BloodPressure)] // services
));
							
Why can't I connect to BLE dual-mode device?
Set Transport parameter to TTransport.LE value in ConnectGatt method:
Device.ConnectGatt(SwitchAutoConnect.IsChecked, TTransport.LE);
							

Related links