pluxbiosignals / unity-android-sample

Interaction between Android systems and PLUX devices is extremely easy, using the available Unity/Android API. This repository contains a demonstration of this type of integration through an intuitive Sample APP.
Apache License 2.0
0 stars 2 forks source link

Scan doesn't find device on Oculus Quest #2

Open jdevoldere opened 4 years ago

jdevoldere commented 4 years ago

In my script I perform a scan every 6 seconds but OnNewDeviceFound never gets triggered. Turning the biosignalsplux off and on again doesn't help.

Here is my script: https://pastebin.com/j39d0EPJ

The device has been properly paired via experimental settings which required a bluetooth keyboard in order to enter the PIN code due to a bug on Oculus' behalf.

I order to view the console output I used the Android Logcat package from the package manager in Unity. Note that I am using Oculus Integration package v17 instead of the latest due to some fatal black screen of death bug in builds compiled with v18.

Note that in order to compile a build you have to make sure to modify the android manifest file as a workaround to this issue: https://github.com/biosignalsplux/unity-android-sample/issues/1