1 /* 2 * Copyright (c) 2024 Huawei Device Co., Ltd. 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 WIFI_STATE_C_H 16 #define WIFI_STATE_C_H 17 18 #ifdef __cplusplus 19 extern "C" { 20 #endif 21 22 typedef enum { 23 /* state is unknown */ 24 STATE_UNKNOWN = -1, 25 26 /* wifi is closed */ 27 STATE_INACTIVE = 0, 28 29 /* wifi is opened */ 30 STATE_ACTIVATED = 1, 31 32 /* wifi is opening */ 33 STATE_ACTIVATING = 2, 34 35 /* wifi is closing */ 36 STATE_DEACTIVATING = 3, 37 38 /* wifi is entering semi active */ 39 STATE_SEMI_ACTIVATING = 4, 40 41 /* wifi is semi active */ 42 STATE_SEMI_ACTIVE = 5 43 } WifiDetailState; 44 45 #ifdef __cplusplus 46 } 47 #endif 48 49 #endif // WIFI_STATE_C_H 50 /** @} */ 51