File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Azure_IoT_Central_ESP32_AzureIoTKit Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -499,7 +499,7 @@ typedef struct azure_iot_config_t_struct
499499 * Where:
500500 * <MQTT-clientid> = <device-id> + '\0'
501501 * <MQTT-username> = <iot-hub-fqdn> + '/' + lengthof(<device-id>) + '/' + '?' + <api-version> +
502- * "&dct =" + urlenc(<user-agent>) + "&model-id=" + urlenc(<pnp-model-id>) + '\0'
502+ * "&DeviceClientType =" + urlenc(<user-agent>) + "&model-id=" + urlenc(<pnp-model-id>) + '\0'
503503 * <api-version> = "api-version=<YYYY-MM-DD>"
504504 * <MQTT-password>) = "SharedAccessSignature sr=" + <iot-hub-fqdn> + "%2Fdevices%2F" + <device-id> +
505505 * "&sig=" + urlenc(<sha256-string>) + "&se=" + <expiration-time> + '\0'
Original file line number Diff line number Diff line change @@ -499,7 +499,7 @@ typedef struct azure_iot_config_t_struct
499499 * Where:
500500 * <MQTT-clientid> = <device-id> + '\0'
501501 * <MQTT-username> = <iot-hub-fqdn> + '/' + lengthof(<device-id>) + '/' + '?' + <api-version> +
502- * "&dct =" + urlenc(<user-agent>) + "&model-id=" + urlenc(<pnp-model-id>) + '\0'
502+ * "&DeviceClientType =" + urlenc(<user-agent>) + "&model-id=" + urlenc(<pnp-model-id>) + '\0'
503503 * <api-version> = "api-version=<YYYY-MM-DD>"
504504 * <MQTT-password>) = "SharedAccessSignature sr=" + <iot-hub-fqdn> + "%2Fdevices%2F" + <device-id> +
505505 * "&sig=" + urlenc(<sha256-string>) + "&se=" + <expiration-time> + '\0'
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ static const char* wifi_ssid = IOT_CONFIG_WIFI_SSID;
8585static const char* wifi_password = IOT_CONFIG_WIFI_PASSWORD;
8686
8787// TODO: remove this after updating library with Azure SDK for C version 1.3.0-beta.2 or later.
88- #define AZURE_SDK_CLIENT_USER_AGENT_WORKAROUND "dct =" AZURE_SDK_CLIENT_USER_AGENT
88+ #define AZURE_SDK_CLIENT_USER_AGENT_WORKAROUND "DeviceClientType =" AZURE_SDK_CLIENT_USER_AGENT
8989
9090/* --- Function Declarations --- */
9191static void sync_device_clock_with_ntp_server();
You can’t perform that action at this time.
0 commit comments