TuyaOS
结构体 | 类型定义 | 函数
tuya_wifi_link.h 文件参考

tuya wifi link interface:open/close,start/stop config,reset,etc. 更多...

#include "tuya_cloud_wifi_defs.h"
tuya_wifi_link.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

结构体

struct  tuya_wifi_cfg_param
 tuya wifi netcfg params, mthd and start mode 更多...
 

类型定义

typedef struct tuya_wifi_cfg_paramP_TUYA_WIFI_CFG_PARAM
 
typedef struct tuya_wifi_cfg_param TUYA_WIFI_CFG_PARAM
 tuya wifi netcfg params, mthd and start mode
 

函数

OPERATE_RET do_wifi_activate (VOID *token, UINT_T t_len)
 do wifi activate. 更多...
 
P_TUYA_WIFI_CFG_PARAM get_wifi_config_params ()
 get wifi netcfg params. 更多...
 
OPERATE_RET set_wifi_config_params (TUYA_WIFI_CFG_PARAM cfg_param)
 set wifi config para. 更多...
 
OPERATE_RET tuya_svc_wifi_init (TUYA_WIFI_CFG_PARAM cfg_param)
 do wifi link init. 更多...
 
OPERATE_RET tuya_wifi_send_link_event (BOOL_T isLinkUp)
 send wifi link up or down event to network manager layer 更多...
 
OPERATE_RET wifi_netcfg_start_ap_mode (VOID_T)
 start ap mode 更多...
 

详细描述

tuya wifi link interface:open/close,start/stop config,reset,etc.

版本
0.1
日期
2021-03-15

函数说明

◆ do_wifi_activate()

OPERATE_RET do_wifi_activate ( VOID *  token,
UINT_T  t_len 
)

do wifi activate.

参数
[in]tokentoken of netcfg.
[in]t_lenlength of token
注解
refer to P_TUYA_WIFI_CFG_PARAM.
返回
P_TUYA_WIFI_CFG_PARAM on success. NULL on error

◆ get_wifi_config_params()

P_TUYA_WIFI_CFG_PARAM get_wifi_config_params ( )

get wifi netcfg params.

注解
refer to P_TUYA_WIFI_CFG_PARAM.
返回
P_TUYA_WIFI_CFG_PARAM on success. NULL on error

◆ set_wifi_config_params()

OPERATE_RET set_wifi_config_params ( TUYA_WIFI_CFG_PARAM  cfg_param)

set wifi config para.

注解
返回
OPRT_OK on success. Others on error, please refer to tuya_error_code.h

◆ tuya_svc_wifi_init()

OPERATE_RET tuya_svc_wifi_init ( TUYA_WIFI_CFG_PARAM  cfg_param)

do wifi link init.

注解
before using wifi, do wifi link init first.
返回
OPRT_OK on success. Others on error, please refer to tuya_error_code.h

◆ tuya_wifi_send_link_event()

OPERATE_RET tuya_wifi_send_link_event ( BOOL_T  isLinkUp)

send wifi link up or down event to network manager layer

参数
[in]isLinkUpwifi link is up or down
注解
返回
OPRT_OK on success. Others on error, please refer to tuya_error_code.h

◆ wifi_netcfg_start_ap_mode()

OPERATE_RET wifi_netcfg_start_ap_mode ( VOID_T  )

start ap mode

返回
OPRT_OK on success. Others on error, please refer to tuya_error_code.h