Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

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.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. And always feel free to hit us up on Twitter @MxdRealityDev.

How to send UDP-Packages to HoloLens2 via USB

edited February 4 in Q&A and Discussions

Hello community,

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

Johannes

Best Answer

  • Accepted Answer

    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.

Answers

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

  • Accepted Answer

    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.

  • Dear Johannes,
    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!

Sign In or Register to comment.