English
English
简体中文
Register
Log In
English
English
简体中文
Register
Log In
Language
English
English
简体中文
Register
Log In

How to obtain the device ID using IPC SDK?

Last Updated on2024-08-29 01:19:52
Usetuya_ipc_get_device_id(devid,&devid_len);The size of the devid array is recommended to be no less than 30 bytes,The interface is defined as follows:
/**
* \fn OPERATE_RET tuya_ipc_get_device_id
* \brief get device ID
* \
* \return OPRT_OK if get device ID success .other is failed;
*/
OPERATE_RET tuya_ipc_get_device_id(IN OUT CHAR_T *devid, IN OUT INT_T * id_len);

Click for services and help

Help Center