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


  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube