• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
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 __DDBIF_H__
16 #define __DDBIF_H__
17 
18 #include "bluetooth.h"
19 #include "me_api.h"
20 
21 #if defined(__cplusplus)
22 extern "C" {
23 #endif
24 
25 void ddbif_list_saved_flash(void);
26 
27 bt_status_t ddbif_close(void);
28 
29 bt_status_t ddbif_add_record(btif_device_record_t *record);
30 
31 bt_status_t ddbif_open(const bt_bdaddr_t *bdAddr);
32 
33 bt_status_t ddbif_find_record(const bt_bdaddr_t *bdAddr, btif_device_record_t *record);
34 
35 bt_status_t ddbif_delete_record(const bt_bdaddr_t *bdAddr);
36 
37 bt_status_t ddbif_enum_device_records(I16 index, btif_device_record_t *record);
38 
39 #if defined(__cplusplus)
40 }
41 #endif
42 
43 #endif /*__DDBIF_H__*/
44 
45