summaryrefslogtreecommitdiff
path: root/profiles/battery/bas.h
blob: cd503a498673fb1c1b2b24887d62ea9087fff54c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 *
 *  BlueZ - Bluetooth protocol stack for Linux
 *
 *  Copyright (C) 2014  Intel Corporation. All rights reserved.
 *
 *
 */

struct bt_bas;

struct bt_bas *bt_bas_new(void *primary);

struct bt_bas *bt_bas_ref(struct bt_bas *bas);
void bt_bas_unref(struct bt_bas *bas);

bool bt_bas_attach(struct bt_bas *bas, void *gatt);
void bt_bas_detach(struct bt_bas *bas);