How to access IoTHubClient_Auth_Get_SasToken #2647
Unanswered
AndreRicardo-Zoetis
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We currently call
IoTHubDeviceClient_LL_AzureStorageInitializeBlobUpload
and pass the SAS token to an external process. We are going to upload larger files and do not want to do it in the C/ADU code, thus the external process.The issue is that we also need to call
IoTHubDeviceClient_LL_AzureStorageNotifyBlobUploadCompletion
or thefiles/notifications
endpoint or we get error 403006 "Number of active file upload requests exceeded limit"We were planning to notify IoT by calling in the external process the equivalent of POST to
https://our_iot_hub.azure-devices.net/devices/my-device/files/notifications
In order to get this signature we would like to call the equivalent from the Azure IoT C SDK
IoTHubClient_Auth_Get_SasToken
azure-iot-sdk-c/iothub_client/src/iothub_client_ll_uploadtoblob.c
Lines 348 to 349 in b8af2f4
Any way we can do this?
Beta Was this translation helpful? Give feedback.
All reactions