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:
Lingao Meng 2022-02-07 17:25:09 +08:00 committed by Marti Bolivar
commit 2ead5725b1
13 changed files with 183 additions and 29 deletions

View file

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