3030#include "access.h"
3131#include "proxy.h"
3232#include "proxy_msg.h"
33+ #include "pb_gatt_srv.h"
3334
3435#define CLIENT_BUF_SIZE 66
3536
@@ -113,7 +114,7 @@ static void gatt_disconnected(struct bt_conn *conn, uint8_t reason)
113114 bt_mesh_pb_gatt_close (conn );
114115
115116 if (bt_mesh_is_provisioned ()) {
116- (void )bt_mesh_proxy_prov_disable ();
117+ (void )bt_mesh_pb_gatt_disable ();
117118
118119 if (IS_ENABLED (CONFIG_BT_MESH_GATT_PROXY )) {
119120 (void )bt_mesh_proxy_gatt_enable ();
@@ -126,7 +127,7 @@ static void gatt_disconnected(struct bt_conn *conn, uint8_t reason)
126127 bt_mesh_adv_update ();
127128}
128129
129- struct net_buf_simple * bt_mesh_proxy_get_buf (void )
130+ struct net_buf_simple * bt_mesh_pb_gatt_get_buf (void )
130131{
131132 struct net_buf_simple * buf = & cli .buf ;
132133
@@ -181,7 +182,7 @@ static struct bt_gatt_attr prov_attrs[] = {
181182
182183static struct bt_gatt_service prov_svc = BT_GATT_SERVICE (prov_attrs );
183184
184- int bt_mesh_proxy_prov_enable (void )
185+ int bt_mesh_pb_gatt_enable (void )
185186{
186187 BT_DBG ("" );
187188
@@ -200,7 +201,7 @@ int bt_mesh_proxy_prov_enable(void)
200201 return 0 ;
201202}
202203
203- int bt_mesh_proxy_prov_disable (void )
204+ int bt_mesh_pb_gatt_disable (void )
204205{
205206 BT_DBG ("" );
206207
@@ -281,7 +282,7 @@ static int gatt_send(struct bt_conn *conn,
281282 return bt_gatt_notify_cb (conn , & params );
282283}
283284
284- int bt_mesh_prov_adv_start (void )
285+ int bt_mesh_pb_gatt_adv_start (void )
285286{
286287 BT_DBG ("" );
287288
0 commit comments