I'm running Windows IoT on a Raspberry Pi.
After I turn on my Raspberry Pi and Windows IoT starts up, I want to automatically begin reading sensor data from a serial port continuously, and also send the data to a SignalR server/hub continuously. I don't need any UI.
I'm new at UWP apps. I want to use a SignalR client to send the data near real-time.
Is it possible to use SignalR on Windows IoT? And if yes, how would I do that?
Is there any best practice to read send sensor data and send them to a SignalR Hub in near real time? How can I read and send data continuously?
I just want to run these steps:
- Start Raspberry Pi
- Start automatically app
- Start automatically infinite loop
- read sensor data
- send sensor data to a SignalR Hub
I don't know if there is any better way instead of using an infinite loop to read an send data continously.