CShark-Hub / Mako-IoT.Home

🏠 The landing page for MakoIoT project.
Other
0 stars 0 forks source link

Race condition on device starting. #72

Open torbacz opened 9 months ago

torbacz commented 9 months ago

This one is working DeviceBuilder.Create() .AddAzureIotHub() .AddMessageBus() .AddDeepSleepDataProviders(Config.DeepSleepDisableGpioPinNumber)

This one is not DeviceBuilder.Create() .AddAzureIotHub() .AddDeepSleepDataProviders(Config.DeepSleepDisableGpioPinNumber) .AddMessageBus()

That's because DeepSleepDataProviders are called from DeviceStarting. One idea is to create "DeviceStarted" behaviours.

torbacz commented 9 months ago

@jazzman55 any ideas?