# Accessing Bluetooth Smart

**URL:** <https://forums.unrealengine.com/t/accessing-bluetooth-smart/309644>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine, architecture, Android, CPP, question\
**Created:** [March 6, 2015, 5:45pm UTC](https://forums.unrealengine.com/t/accessing-bluetooth-smart/309644 "2015-03-06T17:45:19Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![monsdar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monsdar](https://forums.unrealengine.com/u/monsdar)\
**Post date:** [March 6, 2015, 5:45pm UTC](https://forums.unrealengine.com/t/accessing-bluetooth-smart/309644/1 "2015-03-06T17:45:19Z")

</div>

I already asked the question on [Reddit](http://www.reddit.com/r/unrealengine/comments/2y4mnf/mobile_receive_data_from_bluetooth_smart/) and in the [Forums](https://forums.unrealengine.com/showthread.php?61490-Accessing-Bluetooth-Smart), then I learned about the Answer Hub. Sorry for reposting, but I guess this is finally the right place:

I’m looking to create a game for Android. The game should connect to a [Concept 2 rowing ergometer](http://www.concept2.com/service/software/software-development-kit/additional-resources) which provides a [Bluetooth Smart interface](http://www.concept2.com/files/pdf/us/monitors/PM5_BluetoothSmartInterfaceDefinition.pdf).  
I guess that I somehow need to use the [Android API](https://developer.android.com/guide/topics/connectivity/bluetooth-le.html) to get the needed data via Bluetooth Smart and write some code to make the data available in the Unreal Engine. Has someone made something like that?

What are best practices on integrating the same for multiple platforms? IOS and Desktop could also connect via Bluetooth Smart, the API just looks different.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c6fe8c1d1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c6fe8c1d1](https://forums.unrealengine.com/u/anonymous_user_c6fe8c1d1)\
**Post date:** [April 26, 2015, 8:39am UTC](https://forums.unrealengine.com/t/accessing-bluetooth-smart/309644/2 "2015-04-26T08:39:29Z")

</div>

Hi monsdar,

Did you find a solution for this yet?

I’m considering to write an blueprints plugin to interact with Bluetooth Smart & ANT (protocol used by some training equipment) in an easy way, but don’t want to invest time in it if there is already something like it out there…

---

<div class="post-metadata">

**Author:** ![monsdar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monsdar](https://forums.unrealengine.com/u/monsdar)\
**Post date:** [April 26, 2015, 3:48pm UTC](https://forums.unrealengine.com/t/accessing-bluetooth-smart/309644/3 "2015-04-26T15:48:12Z")

</div>

Nope, haven’t invested anymore time on this. Looking forward to your implementation!

---

<div class="post-metadata">

**Author:** ![joeycampbell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeycampbell](https://forums.unrealengine.com/u/joeycampbell)\
**Post date:** [April 28, 2015, 10:39am UTC](https://forums.unrealengine.com/t/accessing-bluetooth-smart/309644/4 "2015-04-28T10:39:46Z")

</div>

Hi - I’d also like to take FitBit bluetooth data in as a realtime game variable. Surprised that there is no sample source code or plugin online…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c6fe8c1d1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c6fe8c1d1](https://forums.unrealengine.com/u/anonymous_user_c6fe8c1d1)\
**Post date:** [April 28, 2015, 11:10am UTC](https://forums.unrealengine.com/t/accessing-bluetooth-smart/309644/5 "2015-04-28T11:10:55Z")

</div>

Hi monsdar, joycampell,  
Thanks for the feedback. Good to know there are some more people that would find this useful. Will probably be able to get going full speed next week… Will also contact you guys with a PM and hear if you would like to help me test it out once I have something going.

---

<div class="post-metadata">

**Author:** ![joeycampbell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeycampbell](https://forums.unrealengine.com/u/joeycampbell)\
**Post date:** [April 28, 2015, 11:13am UTC](https://forums.unrealengine.com/t/accessing-bluetooth-smart/309644/6 "2015-04-28T11:13:08Z")

</div>

Sure - would be happy to test it out…

---

<div class="post-metadata">

**Author:** ![joeycampbell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeycampbell](https://forums.unrealengine.com/u/joeycampbell)\
**Post date:** [April 30, 2015, 9:33am UTC](https://forums.unrealengine.com/t/accessing-bluetooth-smart/309644/7 "2015-04-30T09:33:31Z")

</div>

Hi monsdar & s0ndeb0k - someone recommended using json/REST plugin to bring in data from a peripheral device see link below - do you think this would be harder to implement and would it increase latency ?

> **[Unreal Engine | The most powerful real-time 3D creation platform](https://forums.unrealengine.com/showthread.php?44984-Placing-virtual-models-in-specific-real-world-locations&highlight=fitbit)**
>
> Unreal Engine is the world’s most open and advanced real-time 3D creation platform for photoreal visuals and immersive experiences.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c6fe8c1d1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c6fe8c1d1](https://forums.unrealengine.com/u/anonymous_user_c6fe8c1d1)\
**Post date:** [April 30, 2015, 1:09pm UTC](https://forums.unrealengine.com/t/accessing-bluetooth-smart/309644/8 "2015-04-30T13:09:59Z")

</div>

Hi joeycampbell, I think the writer of that post meant that it would be easier to use json/REST plugin for interfacing with the opentrack library and similar. As far as I know you still need a separate process running to interact with opentrack and provice the REST interface. I want to specifically focus on a mobile solution and add support for Android and iOS devices, so I will probably not go this route.

---

<div class="post-metadata">

**Author:** ![joeycampbell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeycampbell](https://forums.unrealengine.com/u/joeycampbell)\
**Post date:** [April 30, 2015, 2:27pm UTC](https://forums.unrealengine.com/t/accessing-bluetooth-smart/309644/9 "2015-04-30T14:27:37Z")

</div>

ok thanks - wasn’t too sure what he had meant

---

<div class="post-metadata">

**Author:** ![joeycampbell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeycampbell](https://forums.unrealengine.com/u/joeycampbell)\
**Post date:** [May 6, 2015, 10:20pm UTC](https://forums.unrealengine.com/t/accessing-bluetooth-smart/309644/10 "2015-05-06T22:20:21Z")

</div>

This link might be of use:

> **[Using bluetoothapis.h](https://forums.unrealengine.com/questions/168828/using-bluetoothapish.html)**
>
> Hey everybody, i use the bluetoothapis.h in my unreal project to recieve sensor data from my smartphone. I include it this way in my cpp: #include “AllowWindowsPlatformTypes.h” #include “bluetoothapis.h” #include “HideWindowsPlatformTypes.h” ...

---

<div class="post-metadata">

**Author:** ![joeycampbell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeycampbell](https://forums.unrealengine.com/u/joeycampbell)\
**Post date:** [March 11, 2016, 12:18pm UTC](https://forums.unrealengine.com/t/accessing-bluetooth-smart/309644/11 "2016-03-11T12:18:57Z")

</div>

Hi s0ndeb0k - I was looking online if there was any ANT+ plugin and came across this post from almost a year ago. Did you end up coding anything or finding any plugin to enable communication between ANT+ Fitness devices?
