esp-azure question
Posted: Mon Nov 25, 2019 4:38 am
There seems to be no sub-forum for esp-azure. I have some questions:
There is an infinite loop in the device twin sample code:
I need to use iotHubClientHandle to upload blob. I wonder if I can use this handle in a separate task without crashing the system. Can different tasks share this handle? The handle is created as a local variable in the sample code.
Thanks.
There is an infinite loop in the device twin sample code:
Code: Select all
while (1) {
IoTHubDeviceClient_LL_DoWork(iotHubClientHandle);
ThreadAPI_Sleep(10);
}
Thanks.