Forum Discussion
thorargent
9 years agoHonored Guest
Use of a serial port with the SDK?
I see that using the system resources or setting the flag for them gives an incompatibility message. But using the library from the SDK has no (apparent) serial port support. Is there is simple solution to this? I would like to emit a signal on a periodic basis indicating some states from the game to an external device.
3 Replies
- thorargentHonored GuestMaybe I should clarify- I am writing a small demonstration VR but when you get to trigger zones, I want to be able to export that information or whatever through a com port. It does not have to be much data, and it will only happen every few frames, not constantly. It would very likely require starting a thread and using that method to do it without crunching into the rendering times.
- ENiKSAdventurerSerial ports are completely unrelated to Oculus SDK. If you app is in C++, then you should use WinApi to communicate using serial port. If your App is in "anything else", you should look for serial port functions in "anything else"
- thorargentHonored GuestThanks for your response. Yes, I understand that those functions are not related to the SDK but I ran into issues of compatibility with this. I am not as familiar with the changes that have been made to how Windows accesses its system functions. I can easily get to a serial port and there are numerous examples of how to do it online using various serial functions and file functions, but trying to include that code in the program doesn't seem to work. I am obviously running into some changes- I have not done any serious C/C++ programming in years and there have been a lot of changes. Even Python has been rewritten so that my previous code from just 4 years ago no longer works at all. What a world. But I digress. Thanks again.
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
- 5 months ago