1 /*
2  * Copyright (C) 2015-2018 Alibaba Group Holding Limited
3  */
4 
5 #ifndef __AWSS_MAIN_H__
6 #define __AWSS_MAIN_H__
7 
8 #include "awss_log.h"
9 
10 #if defined(__cplusplus) /* If this is a C++ compiler, use C linkage */
11 extern "C" {
12 #endif
13 
14 #define DEFAULT_SSID   zc_default_ssid
15 #define DEFAULT_PASSWD zc_default_passwd
16 
17 extern const char *zc_default_ssid;
18 extern const char *zc_default_passwd;
19 
20 int __awss_start(void);
21 int __awss_stop(void);
22 
23 void awss_update_config_press();
24 uint32_t awss_get_press_timeout_ms();
25 void awss_set_channel_scan_interval_ms(uint32_t timeout);
26 uint32_t awss_get_channel_scan_interval_ms();
27 void awss_set_press_timeout_ms(unsigned int timeout_ms);
28 
29 #if defined(__cplusplus) /* If this is a C++ compiler, use C linkage */
30 }
31 #endif
32 
33 #endif
34