Forum Discussion
bebop_dev
7 years agoProtege
Does Oculus Quest support android.media.midi and other BLE communication protocols?
I've developed Unity builds for Android and wanted to try some of the plugins I've created for different device communication protocols with the Oculus Quest. One of which is the with BLE MIDI using the Android midi API [android.media.midi] (https://developer.android.com/reference/android/media/midi/package-summary).
However, I tried a BLE MIDI plugin, and the first thing I noticed running the Unity app was that the midi feature is not supported on the Oculus:
Other Bluetooth communication methods I've tried:
I can connect BT and BLE devices to the Oculus, so I can see the device, but without the MIDI feature, the most likely other option would be to connect to the device over GATT and communicate through a custom GATT service (possibly HID).
1. Bluetooth Classic Serial Communication (THIS WORKS):
I have a plugin that works with Bluetooth serial with the Oculus.
2. BLE MIDI (DOESN'T WORK):
Android midi feature missing on Oculus system
3. BLE HID (HAVE NOT TESTED IF THIS WORKS OR NOT):
BLE HID on most Android standalone apps don't work (unless that the app is installed on the system level or so I've heard), because of a permission issue using the HID service, so I didn't think HID over GATT would be an option with Oculus either, but I'm still curious if BLE HID service is supported with Oculus' custom Android system.
Question 1:
Is android.media.midi supported on Oculus? (Any background explanation information on this topic appreciated)
Question 2:
Does Oculus support BLE HID over GATT? (Most Android devices don't support this, but still wondering if Oculus supports the BLE HID service)
Question 3:
Since I have Bluetooth serial communication working via an Android plugin, is this the standard for using Bluetooth device with the Oculus?
Question 4:
Does Oculus provide any Android API libraries (jar) that focus on BLE device communication.
However, I tried a BLE MIDI plugin, and the first thing I noticed running the Unity app was that the midi feature is not supported on the Oculus:
if (!context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_MIDI)) {
// no midi support
}Other Bluetooth communication methods I've tried:
I can connect BT and BLE devices to the Oculus, so I can see the device, but without the MIDI feature, the most likely other option would be to connect to the device over GATT and communicate through a custom GATT service (possibly HID).
1. Bluetooth Classic Serial Communication (THIS WORKS):
I have a plugin that works with Bluetooth serial with the Oculus.
2. BLE MIDI (DOESN'T WORK):
Android midi feature missing on Oculus system
3. BLE HID (HAVE NOT TESTED IF THIS WORKS OR NOT):
BLE HID on most Android standalone apps don't work (unless that the app is installed on the system level or so I've heard), because of a permission issue using the HID service, so I didn't think HID over GATT would be an option with Oculus either, but I'm still curious if BLE HID service is supported with Oculus' custom Android system.
Question 1:
Is android.media.midi supported on Oculus? (Any background explanation information on this topic appreciated)
Question 2:
Does Oculus support BLE HID over GATT? (Most Android devices don't support this, but still wondering if Oculus supports the BLE HID service)
Question 3:
Since I have Bluetooth serial communication working via an Android plugin, is this the standard for using Bluetooth device with the Oculus?
Question 4:
Does Oculus provide any Android API libraries (jar) that focus on BLE device communication.
1 Reply
Replies have been turned off for this discussion
- MusztiProtege
UP
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
- 6 months ago
- 2 months ago
- 3 years ago
- 5 months ago