mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-29 23:15:21 +00:00
We've already got GATT services in subsys/bluetooth/services so subsys/bluetooth/mesh is a more natural place. Aditionally this aims to fix the Kconfig dependencies to be able to use mesh together with BT_CUSTOM (i.e. a custom, potentially non-HCI, host stack). Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
23 lines
565 B
C
23 lines
565 B
C
/* Bluetooth Mesh */
|
|
|
|
/*
|
|
* Copyright (c) 2017 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
void bt_mesh_pb_adv_recv(struct net_buf_simple *buf);
|
|
|
|
bool bt_prov_active(void);
|
|
|
|
int bt_mesh_pb_gatt_open(struct bt_conn *conn);
|
|
int bt_mesh_pb_gatt_close(struct bt_conn *conn);
|
|
int bt_mesh_pb_gatt_recv(struct bt_conn *conn, struct net_buf_simple *buf);
|
|
|
|
const struct bt_mesh_prov *bt_mesh_prov_get(void);
|
|
|
|
int bt_mesh_prov_init(const struct bt_mesh_prov *prov);
|
|
|
|
void bt_mesh_prov_complete(u16_t net_idx, u16_t addr);
|
|
void bt_mesh_prov_reset(void);
|