Code Monkey home page Code Monkey logo

Comments (4)

tameraw avatar tameraw commented on July 20, 2024

@v-tbert - Please specify the issue you faced with the Microsoft.Azure.Devices package and which nuget version it was. Thanks.

from azure-iot-sdk-csharp.

v-tbert avatar v-tbert commented on July 20, 2024

This week I was doing a basic test using nuget packages of Microsoft.Azure.Devices and Microsoft.Azure.Devices.Client that opened a connection, sent a message, checked whether Iothub detected the connection, and closed the connection. I tried this 1.1.4, 1.1.5, and 1.2.0. All stated versions have bugs that prevent this basic scenario from working without tweaking various things, and IMO they should reflect that by being marked as prerelease until proven otherwise, not the other way around.

Edit:
My nuget version is 3.5.0.1484

from azure-iot-sdk-csharp.

v-tbert avatar v-tbert commented on July 20, 2024

This is the simple test code that led me to finding 6 problems with the packages mentioned above, which lead me to believe these should be marked prerelease:

https://github.com/Azure/azure-iot-sdk-csharp/issues/24

from azure-iot-sdk-csharp.

olivierbloch avatar olivierbloch commented on July 20, 2024

Hi @v-tbert v-tbert
I have explained the difference in behavior between the UWP lib and the .Net one in the other issue #24
We need to be clearer in the documentation here that the connectedState value is NOT to be used to determine if a device is actually connected or not. It's value differs depending on the protocol used to connect the device and it's meaning is not that the device is connected or not at the moment you query the value, but more "the device has been seen in the last X minutes" (X being the TCP idle time of Azure Load Balancer).
Difference in behavior from one target platform to another needs to be documented and we will do so, but this doesn't mean that the package should be tagged as pre-release.
We will investigate and fix the issues you have identified in other issues.
Thanks for your contribution

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.