开发者

Bluetooth and delphi , how?

开发者 https://www.devze.com 2023-03-23 10:38 出处:网络
I want to send a file to a device (phone) using bluetooth nothing fancy. But i don\'t know wh开发者_如何学Pythonere to start should i find a driver? Maybe one of you guys worked with bluetooth before

I want to send a file to a device (phone) using bluetooth nothing fancy. But i don't know wh开发者_如何学Pythonere to start should i find a driver? Maybe one of you guys worked with bluetooth before and can give me a starting point.


I hacked some bluetooth support into Indy (because you can only(?) read/write bluetooth via sockets: Bluetooth Programming with Windows Sockets) a month ago.

See my post on the indy forum for the code:
Indy Bluetooth support

We use it here for reading a bluetooth barcode scanner (both master and slave mode), with auto connect etc (maybe I need to update the posted code for master support, please let me know if you need it)


I haven't worked with it before but I'd start on MSDN

The article explains how to use windows sockets to connect to Bluetooth devices.

There's probably wrappers for these methods. I'll add some more information after I've looked into it

0

精彩评论

暂无评论...
验证码 换一张
取 消