TuyaOS
|
tuya wifi link interface:open/close,start/stop config,reset,etc. 更多...
#include "tuya_cloud_wifi_defs.h"
结构体 | |
struct | tuya_wifi_cfg_param |
tuya wifi netcfg params, mthd and start mode 更多... | |
类型定义 | |
typedef struct tuya_wifi_cfg_param * | P_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.
OPERATE_RET do_wifi_activate | ( | VOID * | token, |
UINT_T | t_len | ||
) |
do wifi activate.
[in] | token | token of netcfg. |
[in] | t_len | length of token |
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 | ) |
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
[in] | isLinkUp | wifi link is up or down |
OPERATE_RET wifi_netcfg_start_ap_mode | ( | VOID_T | ) |
start ap mode