To facilitate the connection of your devices and ensure the security of connection, IoT Hub provides a complete device connection service. To connect a device to IoT Hub, you need to complete device registration/creation first. The process of connection to IoT Hub be completed only after the device registration/creation succeeds.
IoT Hub provides SDKs for C, Android, and Java for device connection. They are integrated with the features included in the device connection service, so you only need to set the device information (for key-authenticated devices: ProductID
, DeviceName
, and device key; for certificate-authenticated devices: ProductID
, DeviceName
, certificate file, key file, and CA Certificate) in them and integrate their corresponding features into your devices to complete device connection. In addition to the connection service features, the SDKs also include functional APIs for device shadow, OTA, and RRPC. For more information on the APIs, please see:
Note:IoT Hub supports custom connection. You can connect devices to it in a custom way simply by following the protocols and authentication processes it provides.
Was this page helpful?