1 /* 2 // Copyright (C) 2022 Beken Corporation 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 #ifndef _IEEE802_11_DEMO_H_ 16 #define _IEEE802_11_DEMO_H_ 17 18 #include "wlan_defs_pub.h" 19 20 #define WLAN_DEFAULT_IP "192.168.0.1" 21 #define WLAN_DEFAULT_GW "192.168.0.1" 22 #define WLAN_DEFAULT_MASK "255.255.255.0" 23 24 void demo_scan_app_init(void); 25 void demo_scan_adv_app_init(uint8_t *oob_ssid); 26 void demo_softap_app_init(char *ap_ssid, char *ap_key, char *ap_channel); 27 void demo_sta_app_init(char *oob_ssid,char *connect_key); 28 void demo_sta_adv_app_init(char *oob_ssid,char *connect_key); 29 void demo_wlan_app_init(VIF_ADDCFG_PTR cfg); 30 int demo_state_app_init(void); 31 void demo_ip_app_init(void); 32 void demo_wifi_iplog_init(char *iplogmode); 33 void demo_wifi_ipdbg_init(char *ipdbgmodule, char *ipdbgpara,char *ipdbg_para_value); 34 35 #endif 36 37