Bluetooth: Mesh: Rename bt_mesh_pb_gatt<*> function

Rename bt_mesh_pb_gatt_<*> function, and split from proxy.h

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
This commit is contained in:
Lingao Meng 2021-08-19 09:25:25 +08:00 committed by Christopher Friedt
commit c057a69a2c
10 changed files with 47 additions and 17 deletions

View file

@ -21,6 +21,7 @@
#include "adv.h"
#include "net.h"
#include "proxy.h"
#include "pb_gatt_srv.h"
/* Convert from ms to 0.625ms units */
#define ADV_INT_FAST_MS 20
@ -182,7 +183,7 @@ static void send_pending_adv(struct k_work *work)
BT_DBG("Proxy Advertising");
}
} else if (IS_ENABLED(CONFIG_BT_MESH_PB_GATT)) {
err = bt_mesh_prov_adv_start();
err = bt_mesh_pb_gatt_adv_start();
BT_DBG("PB-GATT Advertising");
}