1#ifndef __WIFI_NETCFG_FRAME_TRANSPORTER_H__
2#define __WIFI_NETCFG_FRAME_TRANSPORTER_H__
4#include "tuya_hal_wifi.h"
24typedef int (*fnProbeRequestTransportCallBack_t)(
void* ptrArgs, BYTE_T channel);
25typedef int (*fnAuthTransportCallBack_t)(
void* ptrArgs, BYTE_T channel);
26typedef int (*fnBeaconTransportCallBack_t)(
void* ptrArgs, BYTE_T channel);
29 fnProbeRequestTransportCallBack_t fnProbeRequestTransport;
30 fnAuthTransportCallBack_t fnAuthTransport;
31 fnBeaconTransportCallBack_t fnBeaconTransport;
47typedef int (*fnStart)(
int netcfg_type);
48typedef bool (*fnIsRun)(
int netcfg_type);
49typedef int (*fnUnregister)(
int netcfg_type);
51typedef int (*fnLock)(
bool lockState);
52typedef int (*fnStartTransporter)(void);
53typedef int (*fnStopTransporter)(void);
54typedef int (*fnGetApInfo)(
AP_IF_S **ppApArray, uint32_t * pApNum);
58 fnRegister registerTransporteeFn;
59 fnStart startTransporteeFn;
60 fnIsRun isRunTransporteeFn;
61 fnUnregister unregisterTransporteeFn;
63 fnLock lockTransporterChannelFn;
64 fnStartTransporter startTransporterFn;
65 fnStopTransporter stopTransporterFn;
66 fnGetApInfo getApInfoFn;
70int wifiNetcfgFrameTransporterChannelInitAndStart(
void);
80void destroyWifiNetcfgFrameTransporter(
void);
83int WifiNetcfgFrameTransporterSessionInit(
void);
85int WifiNetcfgFrameTransporterSessionUninit(
void);
Definition: tkl_wifi.h:24
Definition: wifi_netcfg_frame_transporter.h:28
Definition: wifi_netcfg_frame_transporter.h:57
Common process - Initialization