How can I add the bluetooth device to my application? How to use the smartphone's embedded gyroscope and accelerometer in UE4.?

Hello everybody, few weeks ago, I started playing with UE4, then I decided to use my stm32f4 as a controller (since it has an embedded accelerometer).
As a first step, I used the project “top down” to control the character movement through my motion controller. In fact, I used the UE4unio plugin for the serial commmunication.
After that, I tried the bluetooth communication using “HC05” . First of all, I just added the device to my laptop in turn i checked its COM number and its baudrate and I wrote it in the Open serial as show below , it works well and I’m able to control the character wireless.
Next step, I tried to convert my project to an android application and control it via the stm32f4 and HC05 like I made in step before, as a result I installed succefully my project in my phone and I paired the bluetooth device but while running the application there is no communication with the ‘hc05’ .
I have made many researches to solve this problem but unfortunately nothing found.

-So how can I add the bluetooth device to my application?

-how to use the smartphone’s embedded gyroscope and accelerometer in UE4.?

Hi, have you solved it? In case, could you post some advice how to solve it ? Many thanks.

Hello @nellinick, I just released a code plugin for that specific reason.
Search for “Bluetooth Support” in the marketplace!