Help Center/ IoT/ API Reference/ AgentLite API Reference (C)/ Common Data Structures/ Enumerated Values of the EN_IOTA_LGN_REASON_TYPE Parameter
Updated on 2022-02-24 GMT+08:00

Enumerated Values of the EN_IOTA_LGN_REASON_TYPE Parameter

Enumerated Item

Value

Type

Description

EN_IOTA_LGN_REASON_NULL

0

NA

Indicates that the reason is not specified.

EN_IOTA_LGN_REASON_CONNCET_ERR

1

NA

Specifies a connection failure.

EN_IOTA_LGN_REASON_SERVER_BUSY

2

NA

Indicates that the server is busy.

EN_IOTA_LGN_REASON_AUTH_FAILED

3

NA

Specifies an authentication failure. Developers must stop trying to reconnect the device to the IoT platform.

EN_IOTA_LGN_REASON_NET_UNAVAILABLE

5

NA

Indicates that the network is unavailable.

EN_IOTA_LGN_REASON_DEVICE_NOEXIST

12

NA

Indicates that the device does not exist. Developers must stop trying to reconnect the device to the IoT platform.

EN_IOTA_LGN_REASON_DEVICE_RMVED

13

NA

Indicates that the device does not exist. Developers must stop trying to reconnect the device to the IoT platform.

EN_IOTA_LGN_REASON_UNKNOWN

255

NA

Specifies an unknown reason.