The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
How to send UDP-Packages to HoloLens2 via USB
at the moment I work on a Unity-Application (UWP-Build, unity 2019.3) which should receive UDP-Packages and process them. Therefore I created a UDP-Communicator which uses Windows.Networking to set up the connection. Now I might be done, but at the moment I am not able to test the functionality in a real network, so I have to send the packages from my developement-computer to the HoloLens 2 device via USB-C cable.
My question is, how I can send this packages to the glasses. I already have a test Tool which sends UDP-Packages and was approved in another project, but I am not able to send the data to the glasses via USB-C cable Connection. Since in Device-Manager you can also stream a live-preview from HoloLens to the computer, it might be also possible to stream data the other way round, but so far I was not successful in doing so. Can anyone help me in this issue?
Tanks in advance
Simply check the IP-configuration in Device Portal, there you will find "UsbNcm Function" with an IP-address, if you send Data to this address HoloLens receives it.0
I already tried to send data to LocalHost and also switched the corresponding ports but it didn´t work, that might be interesting in advance.
Simply check the IP-configuration in Device Portal, there you will find "UsbNcm Function" with an IP-address, if you send Data to this address HoloLens receives it.
I m trying to establish a connection btw pc and hololens too, but using wifi. You said that you were unable to test it in a real network and I m having trouble too. Why you were not able? If you want to share we can try to solve it together!