Unity3D cross-platform input wireless

I’m currently building app that using accelerometer from device to do something inside the game. This can be achieve by using cross-platform input in Unity3D. But, this one that I have build still using cable connection from my mobile device into my PC.

How can I achieve scenario that I am using the mobile accelerometer input wirelessly ?

So, the scenario that my PC will receive accelerometer input from my device not by cable connection, but by using wifi or Bluetooth.

Thank You

If you’re using up to Unity 2018.1.9f2 you can use this tutorial: Creating a Game Controller from a Mobile Device with Unity: Part 1 - YouTube

If else then try looking it up somewhere else. Unity says that this is obsolete and you have to send the whole scene to your phone. That’s why I’m using Unity 2018.1.9f2 as my default unity engine.