蓝牙和delphi,怎么样? [英] Bluetooth and delphi , how?

查看:119
本文介绍了蓝牙和delphi,怎么样?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想发送一个文件到设备(手机)使用蓝牙没有什么花哨。但我不知道从哪里开始我应该找一个司机?也许你们中的一个曾经使用过蓝牙,可以给我一个起点。

解决方案

我把一些蓝牙支持插入了Indy(因为您只能(?)通过套接字读取/写入蓝牙:

查看我在indy论坛上发表的代码:_
Indy蓝牙支持



我们在这里使用它来读取蓝牙条码扫描器(主模式和从模式),自动连接等(也许我需要更新发布的代码以获得主支持,请让我知道如果需要)


I want to send a file to a device (phone) using bluetooth nothing fancy. But i don't know where 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)

这篇关于蓝牙和delphi,怎么样?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆