Azure / iot-hub-device-update

Device Update for IoT Hub agent
MIT License
53 stars 41 forks source link

What is Device Update for IoT Hub?

Device Update for IoT Hub is a service that enables you to deploy over-the-air updates (OTA) for your IoT devices.

Device Update for IoT Hub is an end-to-end platform that customers can use to publish, distribute, and manage over-the-air updates for everything from tiny sensors to gateway-level devices.

Device Update for IoT Hub also provides controls on how to manage the deployment updates so you are always in control of when and how devices are updated. Device Update for IoT Hub also provides reporting capabilities so you are always up to date on the state of your devices via integration with IoT Hub.

Device Update for IoT Hub features provide a powerful and flexible experience, including:

Reference agent

Build Status
Ubuntu 22.04 AMD64 Ubuntu 22.04 Build Status

Getting started

Quick Start

Build and Install

./scripts/install-deps.sh -a
./scripts/build.sh -c -u --build-packages
cd out
sudo cmake --build . --target install

Incremental Build

cd out
ninja

Run Tests

cd out
ctest

or, alternatively:

ninja test

Run tests under valgrind memcheck

Ensure /usr/bin/valgrind is a valid symlink e.g. sudo ln -s /opt/valgrind.3.19.0/bin/valgrind /usr/bin/valgrind

cd out
ctest -T memcheck

Results will be in out/Testing/Temporary/MemoryChecker.*.log