The
--recursive
argument instructs git to clone other GitHub repos this SDK depends on.
Dependencies are listed
5. In the same
azure-iot-sdk-c-pnp-SUSI-AllDevice
folder, create a folder to contain the compiled
app.
mkdir
cmake
cd
cmake
6. In the
cmake
folder you just created, run CMake to build the entire folder of Device SDK including
the generated app code.
cmake ..
cmake --build
.
-- /m /p:Configuration
=
Release
7. Once the build has succeeded, you can test it by invoking the following command.
Integration with Azure IoT Explorer
Connect
Enter the
connection string
from Azure CLI and press
Save
. You will see a device
symm-key-
device
az iot hub show-connection-string --name my-sample-hub --key primary --query connectionString -o tsv
Telemetry
Release\\PNP_SUSI.exe
"EIS_D210"
"1"
{dps ID Scope} {dps Registration ID} {dps Primary Key}