• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2025 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 /**
17  * @file softbus_ble_gatt_public.h
18  * @brief ble stack adapter
19  *
20  * @since 4.1
21  * @version 1.0
22  */
23 
24 #ifndef SOFTBUS_BLE_GATT_PUBLIC_H
25 #define SOFTBUS_BLE_GATT_PUBLIC_H
26 
27 #ifdef __cplusplus
28 extern "C"{
29 #endif
30 
31 #define GATT_SCAN_MAX_NUM           8
32 
33 #define CHANEL_LP                   0
34 #define CHANEL_STEADY               1
35 #define CHANEL_SHARE                2
36 #define CHANEL_UNSTEADY             3
37 #define CHANEL_UNKNOW               1999
38 
39 // for sle
40 #define CHANEL_SLE_D2D_PAGING       4
41 #define CHANEL_SLE_D2D_TALKIE       5
42 
43 void SoftbusBleAdapterInit(void);
44 void SoftbusBleAdapterDeInit(void);
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif /* SOFTBUS_BLE_GATT_PUBLIC_H */
51