blob: b08e1b65919892ab4ac6bae3b1fe98eeb2cdadd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/******************************************************************************
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************/
/*******************************************************************************
*
* Filename: btif_sdp.h
*
* Description: Bluetooth SDP search Interface
*
******************************************************************************/
#pragma once
#include <hardware/bt_sdp.h>
const btsdp_interface_t* btif_sdp_get_interface();
bt_status_t btif_sdp_execute_service(bool b_enable);
bt_status_t sdp_server_init();
void sdp_server_cleanup();
int get_sdp_records_size(bluetooth_sdp_record* in_record, int count);
void copy_sdp_records(bluetooth_sdp_record* in_records, bluetooth_sdp_record* out_records,
int count);
bt_status_t create_sdp_record(bluetooth_sdp_record* record, int* record_handle);
bt_status_t remove_sdp_record(int record_handle);
void on_create_record_event(int handle);
void on_remove_record_event(int handle);
|