bluez/mesh/mesh.h
Inga Stotland a38796b18d mesh: Add start up management command chain
This allows co-existense of meshd and bluetoothd. meshd will
automatically take control of the first available LE-capable
controller that is powered down.
2018-09-06 12:38:17 -07:00

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);