none
Iot Hub RRS feed

All replies

  • Hello Midhun,

    Here is a php library to send data to Azure IoT Hub:https://github.com/tomconte/azure-iot-hub-php. The library use HTTP protocol to communicate with the Azure IoT Hub.

    If you want to use MQTT, you need to use a php library for MQTT , and then follow this document. This document describes how devices can use supported MQTT behaviors to communicate with IoT Hub.

    Please note that IoT Hub is not a full-featured MQTT broker and does not support all the behaviors specified in the MQTT v3.1.1 standard. 

    Best Regards,

    Michael


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, August 14, 2018 1:44 AM
  • You could implement it based on Azure IoT REST API. And with the help of Azure IoT Toolkit, it is very easy. You could refer to this article: Azure IoT Toolkit supports C#, Go, Java, Node.js, PHP, Python and Ruby to develop Azure IoT application in VS Code
    Friday, August 31, 2018 11:52 AM