Azure IoT Tools Update Brings Standalone Simulator

Microsoft updated its Azure IoT tooling for the open-source, cross-platform Visual Studio Code editor, adding a standalone simulator that doesn't require Python, an Event Grid module, support for Vcpkg for IoT Plug and Play development and more.

Azure IoT Tools for Visual Studio Code, developed on GitHub, provides a set of extensions to help developers discover and interact with Azure IoT Hub ("managed service to enable bi-directional communication between IoT devices and Azure"), which is used to power IoT Edge ("cloud intelligence deployed locally on IoT edge devices") and device applications.

Leading the update is a standalone simulator for Azure IoT Edge developers using the Azure IoT EdgeHub Dev Tool, helping to create, develop, test, run, and debug Azure IoT Edge modules and solutions, which was tightly bound to Python and required running on top of Python environments.

However, "Not every Azure IoT Edge developer, especially those using Windows as development environment, has Python and Pip installed," Microsoft said in a post last week. "Therefore, we have shipped a standalone simulator for Azure IoT EdgeHub Dev Tool so that developers who use Windows as development environment no longer need to setup Python environment. The standalone simulator has already been integrated in the latest release of Azure IoT Tools for Visual Studio Code."

Microsoft also announced support for Vcpkg -- a cross-platform library manager that helps manage C and C++ libraries on Windows, Linux and MacOS -- for IoT Plug and Play development. Previously developers needed to work with source code to work with the Azure IoT C device SDK, but now device code stubs of IoT Plug and Play can be generated with Vcpkg and source code also.

Last week's post also detailed working with the new Event Grid module on Azure IoT Edge, useful for pub/sub and event-driven scenarios, along with the ability to configure an Embedded Linux C project using a containerized device toolchain.

"We release the preview experience of containerized toolchain months ago aiming to simplify the toolchain acquisition efforts for device developers working on C / C++ project for Embedded Linux that requires the cross-compiling toolchain, device SDK and dependent libraries set up properly," Microsoft said. "Instead of doing this on local machine, which could lead to a messed-up environment, we provided a couple of common container images for devices with various architectures (e.g. ARMv7, ARM64 and x86).

"And now you can further use this feature by configuring an existing C / C++ project you have to be able to compile in the container, and then deploy to the target device you use. If you want to further customize the container, we provided with extra device libraries and packages that are required for your device."

More information can be found in:

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus


  • VS Code Java Team Details 5 Best Dev Practices

    Microsoft's Visual Studio Code team for Java development added a new Coding Pack for Java installer and detailed best practices for setting up a development environment.

  • Binary Classification Using PyTorch: Defining a Network

    Dr. James McCaffrey of Microsoft Research tackles how to define a network in the second of a series of four articles that present a complete end-to-end production-quality example of binary classification using a PyTorch neural network, including a full Python code sample and data files.

  • Blazor Debugging Boosted in .NET 5 RC 2

    In highlighting updates to ASP.NET Core in the just-launched second and final Release Candidate of .NET 5, Microsoft pointed out better debugging for Blazor, the red-hot project that allows for C# coding of web projects.

  • Block Stack

    Final Go-Live .NET 5 Release Candidate Ships Ahead of Nov. 10 Debut

    Having been deemed "feature complete" and "near final" and "go live" for some time now, .NET 5 is out in a second and final Release Candidate, scheduled for a Nov. 10 debut during .NET Conf 2020.

  • Edge Browser Dev Tools for VS Code Now Generally Available

    Microsoft has moved its Edge browser development tools for Visual Studio Code from preview to general availability, providing in-editor web site debugging and other functionality.

Upcoming Events