如何使用数据楔连接到非扫描仪蓝牙设备?

发布于 2025-02-05 18:55:54 字数 404 浏览 4 评论 0原文

我有一个使用任意蓝牙设备(不是扫描仪)连接的用例。我有以下问题 -

  • 是否可以将数据楔连接到随机蓝牙设备以发送和接收数据?我无法在文档或其他地方在线找到任何示例。这个想法是,蓝牙设备将数据将数据转储到其OutputStream上,我希望数据楔形物可以将其拾取并插入我的应用程序字段。
  • 数据楔也可以将请求发送到蓝牙设备吗? (或者它只能是侦听器并接收数据?)如果是,我们如何配置请求字符串和频率。
  • 在我们的用例中,数据是一个长字符串(例如 - “ a,b,c,d”)。我的想法是将此字符串发送到文本字段,然后在应用程序本身中将其隔离。
  • 我们的用例用于TC 56个设备。据我了解,应用程序应用程序会听取意图数据楔形物生成扫描后的意图数据。它也可以在笔记本电脑上无缝运行吗?我们用例中的服务是Web应用程序。

I have a use case for connecting with a arbitrary bluetooth device (not a scanner). I have the following questions -

  • Is it possible to connect data wedge to a random bluetooth device to send and receive data? I was unable to find any example online in docs or elsewhere. The idea is that the bluetooth device will dump data to its outputstream, and i am hoping data wedge can pick it up and insert in my app field.
  • Can data wedge also send requests to the bluetooth device? ( Or can it only be a listener and receive data? ) If yes, how to we configure the request string and frequency.
  • In our use case the data is a long string (eg - "a,b,c,d"). My idea is to send this string to a text field and then segregate it in application itself.
  • Our use case is for TC 56 devices. As i understand it, the application app listens for the intent data wedge generates post scanning. Can it work seamless on laptops as well? The service in our use case is a web app.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文