Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

module update extension from IoT Hub via device twin desired properties #620

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

hirosho
Copy link

@hirosho hirosho commented Jun 7, 2018

Reference/Link to the issue solved with this PR (if any)

Description of the problem

There is no feature to update modules from cloud side like Edge SDK version 2.

Description of the solution

Add following step logics.

  1. Receive module configuration notification via device twin desired properties.
  2. Download new module configuration from cloud
  3. Download new module library stored in cloud storage.
  4. Update modules by using existing function.
    This extension is only for C/C++ native module.
    Please see detail way - samples/remote_update/README.md

Notes on Unit Tests

Before submitting the PR, it is recommended to run UTs(especially for bug fixes, feature additions etc. to existing code)

Before running the UTs, make sure you have performed a recursive clone of the repository:

git clone --recursive https://github.com/Azure/iot-edge

Running UTs in Linux

v1/tools/build.sh  --run-unittests

Running UTs in Windows

v1\tools\build.cmd --run-unittests

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant