'Bridge connection between Hololens, Android and Haptic Vest to send events?

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...



Solution 1:[1]

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.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Seth DU - MSFT