• One-Stop OEM/ODM Manufacturer
  • From Design to Assemble on Smart Home Products
English
Home » News » Industry Information » How to get device MAC and IP address information in App SDK?

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

Views: 575547     Author: Site Editor     Publish Time: 2024-07-01      Origin: Site

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

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.

Shenzhen Zhangwo Technology Co.,Ltd

Add: Floor 3-5, Building 7, Fuan Industrial Park, Xinghua Road, Pingdi Street, Longgang District, Shenzhen City
    Email:  Simon@inlifecam.com
Copyright  2020-2024 Shenzhen Zhangwo Technology Co.,Ltd. All rights reserved.  Sitemap
Home