Updated on 2022-02-24 GMT+08:00

Device Logout

API Function

This API is used to disconnect a device from the IoT platform.

API Description

1
HW_INT IOTA_Logout();

Parameter Description

None

Return Value

For details, see 4.2 Function Return Values.

NOTE:

Return values only show API calling results. For example, return value 0 indicates that the API is called.

Example

1
2
//Developers call this API to disconnect the device.
IOTA_Logout();