Recent

Author Topic: Windows Desktop App + Bluetooth Communication  (Read 781 times)

Edison J. B.

  • New Member
  • *
  • Posts: 10
Windows Desktop App + Bluetooth Communication
« on: March 17, 2022, 01:53:10 pm »
Hi,

I need connect a Windows desktop app with bluetooth device to retrieve informations from a weight scale.

Is there any library for Windows bluetooth communication? I also would want to create a bluetooth scanner device to locate the weight scales that are registered and available to communicate in my app.

Thanks for any advice.

Edison J. B.

mas steindorff

  • Hero Member
  • *****
  • Posts: 533
Re: Windows Desktop App + Bluetooth Communication
« Reply #1 on: March 22, 2022, 09:35:02 pm »
I just looked into this for BLE, it the same as BT
https://forum.lazarus.freepascal.org/index.php/topic,58028.msg438215/topicseen.html#new
if your BT device supports RFCOMM, then there are built in solutions (access as a Com port) for most major OS. The $ library I  called out in the this thread supports several BT dongles and they have (new) support for FPC. otherwise it looks like you need to create an interface to a windows DLL (sorry I've forgotten it's name) that will be changing for windows 11 (rumors). 
good luck.
windows 10 &11, Ubuntu 21+ IDE 3.2.2 general releases

Edison J. B.

  • New Member
  • *
  • Posts: 10
Re: Windows Desktop App + Bluetooth Communication
« Reply #2 on: March 28, 2022, 02:30:37 pm »
Thank's for your attention. I will study the library.

 

TinyPortal © 2005-2018