OBEX 有替代品吗?
我正在编写一个桌面应用程序,以使用蓝牙与听诊器进行通信。 最初我想使用 OBEX,但我使用此页面中的代码验证可用的服务: http://www.jsr82.com/jsr- 82-sample-bluetooth-service-search/#more-21
我得到以下结果:
*Starting device inquiry...
Device Inquiry Completed.
Bluetooth Devices:
1. 002484006FFB (M3200 0010030000286675 )
Choose the device to search for Obex Push service : 1
Searching for service...
Device does not support Object Push.
BlueCove stack shutdown completed*
有人知道我必须将文件从听诊器传输到桌面应用程序,以替代 OBEX 吗?
I’m programing a desktop application to communicate with a stethoscope using Bluetooth.
Initially I would like to use OBEX, but I’m verify the services available, using the code in this page:
http://www.jsr82.com/jsr-82-sample-bluetooth-service-search/#more-21
I got the following result:
*Starting device inquiry...
Device Inquiry Completed.
Bluetooth Devices:
1. 002484006FFB (M3200 0010030000286675 )
Choose the device to search for Obex Push service : 1
Searching for service...
Device does not support Object Push.
BlueCove stack shutdown completed*
Someone know what alternative to OBEX I have to transfer a file, from a stethoscope to a desktop application?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要询问制造商听诊器的性能如何。它使用什么配置文件以及它充当客户端还是服务器。如果它使用 OBEX,我可能认为它是一个客户端,因此它会发送到范围内的 OBEX 服务器设备,可能带有特定的设备名称或服务名称...
稍后,来自文档 (产品页面 和 3200 用户手册)似乎是这样。将听诊器与 PC 设备配对,运行该软件,听诊器就会与其连接。考虑到可能的实时方面,似乎也有点像它可能不是 OBEX...
如果您有 PC 上的软件应用程序,请对 PC 上的所有记录进行 SDP 查询,无论是否运行该软件,看看有什么服务该应用程序正在使用...
You need to ask the manufacture how the stethoscope behaves. What profile does it use and does it act as client or server. If it uses OBEX, I might be that it's a client and thus it sends to a OBEX server device in range, perhaps with a particalur device name or ServiceName...
LATER, from the documentation (product pages and 3200 User Manual) that seems to be the case. Pair the stethoscope to a PC device, run the software there, and the stethoscope connects to it. Also seems a bit like it might not be OBEX given the real-time aspects possible...
If you have the software app for the PC, do a SDP query for all records on the PC without and with the software running and see what service the app is using...
它可能支持 SPP(串行端口配置文件)。
不确定您要做什么,因为听诊器上的应用程序可能不会与您的应用程序通信,除非您知道欣赏级别的通信详细信息。
希望有帮助
it might support SPP (Serial port profile).
Not sure what you are trying to do, because the application on the stethoscope might not talk to your application , unless you know the appreciation level communication details.
hope it helps