Companion app for a pc game

Hi, I am having a great time with ue4 and forums to make my days. But I have a problem.
My aim is to make a racing game for pc that uses my Android phone’s gravity sensor for steering… simple… Wi-Fi networking required

But I don’t know how to create connection and send the gyro value to pc from my phone…

All tutorials that I find are vague workarounds or multiplayer game games that doesn’t address my issue.
so I request direct solutions.

Hope I explained the problem very well…waiting for solutions