• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2023 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 
16 #ifndef LNN_FEATURE_CAPABILITY_STRUCT_H
17 #define LNN_FEATURE_CAPABILITY_STRUCT_H
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 typedef enum {
24     BIT_WIFI_P2P_REUSE = 1,
25     BIT_BR_DUP,
26     BIT_WIFI_DIRECT_TLV_NEGOTIATION,
27     BIT_META_NODE_CAPABILITY,
28     BIT_INFO_COMPRESS,
29     BIT_SUPPOURT_EX_CAPABILITY,
30     BIT_WIFI_DIRECT_NO_DISCONNECT_RESP,
31     BIT_SUPPORT_UNIFORM_NAME_CAPABILITY,
32     BIT_BLE_ONLINE_REUSE_CAPABILITY,
33     BIT_COC_CONNECT_CAPABILITY,
34     BIT_BLE_SUPPORT_LP_HEARTBEAT, // support burst and lowpower
35     BIT_BLE_DIRECT_ONLINE,
36     BIT_BLE_DIRECT_CONNECT_CAPABILITY,
37     BIT_SUPPORT_NEGO_P2P_BY_CHANNEL_CAPABILITY,
38     BIT_WIFI_DIRECT_ENHANCE_CAPABILITY,
39     BIT_SUPPORT_THREE_STATE,
40     BIT_CLOUD_SYNC_DEVICE_INFO,
41     BIT_SUPPORT_SLE_CAPABILITY,
42     BIT_HIGH_ACCURACY_SYNC_TIME_CAPABILITY,
43     BIT_FL_CAPABILITY, // support flash light channel
44     BIT_DETERMINISTIC_TRANS_CAPABILITY,
45     BIT_SUPPORT_SPARK_GROUP_CAPABILITY = 22,
46     BIT_SUPPORT_LP_SPARK_CAPABILITY = 23,
47     BIT_DEVICE_CLOUD_CONVERGENCE_CAPABILITY = 24,
48     BIT_SUPPORT_VIRTUAL_LINK,
49     BIT_FEATURE_COUNT,
50 } FeatureCapability;
51 
52 #ifdef __cplusplus
53 }
54 #endif
55 
56 #endif // LNN_FEATURE_CAPABILITY_STRUCT_H