Forum Discussion
QuietlyLookingInward
5 years agoProtege
How to receive OSC Data via UDP/IP on the Quest?
Hey there, is it possible to receive OSC Data via UDP on the Quest? If yes, is there an open default UDP-Port or is there any way to open a specific Port? I'm using Unity and made a project ...
valfg
4 years agoExplorer
Hello MatiasBru. I'm trying to also do the same thing; be able to send/receive OSC messages from/to the Quest to an external board (Raspberry PI or Arduino) but I have no idea where to start. So far I haven't found any tutorials/blogposts about it, only you seems to have successfully achieved this. Would you mind sharing a bit more how you did it or even better share a basic project blueprint for us to work from ? That would be ideal.
Thanks for your help
valfg
4 years agoExplorer
Me again. I've successfully created an OSC conversation in-between a remote laptop (on the same network) and my Unreal Engine interface. Pressing an OSC button from the remote control trigger an event in the game. This work flawlessly. When I build, save and load that game onto the quest, this event doesn't work unfortunately.
I went into my game folder Projectname/Intermediate/Android/APK when I found the AndroidManifest.xml where I've added the two lines you've indicated above outside of the <applications> tags. Saved, rebuild/save and load the game but same behavior. Have I missed something here? What IP and port are you using in your OSC blueprint? In IP i've left it empty as putting 0000 wasn't working, and i've used the 8000 port.
Thanks
- xiangpeng1 year agoExplorer
Hi, did you find any solution?
- HattoriHanzo-1 year agoHonored Guest
This is how it worked with me:
Go to > OSC Manager > OSC Transmitter > Remote Host. Change remote host from localhost (127.0.0.1 ) to the IP Address of your pc on the local network. Ensure your pc and oculus are connected to the same network.
I also added the two lines provided by QuietlyLookingInward in the AndroidManifest.xml (you find it in your project's folder), just to be sure
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 months ago
- 8 months ago