esp-azure question

zliudr
Posts: 360
Joined: Thu Oct 03, 2019 5:15 am

esp-azure question

Postby zliudr » 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:

Code: Select all

                while (1) {
                    IoTHubDeviceClient_LL_DoWork(iotHubClientHandle);
                    ThreadAPI_Sleep(10);
                }
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.

zliudr
Posts: 360
Joined: Thu Oct 03, 2019 5:15 am

Re: esp-azure question

Postby zliudr » Mon Nov 25, 2019 7:21 am

Any working example of blob upload will be greatly appreciated!

Who is online

Users browsing this forum: No registered users and 104 guests