TuyaOS
include
components
tal_compatible
include
wf_basic_intf.h
浏览该文件的文档.
1
11
#ifndef _WF_BASIC_INTF_H
12
#define _WF_BASIC_INTF_H
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
17
#include "tuya_cloud_types.h"
18
#include "tal_sleep.h"
19
#include "tuya_hal_wifi.h"
20
32
#define wf_all_ap_scan tal_wifi_all_ap_scan
33
45
#define wf_assign_ap_scan tal_wifi_assign_ap_scan
46
47
58
#define wf_release_ap tal_wifi_release_ap
59
71
#define wf_set_cur_channel tal_wifi_set_cur_channel
72
84
#define wf_get_cur_channel tal_wifi_get_cur_channel
85
99
#define wf_sniffer_set tal_wifi_sniffer_set
100
113
#define wf_get_ip tal_wifi_get_ip
114
127
#define wf_get_mac tal_wifi_get_mac
128
142
#define wf_set_mac tal_wifi_set_mac
143
154
#define wf_wk_mode_set tal_wifi_set_work_mode
155
166
#define wf_wk_mode_get tal_wifi_get_work_mode
167
178
#define wf_get_connected_ap_info tal_wifi_get_connected_ap_info
189
#define wf_fast_station_connect tal_fast_station_connect
190
203
#define wf_station_connect tal_wifi_station_connect
204
214
#define wf_station_disconnect tal_wifi_station_disconnect
215
226
#define wf_station_get_conn_ap_rssi tal_wifi_station_get_conn_ap_rssi
227
238
#define wf_station_stat_get tal_wifi_station_get_status
239
250
#define wf_ap_start tal_wifi_ap_start
251
260
#define wf_ap_stop tal_wifi_ap_stop
261
271
#define wf_get_ap_mac tal_wifi_get_ap_mac
272
281
#define wf_set_country_code tal_wifi_set_country_code
282
291
OPERATE_RET
wf_get_country_code
(IN CONST CHAR_T *p_country_code);
292
301
#define tuya_wifi_set_lps_dtim tal_wifi_set_lps_dtim
302
311
#define tuya_wifi_lp_disable tal_wifi_lp_disable
312
321
#define tuya_wifi_lp_enable tal_wifi_lp_enable
322
331
#define tuya_cpu_lp_disable tal_cpu_lp_disable
332
341
#define tuya_cpu_lp_enable tal_cpu_lp_enable
342
343
349
#define tuya_cpu_get_lp_mode tal_cpu_get_lp_mode
350
358
#define wf_rf_calibrated tal_wifi_rf_calibrated
359
360
361
#ifdef __cplusplus
362
}
363
#endif
364
#endif
365
wf_get_country_code
OPERATE_RET wf_get_country_code(IN CONST CHAR_T *p_country_code)
get the wifi country code.
制作者
1.9.4