Giter VIP home page Giter VIP logo

Comments (6)

josephmsft avatar josephmsft commented on July 29, 2024

If I'm understanding your question correctly, you're asking what the DU service behavior is if a device changes its modelId?

Group membership is based on tag, so as long as changing the ADUGroup tag doesn't change its value even if the modelId changes the device would remain in the same group.

Deployments are based on group, compatibility properties, and DeviceUpdate PnP interfaceId. If you switch to a new modelId (which references the PnP interfaceId), as long as none of those change, you would continue to receive the same deployments. If your new modelId references a different supported interfaceId (for example your old modelId could reference one of the preview DeviceUpdate interfaceIds, and then the new modelId could reference the general availability release interfaceId) then it's possible you would stop receiving the previous deployment and receive a new deployment (or no deployment if there is no existing deployment compatible with that new interfaceId).

Hopefully that answers your question.

from iot-hub-device-update.

sourabhkrishna avatar sourabhkrishna commented on July 29, 2024

@josephmsft the new modelId we used was in our private repository and didn't reference any DU pnp interfaces.

from iot-hub-device-update.

josephmsft avatar josephmsft commented on July 29, 2024

Ok so you're saying that your custom modelId that doesn't implement any DU PnP interfaces (presumably it includes only your own interfaces) is still being imported as a DU device? That's not expected, I will follow up.

from iot-hub-device-update.

sourabhkrishna avatar sourabhkrishna commented on July 29, 2024

Yes and the device is imported as a DU compatible device only when it uses a DU compatible model but subsequently uses a custom model. So want to understand what is the expected behaviour here, should the imported device be removed from DU or will it continue be part of DU despite using a custom model?

from iot-hub-device-update.

josephmsft avatar josephmsft commented on July 29, 2024

After following up, the fix for this issue should have been deployed around middle of November. Is the issue still reproducible?

from iot-hub-device-update.

eshashah-msft avatar eshashah-msft commented on July 29, 2024

@sourabhkrishna , closing this as the fix is deployed. Please reopen or create a new issue if you are seeing the bug again.

from iot-hub-device-update.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.