How do I send data from Unity gear VR app over bluetooth?
I am new to Unity and android app development. I recently got hold of a Samsung gear VR and galaxy S6. I am able to make simple scenes and run them using the gear VR. However for my project, when I am running the app on my gear VR, I would like to send data regarding the player coordinates, joystick etc over the phones Bluetooth so that it can be read on my computer in Matlab in real time. I need this data to trigger an external device using Matlab. Any help would be appreciated. Thank you
You need Bluetooth plugins on both sides because Unity does not support this out of the box. You can write one for yourself with Android Bluetooth API or use this cheap one that only cost $10. On the computer side/Windows, you can use Winsock RFCOMM. You can get sample code here. Other important links. Bluetooth tutorials on Windows.
UDP Datagram packet receive loop delay
pop up message from service provider(telecom network) causing activity to pause
Button clicklistener inside listview
Unable to build Eclipse library projects after ADT update
Facebook post a message on a wall without open a dialog
Android enforce passcode lock?
Android: cannot run app on connected phone, using Ubuntu in VM in Windows 7
Is it possible to start an application in the way I am trying?
How can I animate my button's application?
VerifiyAndSetParameter error when trying to record video
Rebinding a background service process (Android)
Attachment Issue in Intent
Secure element Access Control on ICS 4.0.4
webview goes blank when loading url in android ics
How to maintain single instance of MediaPlayer [Android]