# agora_iot_base.h (/zh-CN/api-reference/iot-apaas/device-sdk/call/base) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ## 类型定义 [#类型定义] ### agora_iot_handle_t [#agora_iot_handle_t] ```c typedef void* agora_iot_handle_t; ``` SDK 的句柄。 ### agora_iot_error_e [#agora_iot_error_e] ```c typedef enum { ERR_SUCCESS = 0, ERR_FAILED = -1, ERR_INVALID_ARGUMENT = -2, } agora_iot_error_e; ``` 错误码。 | 错误码 | 描述 | | --- | --- | | `ERR_SUCCESS` | 0:调用成功。 | | `ERR_FAILED` | -1:通用错误。 | | `ERR_INVALID_ARGUMENT` | -2:参数无效。 |