How to use Bluetooth (HC-06/08) to transfer data between Arduino and UE5 VR Game on Quest 2
Hello, everyone. I need some help with sending data from my Quest 2 to an Arduino board that has a Bluetooth module (HC-06 or HC-08) attached to it. I have managed to use the UE4DUINO plugin to link Arduino with UE5.1.1 on my PC, but when I build and deploy the VR Game to the headset, I have to specify the port for the headset (COM X) first. How can I find out the port of the VR headset? Also, when I tried to run the VR Game with the UE4DUINO blueprint that scanned some of the potential port numbers (from 1 to 12), the VR Game failed to launch. Is it because the UE4DUINO plugin only works for the Windows port? Are there any other plugins, blueprints or Android APIs that I can use in the VR Game to communicate with the Bluetooth modules? Please help me out. Thanks!726Views0likes0CommentsHow do I scan for Bluetooth LE devices?
I have an Unreal app that needs to connect to BLE devices. During development I was using ACCESS_FINE_LOCATION permission but later discovered this is not allowed on the Oculus store. So I modified the app to use the recommended CompanionDeviceManager instead. This is working fine on an Android phone, but on the Quest it does not display the device selection dialog to the user. There are no errors or messages of any kind in the log. If I use a known MAC address, I can connect to the device, so it's just the scanning that's not working. The manifest contains: <uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <uses-feature android:name="android.software.companion_device_setup" /> Am I missing something?2.9KViews0likes2Comments