OBEX 有替代品吗?

发布于 2024-09-28 08:40:10 字数 599 浏览 2 评论 0原文

我正在编写一个桌面应用程序,以使用蓝牙与听诊器进行通信。 最初我想使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

Spring初心 2024-10-05 08:40:10

您需要询问制造商听诊器的性能如何。它使用什么配置文件以及它充当客户端还是服务器。如果它使用 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...

云醉月微眠 2024-10-05 08:40:10

它可能支持 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文