霍洛伦斯,android和触觉背心之间的桥梁连接以发送活动?

发布于 2025-01-29 05:23:34 字数 349 浏览 3 评论 0 原文

我在Hololens上的Unity应用程序与(触觉背心)蓝牙连接起来有一个问题。问题是Hololens没有SDK连接到触觉背心。 ** - 我想保持我的Hololens Unity应用程序与触觉背心之间的联系,但无法弄清楚如何。

  • 背心有一个Android SDK,但我对如何将其用于应用程序感到困惑。例如,我将HoloLens连接到Android,然后将事件从我的Unity应用程序发送到Android,以播放特定的模式,因为Android蓝牙仅与之配对。
  • 我阅读了有关插座TCP或UDP连接的信息,但我不知道如何实现这一目标。我不是一个高级程序员,而只是新秀。**

请帮助我解决这个问题,现在被困一个月...

I have an issue connecting my Unity application on Hololens to a (haptic vest) Bluetooth. The problem is there is no SDK for Hololens to connect to the Haptic vest.
**- I want to maintain a connection between my HoloLens unity app and the haptic vest but cannot figure out how.

  • There is an Android SDK for the Vest but I am confused about how to use it with my application. For example, I connect my Hololens to Android, and then I send events from my unity application to android to play a specific pattern because the android Bluetooth pairs with it only.
  • I read about sockets TCP or UDP connection but I have no idea how this can be achieved. I am not an advanced-level programmer but just a rookie.**

Please help me regarding this issue, been stuck now for a month...

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

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

发布评论

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

评论(2

双马尾 2025-02-05 05:23:34

触觉背心仅提供Android SDK吗?如果有C#SDK,则更容易。

但是,如果您想拥有一个Android设备来托管Hololens和背心之间的桥梁。

您可以在HoloLens上仅添加TCP/UDP客户端。对于Android项目,基本上有2件事要做。添加TCP/UDP服务器并实现触觉背心SDK。有很多步骤来构建系统,并且玩家的配置步骤可能需要很长时间。播放器需要打开Android应用以配对背心,然后启动TCP/UDP服务器。然后,Player Open Hololens应用程序,在本地网络中找到TCP/UDP服务器(也许手动输入IP地址)。当建立连接时,游戏开始。

Does the haptic vest only provide Android SDK? It is easier if there is an C# SDK.

However, it is possible If you want to have an Android device to host the bridge between HoloLens and the vest.

You may simply add a TCP/UDP Client on HoloLens. For the Android project, basically there are 2 things to do. Adding a TCP/UDP Server and implementing the haptic vest SDK. There are plenty of steps to build the system and the configuration steps for players may take long. The player needs to open Android app to pair the vest, then start TCP/UDP server. Then the player open HoloLens App, find the TCP/UDP server in the local network (maybe manually input IP address). The game starts when the connection is established.

鹊巢 2025-02-05 05:23:34

HOLOLENS 2来自HID和音频设备的Apar支持以下蓝牙API:

如果您的背心不支持通过上述APIS访问,您可能需要参考以前的答案以设置连接。如果您对Hololens蓝牙有进一步的疑问,则可以通过

Apar from HID and Audio devices, HoloLens 2 supports the following Bluetooth APIs:

If your vest doesn't support accessing via the above APIs, you may need to refer to the previous answer to set up the connection. If you have further questions on HoloLens Bluetooth, you may submit a support ticket via http://aka.ms/hololenssupport

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