Bluetooth: Mesh: Add Provisioner Over PB-GATT Support
Add support provisioner over pb-gatt. Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
This commit is contained in:
parent
3f3ef659da
commit
2ead5725b1
13 changed files with 183 additions and 29 deletions
|
@ -58,11 +58,13 @@ static void pb_gatt_connected(struct bt_conn *conn, void *user_data)
|
|||
pb_gatt_msg_recv);
|
||||
|
||||
server.target = NULL;
|
||||
|
||||
bt_mesh_pb_gatt_cli_start(conn);
|
||||
}
|
||||
|
||||
static void pb_gatt_link_open(struct bt_conn *conn)
|
||||
{
|
||||
bt_mesh_pb_gatt_start(conn);
|
||||
bt_mesh_pb_gatt_cli_open(conn);
|
||||
}
|
||||
|
||||
static void pb_gatt_disconnected(struct bt_conn *conn)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue