|
TuyaOS
|
tuya netcfg module 更多...

结构体 | |
| struct | NETCFG_HANDLER |
| netcfg handler 更多... | |
类型定义 | |
| typedef struct apSsidPasswd_s | ApSsidPasswd_t |
| ssid and password info | |
| typedef int(* | FN_NETCFG_CB) (PTR_SSID_PASSWORD_TOKEN info, int type) |
| netcfg finished callback function. 更多... | |
| typedef int(* | FN_NETCFG_START) (FN_NETCFG_CB cb, void *args, int type) |
| netcfg start function. 更多... | |
| typedef int(* | FN_NETCFG_STOP) (int type) |
| netcfg stop function. 更多... | |
| typedef struct AP_NETCFG_ARGS * | P_AP_NETCFG_ARGS |
| typedef struct NETCFG_HANDLER * | PTR_NETCFG_HANDLER |
| typedef struct SSID_PASSWORD_TOKEN * | PTR_SSID_PASSWORD_TOKEN |
| typedef struct apSsidPasswd_s * | ptrApSsidPasswd |
函数 | |
| BOOL_T | is_netcfg_module_inited (VOID_T) |
| whether netcfg module is inited or not 更多... | |
| int | netcfg_module_init (VOID_T) |
| init netcfg module. 更多... | |
| int | netcfg_module_register (int type, FN_NETCFG_START start, FN_NETCFG_STOP stop) |
| register netcfg type 更多... | |
| int | netcfg_module_uninit (VOID_T) |
| uninit netcfg module. 更多... | |
| int | netcfg_module_unregister (int type) |
| unregister netcfg type 更多... | |
| int | netcfg_set_transporter_switch_interval (int ms_interval) |
| set channel switch interval(default:110ms) 更多... | |
| int | netcfg_start (int type, FN_NETCFG_CB netcfg_finish_cb, void *args) |
| start netcfg type 更多... | |
| int | netcfg_start_other_all (int type) |
| start all netcfg type except the specified type 更多... | |
| int | netcfg_stop (int type) |
| stop netcfg type 更多... | |
| int | netcfg_stop_other_all (int type) |
| stop all netcfg type except the specified type 更多... | |
tuya netcfg module
| typedef int(* FN_NETCFG_CB) (PTR_SSID_PASSWORD_TOKEN info, int type) |
netcfg finished callback function.
| [in] | PTR_SSID_PASSWORD_TOKEN | netcfg info: ssid,passwd,token |
| [in] | type | refer to netcfg type definitions |
| typedef int(* FN_NETCFG_START) (FN_NETCFG_CB cb, void *args, int type) |
netcfg start function.
| [in] | cb | netcfg finished callback function |
| [in] | args | args for start |
| [in] | type | refer to netcfg type definitions |
| typedef int(* FN_NETCFG_STOP) (int type) |
netcfg stop function.
| [in] | type | refer to netcfg type definitions |
| BOOL_T is_netcfg_module_inited | ( | VOID_T | ) |
whether netcfg module is inited or not
| int netcfg_module_init | ( | VOID_T | ) |
init netcfg module.
| int netcfg_module_register | ( | int | type, |
| FN_NETCFG_START | start, | ||
| FN_NETCFG_STOP | stop | ||
| ) |
register netcfg type
| [in] | type | netcfg type,refer to netcfg type definitions |
| [in] | start | callback function to start netcfg |
| [in] | stop | callback function to stop netcfg |
| int netcfg_module_uninit | ( | VOID_T | ) |
uninit netcfg module.
| int netcfg_module_unregister | ( | int | type | ) |
unregister netcfg type
| [in] | type | netcfg type,refer to netcfg type definitions |
| int netcfg_set_transporter_switch_interval | ( | int | ms_interval | ) |
set channel switch interval(default:110ms)
| [in] | ms_interval | unit:ms |
| int netcfg_start | ( | int | type, |
| FN_NETCFG_CB | netcfg_finish_cb, | ||
| void * | args | ||
| ) |
start netcfg type
| [in] | type | netcfg type,refer to netcfg type definitions |
| [in] | netcfg_finish_cb | callback function when netcfg finished |
| [in] | args | private data for netcfg_finish_cb |
| int netcfg_start_other_all | ( | int | type | ) |
start all netcfg type except the specified type
| [in] | type | netcfg type,refer to netcfg type definitions 0 : stop all netcfg type |
| int netcfg_stop | ( | int | type | ) |
stop netcfg type
| [in] | type | netcfg type,refer to netcfg type definitions 0 : stop all netcfg type |
| int netcfg_stop_other_all | ( | int | type | ) |
stop all netcfg type except the specified type
| [in] | type | netcfg type,refer to netcfg type definitions 0 : stop all netcfg type |