Device Twining in Azure Iot Hub

Chandrasekar, Madhura 51 Reputation points
2022-11-14T13:42:46.627+00:00

Hello,
Does Device Twining in Azure Iot Hub work only with MQTT protocol and not with HTTPS? We are trying to receive Device Twin from Device side using IoTHubDeviceClient_LL_GetTwinAsync() API but it returns "IOTHUB_CLIENT_ERROR". Can someone please help to resolve this issue.

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,156 questions
0 comments No comments
{count} votes

Accepted answer
  1. chbeier 1,866 Reputation points
    2022-11-14T14:07:41.527+00:00

    Hello @Chandrasekar, Madhura ,

    Unfortunately, HTTPS is not supported by the device endpoint to retrieve and update device twin properties. A list of all built-in IoT Hub Endpoints and their supported protocols can be found here A comparison of the different communication options is also available at iot-hub-devguide-d2c-guidance

    ----------

    Please use accept answer if your issue was solved.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful