Output From Unreal to Arduino via Bluetooth

Hi, I’ve made a custom Arduino device that changes the state of an LED when it is given either a 0 or a 1, this information is transmitted via Bluetooth. I currently have it working with my phone so I can send the board a 0 to turn the light off or a 1 to turn it on.

My problem is that I need to be able to use Unreal Engine 4 to send the 0s and 1s in-game so for example if my character steps into a volume it will send a 1 via Bluetooth and turn the Arduino LED on wirelessly. So far I have found nothing to help me with this, the only Arduino related topics I’ve found have been using Serial Communication which is what I need, but the Arduino is plugged in and I need it to be via Bluetooth.

Any help will be greatly appreciated, Thanks.

Actually, using the UE4duino plugin I can send the 0 or 1 to my Arduino when it is plugged in directly and then make that send the same value to another Bluetooth connected Arduino.

Hello , I have made a code plugin for Bluetooth LE connectivity.
You can check “Bluetooth Support” on Unreal Marketplace!

Wow thanks man! You’re the best!