Git Product home page Git Product logo

azurespheredevx's People

Contributors

bawilless avatar bwilless avatar github-actions[bot] avatar gloveboxes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

azurespheredevx's Issues

support for write(publish)/read pattern

to support intercore patterns that are hl write then wait for response you needed prthread wait for intercore callback to be received. Now you can set the intercore handler to NULL, write(publish) to the RT and then sit on a read (with timeout) for the response. Simplifies for RT cache and SD Cards scenarios.

Fix tested submitted and merged as want for Altair project today.

@bawilless

Mocking files including EventLoop and similar structs

Hello @gloveboxes,

Thanks again for looking into that dx_utilities issue I posted last week.

I continue to make unit tests for my Azure Sphere project. And, of course, complications continue to rise. I am currently mocking some files (eventloop.c and eventloop_timer_utilities.c) that use the EventLoop, EventLoopTimer, and EventRegistration structs. However, my mocking tool (and myself) cannot seem to find the definitions for those structs. I can stub in some definitions for them to continue my work. But, if anyone re-creates my mocked files (auto generated by Ceedling), my hand-made stubs will disappear and break my test suite.

Am I missing something here? Are these definitions somewhere that I'm just not seeing? Or, are they hidden from me (intentionally or otherwise)?

Regards,
Craig

Edit: I am away from my work computer, but I recall finding one of those definitions in a C file (don't recall which one). But that still makes mocking difficult.

Remove Submodule references from the DevX repo

I don't think that this repo is using any submodules anymore, but the repo still has references to submodules. These should be removed and the readme.md file updated to remove the --recurse-submodules reference.

Improve IoTHub connection errors

When devices don't connect to the IoTHub the error messages don't usually help the developer understand the root cause of the issue. It would be great to simulate different failure modes, and make sure that the error messages are meaningful.

For example, if my device has a wifi connection, but the connection is not to the internet devX reports ERROR: Current Application not Device Auth Ready A beter error message would be ERROR: No internet connection, check your network connection"

Device Twin update should be an async call

@bawilless A device twin update had a IoTHubDeviceClient_LL_DoWork at the end that was turning what should be an async call into an sync call. Have removed the call to dowork so a twin update wont force a a sync dowork operation. I believe this is inline with how a twin should operate. The twin update will be picked up by the main IoTHubDeviceClient_LL_DoWork on the 100ms timer in the azure_iot client

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.