Azure IoT Hub Package Update for Windows Service - azure

I have a Windows based software written in C# as a BackgroundWorker class, communicating with Azure IoT Hub (bascially a remote control/management endpoint).
It runs as a Windows service.
I would like to leverage IoT Hub Device Update, for this Windows agent, using th Package Update method - and have it update the service with the released software.
I can see a tutorial for Ubuntu, but nothing for Windows and only mention of porting to other platforms - before i start going down a rabbit hole and implementing a Windows platform layer, looking for any examples/implementations for Windows specifically.

I'm a PM on the Device Update for IoT Hub team. In general, we intend Device Update for IoT Hub to be our first effort at bringing the kind of powerful update management capabilities that Windows already enjoys to the non-Windows (IoT) world. With a decade-plus of Microsoft investment in Windows update management already, our team's initial focus and investment for the DU offering, then, have been on Linux and RTOS variants for IoT specifically. For that reason, we don’t have a specific plan yet for Windows support in Device Update for IoT Hub.
However, the DU offering is flexible by design such that any devices connected to Azure IoT Hub can be updated by Device Update if the open-source DU Agent that we make available is ported to the OS running on those devices, and if the appropriate handler (installer) for the update type is also available on that device. That is something that could possibly unblock you if you were willing to do the porting work. We definitely hear feedback on the desirability of managing updates for both Windows and non-Windows IoT devices connected to Azure IoT Hub using a single stack and experience, and would be interested in hearing more details about your specific scenario.”

Related

Regarding IoT EDGE server setup on desktop

I am pretty new regarding IoT EDGE server setups, I am looking for suggestions or any tutorials that can guide me to set up IoT-EDGE servers on my desktop
Azure IoT Edge extends IoT Hub. Analyze device data locally instead of in the cloud to send less data to the cloud, react to events quickly, and operate offline.
For more information on complete Azure IoT Edge quickstart tutorials, please visit the below mentioned Microsoft's portal.
Azure IoT Edge documentation.
Microsoft's learning paths which gives a step by step learning.
Introduction to Azure IoT Edge.
The below article lists the steps to install the Azure IoT Edge runtime on your Windows x64 (AMD/Intel) system using Windows containers.
Install the Azure IoT Edge runtime on Windows.
The below article lists the steps to install the Azure IoT Edge runtime on an X64, ARM32, or ARM64 Linux device.
Install the Azure IoT Edge runtime on Debian-based Linux systems.
If you are stuck or have any questions on your learning journey please follow below link to get connected with wonderful community groups and forums.
Azure IoT support and help options.

Connectivity via a Field Gateway with IoT Central

I am building an IoT Solution based on non programmable devices. I can just configure a host where they can connect to send data and receive commands.
Now, supposed that I know the messaging protocol of the device, I would like to build a field gateway to apply protocol and identity translation with the IoT Hub behind IoT Central.
Is that doable ? If yes, may you drive me to the solution please ?
AFAIk, this scenario is not implemented yet. Please provide your feedback on the UserVoice.
All the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.
Reference: How to create IoT edge device on IoT central?

Is the Azure notification hub available to use?

We are developing a website and would like to use the Azure portal notification module. Does anyone know what this is built with and if we could implement this on our site rather than building from scratch? We have some some processes that take some time so want users to be able to go off and do other things and come back when it's completed. We host our product on Azure so if this is using an Azure feature then we can use this also.
Azure Notification Hubs provide an easy-to-use and scaled-out push engine that allows you to send notifications to any platform (iOS, Android, Windows, Kindle, Baidu, etc.) from any backend (cloud or on-premises).
Push notifications are delivered through platform-specific infrastructures called Platform Notification Systems (PNSes). They offer barebone push functionalities to deliver a message to a device with a provided handle, and have no common interface. To send a notification to all customers across the Android, iOS, and Windows versions of an app, the developer must work with Apple Push Notification Service(APNS), Firebase Cloud Messaging(FCM), and Windows Notification Service(WNS) separately.
Kindly take a look at the documents to know how it works, scenarios you could leverage Azure Notification Hubs for and how to integrate with your app.
https://learn.microsoft.com/azure/notification-hubs/notification-hubs-push-notification-overview
https://learn.microsoft.com/azure/notification-hubs/notification-hubs-app-service
Do provide more details on your requirement for better assistance.
The question is tagged for Azure Notification Hubs, but the screen shot you showing is for the notification section of the Azure Portal UI. I'm not aware that Microsoft makes the component available for third-party use.
Can you please remove the Notification Hubs tag from this issue as it's not related.

Sample C code for Azure IOT Central device

I'm trying to develop a device suing Azure SDK C. I'm able to send telemetry messages (using the "iothub_ll_telemetry_sample" sample) but I'm NOT able to receive settings (I define a setting, FanSpeed, but when I change the value on IOT Central then I don't receive any callbacks).
There is it a working sample? possibly for Windows.
Thanks
You can find the Azure iot central firmware examples on github. I would suggest you to look at AZ3166 example for azure iot central
For Azure IOT Central I have found the most useful examples to be located on the Azure IOT Central firmware github:
https://github.com/Azure/iot-central-firmware
The repository has been reorganized a bit since the earlier answer from Ozzz. You can find a C code example in the MXChip example.

Possible to remotely update Windows 10 IOT Core App without Azure or Windows Store?

I am in the process of finishing up a Windows 10 IOT Core app to be deployed on Raspberry Pi 3 devices for a single location beta test. The app is consumer facing and reads from a sensor so I am sure there are going to be at least 1 or 2 updates per week as we perfect the app. Everything I am reading says you can only achieve app updates from Windows Device Portal, Windows Store, or Azure.
Windows Device Portal works fine for local management/deployment right now but won't work remotely because the devices will eventually be installed all throughout the country behind different firewalls, etc. We don't want to have to keep up with customer firewall port forwarding.
Windows Store probably won't work because we don't want to have to wait for up to 48 hours for update approvals. Also not sure if Windows 10 IOT fully supports Windows Store yet.
I have not figured out how Azure IOT Hub manages app updates but I would really like to avoid having to use Azure if possible since we prefer to keep everything on our own servers and not pay cloud providers for stuff we can do on our own servers.
Has anyone figure out how to run a background service to download an app update and apply it?
I am just going to have to deal with Azure IOT Hub?
There is another option: Using OMA-DM.
Using OMA-DM: The app is updated using an OMA-DM compliant device
management channel such as Intune or System Center Configuration
Manager (SCCM)
The OMA-DM interface is supported in Windows 10 IoT Core and any
OMA-DM compliant management solution can be used to install and update
applications. Read the documentation for EnterpriseModernAppManagement
CSP for usage instructions.
NOTE: Some information of EnterpriseModernAppManagement CSP relates to prereleased product which may be substantially modified before it's commercially released.
You do need a type of (online/internet) service to connect to your IoT Core devices. Reference:
Microsoft Store: The app is published and updated from the Microsoft Store
Using Component Update Service: The app is published to Windows Update and updated like any other OEM package (driver package) Coming soon
Using Azure IoT Device Management: The app is published to Azure Storage and updated through the Azure DM channel New for Windows 10, version 1709
Using OMA-DM: The app is updated using an OMA-DM compliant device management channel such as Intune or System Center Configuration Manager (SCCM)
With Store, you'll be using the Microsoft Store service; Azure IoT Device Management will be using Azure IoT hub; OMA-DM can use Intune/SCCM or your own infrastructure (OMA-DM Server)

Resources