通过蓝牙将图像从PC发送到手机 [英] Sending images via bluetooth from PC to mobile

查看:136
本文介绍了通过蓝牙将图像从PC发送到手机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要通过蓝牙将图片从台式机(Windows XP)上的应用程序发送至手机.任何想法如何做到这一点?您能给我一些从哪里开始的指示和参考吗?是否可以使用Windows蓝牙SDK来实现?

任何帮助表示赞赏.

谢谢.

更新:

好的.我发现了这个 http://support.microsoft.com/kb/883259#81 [

Hi ,

I need to send pictures via bluetooth from my application on my desktop (Windows XP) to a mobile phone. Any idea how to do that? Can you give me some pointers and references where to begin? Is it possible to do it using the Windows bluetooth SDK?

Any help is appreciated.

Thanks.

Update:

Ok. I found this http://support.microsoft.com/kb/883259#81[^] . At the end of the page , there is a send / receive file option. I want to do pit programatically. Any guide to do it progrmatically?

推荐答案

蓝牙API-是一个好主意
您可以使用以下步骤:
1.使用WSALookupServiceBegin,WSALookupServiceNext函数枚举可用的电话服务
2.获取OBEX文件传输服务地址
3.创建蓝牙插座
4.连接到找到的服务地址
5.实施OBEX文件传输协议(连接和放置命令-
http://netwinder.osuosl .org/pub/netwinder/docs/nw/irda/IrOBEX12.pdf [ ^ ], http://dotcom.bluetoothsig.org /SiteCollectionDocuments/GOEP_SPEC_V12.pdf [^ ] )并通过套接字发送文件
我可以共享自己的测试项目,但不知道如何将其附加到解决方案上
Bluetooth API - is a good idea
You can use next steps:
1. Enum available phone services with WSALookupServiceBegin, WSALookupServiceNext functions
2. Get OBEX File Transfer service address
3. Create bluetooth socket
4. Connect to the finded service address
5. Implement OBEX File Transfer protocol (Connect and Put commands - http://netwinder.osuosl.org/pub/netwinder/docs/nw/irda/IrOBEX12.pdf[^], http://dotcom.bluetoothsig.org/SiteCollectionDocuments/GOEP_SPEC_V12.pdf[^]) and send file through the socket
I can share own test project, but dont know how to attach it to the solution


这篇关于通过蓝牙将图像从PC发送到手机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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