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

How to get device MAC and IP address information in App SDK?

Last Updated on2025-02-27 08:35:31
Get the MAC,IP Address Universal API: TuyaHomeSDK.getRequestInstance () Method: requestWithApiName (Stringapiname, Stringversion, MappostData, finalIRequestCallbackcallback) Entry: apiName: tuya.m.device.get Version: 1.0 postData: (“devId”, devId) Callback: voidSuccess (Object response); void onFailure (String errorCode, String errorMsg) The returned result contains parameters such as IP and MAC address.

Click for services and help

Help Center