10#ifndef __TUYA_SVC_WIRED_H__
11#define __TUYA_SVC_WIRED_H__
19typedef BYTE_T GW_BASE_NW_STAT_T;
20#define GB_STAT_LAN_UNCONN 0
21#define GB_STAT_LAN_CONN 1
22#define GB_STAT_CLOUD_CONN 2
Definition of product info(wired)
Definition: tuya_svc_wired.h:27
Common process - compatible the tuya_hal_wifi.h
OPERATE_RET tuya_svc_wired_register_netstat_cb(GET_NW_STAT_CB cb)
Register wired network state callback
VOID(* GET_NW_STAT_CB)(IN CONST GW_BASE_NW_STAT_T stat)
Handler when network state error happens(wired)
Definition: tuya_svc_wired.h:37
OPERATE_RET tuya_svc_wired_init(VOID)
Init wired network, and register a linkage to network manager