Open torbacz opened 9 months ago
This one is working DeviceBuilder.Create() .AddAzureIotHub() .AddMessageBus() .AddDeepSleepDataProviders(Config.DeepSleepDisableGpioPinNumber)
DeviceBuilder.Create() .AddAzureIotHub() .AddMessageBus() .AddDeepSleepDataProviders(Config.DeepSleepDisableGpioPinNumber)
This one is not DeviceBuilder.Create() .AddAzureIotHub() .AddDeepSleepDataProviders(Config.DeepSleepDisableGpioPinNumber) .AddMessageBus()
DeviceBuilder.Create() .AddAzureIotHub() .AddDeepSleepDataProviders(Config.DeepSleepDisableGpioPinNumber) .AddMessageBus()
That's because DeepSleepDataProviders are called from DeviceStarting. One idea is to create "DeviceStarted" behaviours.
@jazzman55 any ideas?
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.