Coder Social home page Coder Social logo

Comments (5)

timtay-microsoft avatar timtay-microsoft commented on July 22, 2024

Do you see this same behavior when using AMQP as well?

from azure-iot-sdk-csharp.

uriel-kluk avatar uriel-kluk commented on July 22, 2024

from azure-iot-sdk-csharp.

uriel-kluk avatar uriel-kluk commented on July 22, 2024

@timtay-microsoft , the documentation now says that you have to explicitly pull the device twin document.
We have devices in the field that used to get the callback triggered and now these don't.

This is the comment in the code that we previously deployed:
// After a reconnection to the IoT Hub,
// It's not strictly necessary to explicitly retrieve the device twin
// because the IoT Hub will automatically push any desired property 'updates'
// that occurred while the device was disconnected.

Could you help me track down if there indeed is a change on IoT Hub?

  1. Device app connects to an IoT hub.
  2. Device app subscribes for desired properties update notifications.
  3. Device app retrieves the full document for desired properties.

https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-device-twins#device-reconnection-flow

from azure-iot-sdk-csharp.

timtay-microsoft avatar timtay-microsoft commented on July 22, 2024

I believe the SDK team has always recommended that you do a getTwin call upon reconnection to "catch up" on any twin changes that happened while a device was disconnected.

However, if you are seeing a change in behavior from the IoT hub side, then I'd recommend opening a support ticket through the Azure Portal for your IoT hub in particular. The service team has been slowly making a major upgrade to Hubs and it is possible that your Hub was upgraded and came with this is regression. The support ticket should connect you to a service-side engineer who can look at your hub in particular to see if this is the case.

from azure-iot-sdk-csharp.

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.