x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.?

alt text

Product Version: UE 4.9
Tags:
capture.png (132.1 kB)
capture.png (132.1 kB)
more ▼

asked Jul 29 '16 at 04:32 PM in Using UE4

avatar image

brownoo
1 2 3 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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

more ▼

answered Mar 21 '18 at 11:04 AM

avatar image

nellinick
6 1 1

avatar image taha-hishri Mar 22 '18 at 07:44 AM

Hello @nellinick, I just released a code plugin for that specific reason. Search for "Bluetooth Support" in the marketplace! https://www.unrealengine.com/marketplace/bluetooth-support

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question