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.1 - 10.4
  • source code included in registered version
  • royalty free distribution in applications

Download and order

FAQ

How can I determine format type of charactestics value?
Use Characteristic Presentation Format descriptor

How can I set scanning filter for BLE?
var Filter: TScanFilter;

SetLength(Filter.DeviceNames, 1);
Filter.DeviceNames[0] := 'Blood Pressure';

SetLength(Filter.DeviceAddresses, 1);
Filter.DeviceAddresses[0] := '51:6B:AF:DD:4C:D0';

SetLength(Filter.Services, 1);
Filter.Services[0] := ToGUID(TBluetoothGattService.BloodPressure);

BluetoothAdapter.StartLeScan(Filter);
							

Related links