The RemoteX project provides remote access to Azure Sphere peripherals from a POSIX C application. The project is similar in nature to the Raspberry Pi Remote GPIO with the pigpio C Interface and Arduino Firmata projects.
Refer to the DesktopDevX and RemoteX wiki video for information on the AzureSphereRemoteX Server and Azure Sphere Client Library.
git clone --recurse-submodules https://github.com/Azure-Sphere-DevX/AzureSphereRemoteX.git
You can only deploy the AzureSphereRemote server from a Windows or Linux computer.
To install the AzureSphereRemote server, follow these steps:
-
Clone the AzureSphereRemoteX.Server repo to your desktop.
git clone --recurse-submodules https://github.com/Azure-Sphere-DevX/AzureSphereRemoteX.Server.git
-
Start Visual Studio Code.
-
Open the AzureSphereRemoteX.Server folder with Visual Studio Code.
-
Open the azsphere_board.txt and select your developer board.
-
Press F1, and select CMake: Select Variant., select Release
-
Press F1, and select CMake: Delete Cache and Reconfigure.
-
Set the app_manifest to match your Azure Sphere developer board. The RemoteX server project includes sample hardware definitions and matching app_manifests. Copy and paste the app_manifest from the Manifests.defaults folder that matches your board into the app_manifest.json file.
-
Press Ctrl+F5 to deploy the RemoteX server to your Azure Sphere.
- The application LED will turn on to indicate the RemoteX server is starting and connecting to your Wi-Fi network.
- The application LED will turn off to indicate the RemoteX server is ready.