{"id":227113,"date":"2019-10-30T08:00:57","date_gmt":"2019-10-30T15:00:57","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=227113"},"modified":"2020-01-02T21:39:38","modified_gmt":"2020-01-03T05:39:38","slug":"azure-iot-tools-october-update-new-experience-of-sending-device-to-cloud-messages-and-more","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/azure-iot-tools-october-update-new-experience-of-sending-device-to-cloud-messages-and-more\/","title":{"rendered":"Azure IoT Tools October Update: new experience of sending device-to-cloud messages and more!"},"content":{"rendered":"<p>Welcome to the October update of Azure IoT Tools!<\/p>\n<p>In this October release, you will see the totally new experience of sending device-to-cloud messages and Azure IoT Device Provisioning Service support in Visual Studio Code.<\/p>\n<p><strong>New experience of sending device-to-cloud messages<\/strong><\/p>\n<p>Z, a software engineer, developed an application about a smart home assistant using Azure IoT service, and he wonders if the application works fine. He wants to send messages indicating time and temperature to IoT Hub from many devices simultaneously each for many iterations. In this case, these messages should be formed in a similar template but the data should be randomly generated for each message. In addition, he wants to send these messages repeatedly, each with a fixed interval, like one second, as is done by true temperature sensors.<\/p>\n<p>This is a very common scenario in IoT development, frustrating a lot of programmers. Here is the good news for Z, and for all of you: You can get rid of all these trivial things with the help of our new feature!<\/p>\n<p>We improved the function in Azure IoT Hub extension (part of the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=vsciot-vscode.azure-iot-tools\">Azure IoT Tools<\/a>\u00a0extension pack now) to help you quickly send D2C messages. You only need to specify the device(s), the number of iteration(s), the delivery interval, and the data template. And then we will randomly generate data in your specified format for you and send it out.<\/p>\n<p>For more details, you can check out this\u00a0<a href=\"https:\/\/devblogs.microsoft.com\/iotdev\/easily-send-random-generated-d2c-messages-to-iot-hub-with-azure-iot-hub-tools\/\">blog post<\/a>\u00a0to see how to use this feature with the step-by-step instructions.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/devblogs.microsoft.com\/iotdev\/wp-content\/uploads\/sites\/24\/2019\/09\/word-image-1.gif\" width=\"1087\" height=\"654\" \/><\/p>\n<p><strong>Support Azure IoT Hub Device Provisioning Service in Visual Studio Code<\/strong><\/p>\n<p>The\u00a0<a href=\"https:\/\/docs.microsoft.com\/azure\/iot-dps\/\">Azure IoT Hub Device Provisioning Service<\/a>\u00a0is a helper service for Azure IoT Hub that enables zero-touch, just-in-time provisioning to the correct Azure IoT hub without requiring human intervention, enabling customers to provision millions of devices in a secure and scalable manner.<\/p>\n<p>We\u2019re pleased to announce that Azure IoT Tools extension for Visual Studio Code now supports the Azure IoT Hub Device Provisioning Service. You can now view your Azure IoT Hub Device Provisioning Services without leaving Visual Studio Code.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-227114\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/10\/11\u6708-1.png\" alt=\"\" width=\"1196\" height=\"691\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/10\/11\u6708-1.png 1196w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/10\/11\u6708-1-300x173.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/10\/11\u6708-1-768x444.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/10\/11\u6708-1-1024x592.png 1024w\" sizes=\"(max-width: 1196px) 100vw, 1196px\" \/><\/p>\n<p><strong>Try it out<\/strong><\/p>\n<p>Please don\u2019t hesitate to give it a try! If you have any feedback, feel free to reach us at\u00a0<a href=\"https:\/\/github.com\/microsoft\/vscode-azure-iot-tools\/issues\">https:\/\/github.com\/microsoft\/vscode-azure-iot-tools\/issues<\/a>.\u00a0We\u00a0will continuously\u00a0improve our\u00a0IoT developer\u00a0experience\u00a0to empower every IoT developers on the\u00a0planet to achieve more!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to the October update of Azure IoT Tools! In this October release, you will see the totally new experience of sending device-to-cloud messages and Azure IoT Device Provisioning Service support in Visual Studio Code. New experience of sending device-to-cloud messages Z, a software engineer, developed an application about a smart home assistant using Azure [&hellip;]<\/p>\n","protected":false},"author":672,"featured_media":227123,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[155],"tags":[242,4075,382,280],"class_list":["post-227113","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio","tag-azure","tag-azure-iot-hub","tag-iot","tag-visual-studio-code"],"acf":[],"blog_post_summary":"<p>Welcome to the October update of Azure IoT Tools! In this October release, you will see the totally new experience of sending device-to-cloud messages and Azure IoT Device Provisioning Service support in Visual Studio Code. New experience of sending device-to-cloud messages Z, a software engineer, developed an application about a smart home assistant using Azure [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/227113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/672"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=227113"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/227113\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/227123"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=227113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=227113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=227113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}