Direct connection with Android/iOS device

Frequent questions asked online, offline, in forums are answered here
Post Reply
WildMaN
Posts: 1
Joined: Mon May 22, 2023 12:02 pm

Direct connection with Android/iOS device

Post by WildMaN »

Hey folks,

I stumbled upon this post on Unity forums https://forum.unity.com/threads/precise ... vr.829899/ and I'm really interested in connecting the beacon/tag directly with the mobile device via the OTG cable in order to get it's precise location right in the Unity app.

What I don't get currently is what kind of cable would I need, smth like this USB-C to UART https://www.waveshare.com/cp2102-usb-ua ... type-c.htm or no? And are there any C# protocol wrappers/libs I can start with?

smoker77
Posts: 388
Joined: Sat Feb 06, 2016 3:03 pm

Re: Direct connection with Android/iOS device

Post by smoker77 »

Hello,

Yes, it seems the board by your link should work for connection of the Android/iOS device with the mobile beacon via UART.
But maybe more simple way will be using USB OTG cable and connecting the Android/iOs device directly to the USB port of the mobile beacon.
Also you can use Bluetooth communication. We have tried HC05 Bluetooth adapters connected to UART of the mobile beacon.

Here is C# code example provided by one of our customers:
https://marvelmind.com/pics/marvelmind_c_sharp.zip
C# sample code written by Andrej Kičina,

You can also find this link on downloads page on our site

Post Reply