mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 16:24:28 +08:00
a38796b18d
This allows co-existense of meshd and bluetoothd. meshd will automatically take control of the first available LE-capable controller that is powered down.
33 lines
1.0 KiB
C
33 lines
1.0 KiB
C
/*
|
|
*
|
|
* BlueZ - Bluetooth protocol stack for Linux
|
|
*
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
*
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
*
|
|
*/
|
|
|
|
struct bt_mesh;
|
|
struct mesh_net;
|
|
|
|
struct bt_mesh *mesh_new(uint16_t index, const char *in_config_name);
|
|
struct bt_mesh *mesh_ref(struct bt_mesh *mesh);
|
|
void mesh_unref(struct bt_mesh *mesh);
|
|
bool mesh_set_output(struct bt_mesh *mesh, const char *out_config_name);
|
|
void mesh_cleanup(void);
|
|
const char *mesh_status_str(uint8_t err);
|
|
|
|
/* Command line testing */
|
|
struct mesh_net *mesh_get_net(struct bt_mesh *mesh);
|