- Home /
How to receive data on android device from bluetooth module with Unity3d
I use HC-06 bluetooth module on arduino uno and the data which transfers the bluetooth module is the same as the text written on arduino serial monitor, so the problem is I can't receive data on android using unity3d , i'd be greatful if anybody can post how i can do this.
I don't think Unity has built-in support for that, but you might be able to find a plugin for it. Some people have managed to use sockets to communicate with peripheral devices. Others have used Unity Pro to build their applications with native code plugins that can take advantage of various platform features.
Don't forget that your scripts can take advantage of anything that's available to your .NET runtime environment. A code library doesn't have to be "part of Unity" to be useful.
Answer by TechDevTom · Nov 05, 2014 at 04:27 PM
Check this out, I just found it myself, it could be useful for you ;) Seems to be for the kind of Bluetooth module that you are using. I'm trying to find a plguin that will work with something called an RFduino, I'm hoping that this plugin will do the trick!
I never managed to test it in the end, got too tied up with Augmented Reality work, but I have used this one and it works: https://www.assetstore.unity3d.com/en/#!/content/26661
I haven't managed to write any of my own code for it yet though, but the demo scene runs fine on my Android phone. Check it out, it's only $10 too :)
Hope that helps!
I take it the device has to be Low Energy bluetooth?
Answer by fabijes · Mar 22, 2017 at 07:19 AM
please can you help me i bought i library of bluetooth but i dont know how can i use it? because i need to make the communciation with bluetooth hc05 in unity using that librery ?
Your answer
Follow this Question
Related Questions
Help with bluetooth conection 0 Answers
How do I to send a varible via bluetooth android 0 Answers
Arduino bluetooth to android 2 Answers
App unity-android-bluetooth-arduino 0 Answers
How to use BLE pluging 1 Answer