Forum > Networking and Web Programming
Using Bluetooth LE: Howto ? Components
(1/1)
JP-CASSOU:
Hello,
I want to communicate with a Bluetooth LE device.
I can't find any detailed example in FreePascal, either on Windows or Linux
I am looking for DETAILED code examples.
Thanks
BlueIcaro:
Hi,
You need check which kind of device are dectect. For example some bluethoot devices (in windows) are a serial port. So you should use a serial port component like LazSerial.
With no more info about the device is complicate.
/BlueIcaro
JP-CASSOU:
My device BT LE uses GATT protocol. TLazSerial unusable here
BlueIcaro:
A fast search in google, gives some pages that sells Delphi packages.
But I found a C library https://github.com/labapart/gattlib. You can take a look, compile it, and access to the library from Free Pascal.
/BlueIcaro
JP-CASSOU:
>> But I found a C library https://github.com/labapart/gattlib. You can take a look, compile it, and access to the library from Free Pascal.
I'm newbie in C. Exists FPC translation of the headers ?
Navigation
[0] Message Index