This topic lists common questions about device connection in Link IoT Edge and provides answers to them.

What can I do if the gateway appears offline in the IoT Platform console after I start the gateway device for the first time?

Run the following command on the gateway device to check whether the device can connect to the Alibaba Cloud Message Queuing Telemetry Transport (MQTT) server:

ping iot-as-mqtt.your_Region_ID.aliyuncs.com

  • If the ping from the device to the Alibaba Cloud MQTT server fails, check the firewall configuration of your intranet. If a firewall is enabled on your intranet, the firewall may block the device from connecting to the Alibaba Cloud MQTT server. In this case, switch to a network where no firewall is configured.
  • If the ping from the device to the Alibaba Cloud MQTT server succeeds, make sure that the ProductKey, DeviceName, and DeviceSecret parameters are correctly set for the device and the Singapore region is selected for the device in the IoT Platform console.

What can I do if I fail to set the property value of a sub-device though the sub-device properly connects to the gateway and reports property data?

Make sure that the property value to be set for the sub-device is the same as the corresponding value in the IoT Platform console. In addition, make sure that the value is in the format specified in the Thing Specification Language (TSL) model that is defined for the sub-device in IoT Platform.

What can I do if a sub-device properly connects to the gateway but its service fails to be called?

Make sure that the property value used to call the service is the same as the corresponding value in the IoT Platform console. In addition, make sure that the value is in the format specified in the TSL model that is defined for the sub-device in IoT Platform.