1 /* 2 * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED. 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 16 #ifndef __AT_WIFI_H__ 17 #define __AT_WIFI_H__ 18 19 #include "hi_types.h" 20 #include "hi_wifi_api.h" 21 22 #ifdef __cplusplus 23 #if __cplusplus 24 extern "C" { 25 #endif 26 #endif 27 #define RECONN_PERIOD_MAX 65535 28 #define RECONN_PERIOD_MIN 1 29 #define RECONN_COUNT_MAX 65535 30 #define RECONN_COUNT_MIN 1 31 #define RECONN_TIMEOUT_MIN 2 32 #define HI_WIFI_AP_KEY_LEN_MAX 64 33 #define HI_WIFI_AP_KEY_LEN_MIN 8 34 #define HI_WIFI_MS_KEY_LEN_MAX 63 35 #define HI_WIFI_MS_KEY_LEN_MIN 8 36 37 void hi_at_sta_cmd_register(void); 38 hi_void hi_at_sta_factory_test_cmd_register(hi_void); 39 void hi_at_softap_cmd_register(void); 40 void hi_at_mesh_cmd_register(void); 41 42 #ifdef __cplusplus 43 #if __cplusplus 44 } 45 #endif 46 #endif 47 48 #endif /* end of app_sta.h */ 49