Azure IoT Hub developer guide

Azure IoT Hub is a fully managed service that helps enable reliable and secure bi-directional communications between millions of devices and a solution back end.

Azure IoT Hub provides you with:

  • Secure communications by using per-device security credentials and access control.
  • Multiple device-to-cloud and cloud-to-device hyper-scale communication options.
  • Queryable storage of per-device state information and meta-data.
  • Easy device connectivity with device libraries for the most popular languages and platforms.

This IoT Hub developer guide includes the following articles:

  • Send and receive messages with IoT Hub describes the messaging features (device-to-cloud and cloud-to-device) that IoT Hub exposes. The article also includes information about topics such as message routing, message formats, and the supported communications protocols and the port numbers they use.
  • Device-to-cloud communication guidance helps you choose between device-to-cloud messages, device twin's reported properties, and file upload.
  • Cloud-to-device communication guidance helps you choose between direct methods, device twin's desired properties, and cloud-to-device messages.
  • Upload files from a device describes how you can upload files from a device. The article also includes information about topics such as the notifications the upload process can send.
  • Manage device identities in IoT Hub describes what information each IoT hub's identity registry stores, and how you can access and modify it.
  • Control access to IoT Hub describes the security model used to grant access to IoT Hub functionality for both devices and cloud components. The article includes information about using tokens and X.509 certificates, and details of the permissions you can grant.
  • Use device twins to synchronize state and configurations describes the device twin concept and the functionality it exposes such as synchronizing a device with its device twin. The article includes information about the data stored in a device twin.
  • Invoke a direct method on a device describes the lifecycle of a direct method, information about how to invoke methods on a device from your back-end app and handle the direct method on your device.
  • Schedule jobs on multiple devices describes how you can schedule jobs on multiple devices. The article describes how to submit jobs that perform tasks as executing a direct method, updating a device using a device twin. It also describes how to query the status of a job.
  • Reference - IoT Hub endpoints describes the various endpoints that each IoT hub exposes for runtime and management operations. The article also describes how you can create additional endpoints in your IoT hub, and how to use a field gateway to enable devices connectivity to your IoT Hub endpoints in non-standard scenarios.
  • Reference - IoT Hub query language for device twins and jobs describes that IoT Hub query language that enables you to retrieve information from your hub about your device twins and jobs.
  • Reference - quotas and throttling summarizes the quotas set in the IoT Hub service and the throttling behavior you can expect to see when you exceed a quota.
  • Reference - pricing provides general information on different SKUs and pricing for IoT Hub and details on how the various IoT Hub functionalities are metered as messages by IoT Hub.
  • Reference - Device and service SDKs lists the Azure IoT SDKs you can use to develop both device and service apps that interact with your IoT hub. The article includes links to online API documentation.
  • Reference - IoT Hub MQTT support provides detailed information about how IoT Hub supports the MQTT protocol. The article describes the support for the MQTT protocol built-in to the Azure IoT SDKs and provides information about using the MQTT protocol directly.
  • Glossary a list of common IoT Hub-related terms.