You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ry...@apache.org on 2020/09/15 06:41:41 UTC
[mynewt-nimble] branch master updated (e9a4eed -> f4fe7b9)
This is an automated email from the ASF dual-hosted git repository.
rymek pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git.
from e9a4eed controller: properly seed srand() during init
new e7009b8 mesh/prov.c: change order of checks in prov_msg_recv() First, PDU type should be checked first and then if PDU is valid. Otherwise, we'll never check if PDU type is valid, and always return PROV_ERR_UNEXP_PDU. If PDU type isn't valid, PROV_ERR_NVAL_FMT shall be returned (0x02).
new a98eb44 mesh/friend.c: Ignore Freind Request from local interface Friend Request is also transmitted over local queue and if both Friend and LPN features are enabled then we would try to establish friendship with ourselves.
new b4522c0 mesh/net.c: replace dup_cache size magic value
new b14f163 mesh/net.c: don't drop messages with RFU as their destination Dropping such messages doesn't comply with Mesh Profile Test Specification.
new 390041b apps/bttester: Adjust config values for mesh PTS test cases
new 25dca96 mesh/cfg_srv.c: Fix Vendor Model Subscription Get procedure Invalid argument was passed to bt_mesh_model_tree_walk.
new 2c71864 mesh/beacon.c: Fix key refresh procedure Key refresh procedure was ignored on non-primary subnet.
new 2820845 mesh/prov.c: Fix resending provisioning link ack The comparison of a current tx link transaction id caused us to not send ack and in effect fail provisioning.
new f4fe7b9 Bluetooth: Mesh: Heartbeat period starts at tx Starts the periodic heartbeat publish period at the end of the publication, instead of at the ordering time. This ensures that the heartbeat period doesn't get shortened by other enqueued messages.
The 9 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
apps/bttester/syscfg.yml | 3 +++
nimble/host/mesh/src/beacon.c | 15 ++++++------
nimble/host/mesh/src/cfg_srv.c | 52 +++++++++++++++++++++++++++++-----------
nimble/host/mesh/src/friend.c | 5 ++++
nimble/host/mesh/src/lpn.c | 4 ++--
nimble/host/mesh/src/net.c | 7 +-----
nimble/host/mesh/src/prov.c | 14 +++++------
nimble/host/mesh/src/transport.c | 8 +++----
nimble/host/mesh/src/transport.h | 2 +-
9 files changed, 68 insertions(+), 42 deletions(-)
[mynewt-nimble] 07/09: mesh/beacon.c: Fix key refresh procedure Key
refresh procedure was ignored on non-primary subnet.
Posted by ry...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 2c7186445fa51331f28618dab1ae535134784ce0
Author: Krzysztof Kopyściński <kr...@codecoup.pl>
AuthorDate: Thu Sep 3 11:27:17 2020 +0200
mesh/beacon.c: Fix key refresh procedure
Key refresh procedure was ignored on non-primary subnet.
---
nimble/host/mesh/src/beacon.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/nimble/host/mesh/src/beacon.c b/nimble/host/mesh/src/beacon.c
index cd540aa..4f848c6 100644
--- a/nimble/host/mesh/src/beacon.c
+++ b/nimble/host/mesh/src/beacon.c
@@ -329,6 +329,13 @@ static void secure_beacon_recv(struct os_mbuf *buf)
cache_add(data, sub);
+ kr_change = bt_mesh_kr_update(sub, BT_MESH_KEY_REFRESH(flags), new_key);
+ if (kr_change) {
+ bt_mesh_net_beacon_update(sub);
+ /* Key Refresh without IV Update only impacts one subnet */
+ bt_mesh_net_sec_update(sub);
+ }
+
/* If we have NetKey0 accept initiation only from it */
if (bt_mesh_subnet_get(BT_MESH_KEY_PRIMARY) &&
sub->net_idx != BT_MESH_KEY_PRIMARY) {
@@ -347,17 +354,9 @@ static void secure_beacon_recv(struct os_mbuf *buf)
iv_change = bt_mesh_net_iv_update(iv_index, BT_MESH_IV_UPDATE(flags));
- kr_change = bt_mesh_kr_update(sub, BT_MESH_KEY_REFRESH(flags), new_key);
- if (kr_change) {
- bt_mesh_net_beacon_update(sub);
- }
-
if (iv_change) {
/* Update all subnets */
bt_mesh_net_sec_update(NULL);
- } else if (kr_change) {
- /* Key Refresh without IV Update only impacts one subnet */
- bt_mesh_net_sec_update(sub);
}
update_stats:
[mynewt-nimble] 03/09: mesh/net.c: replace dup_cache size magic
value
Posted by ry...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit b4522c051f46af070061f495e10823874b122f15
Author: Krzysztof Kopyściński <kr...@codecoup.pl>
AuthorDate: Thu Sep 3 09:13:24 2020 +0200
mesh/net.c: replace dup_cache size magic value
---
nimble/host/mesh/src/net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nimble/host/mesh/src/net.c b/nimble/host/mesh/src/net.c
index 240314d..887ceda 100644
--- a/nimble/host/mesh/src/net.c
+++ b/nimble/host/mesh/src/net.c
@@ -86,7 +86,7 @@ struct bt_mesh_net bt_mesh = {
#endif
};
-static u32_t dup_cache[4];
+static u32_t dup_cache[MYNEWT_VAL(BLE_MESH_MSG_CACHE_SIZE)];
static int dup_cache_next;
static bool check_dup(struct os_mbuf *data)
[mynewt-nimble] 08/09: mesh/prov.c: Fix resending provisioning link
ack The comparison of a current tx link transaction id caused us to not
send ack and in effect fail provisioning.
Posted by ry...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 2820845e534ea404b9ab40192a184ecc01f897d0
Author: Krzysztof Kopyściński <kr...@codecoup.pl>
AuthorDate: Fri Sep 4 14:57:56 2020 +0200
mesh/prov.c: Fix resending provisioning link ack
The comparison of a current tx link transaction id caused
us to not send ack and in effect fail provisioning.
Fixes multiple tests from groups: MESH/NODE/CFG/AKL, MESH/NODE/CFG/MAKL
---
nimble/host/mesh/src/prov.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nimble/host/mesh/src/prov.c b/nimble/host/mesh/src/prov.c
index dbb086a..33f6d60 100644
--- a/nimble/host/mesh/src/prov.c
+++ b/nimble/host/mesh/src/prov.c
@@ -1505,7 +1505,7 @@ static void link_open(struct prov_rx *rx, struct os_mbuf *buf)
if (atomic_test_bit(link.flags, LINK_ACTIVE)) {
/* Send another link ack if the provisioner missed the last */
- if (link.id == rx->link_id && link.expect == PROV_INVITE) {
+ if (link.id == rx->link_id) {
BT_DBG("Resending link ack");
bearer_ctl_send(LINK_ACK, NULL, 0);
} else {
[mynewt-nimble] 06/09: mesh/cfg_srv.c: Fix Vendor Model
Subscription Get procedure Invalid argument was passed to
bt_mesh_model_tree_walk.
Posted by ry...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 25dca96e0eb0a42c27d7e1bea83d45353b6bd880
Author: Krzysztof Kopyściński <kr...@codecoup.pl>
AuthorDate: Thu Sep 3 11:13:55 2020 +0200
mesh/cfg_srv.c: Fix Vendor Model Subscription Get procedure
Invalid argument was passed to bt_mesh_model_tree_walk.
---
nimble/host/mesh/src/cfg_srv.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/nimble/host/mesh/src/cfg_srv.c b/nimble/host/mesh/src/cfg_srv.c
index 57aac90..5cac1ad 100644
--- a/nimble/host/mesh/src/cfg_srv.c
+++ b/nimble/host/mesh/src/cfg_srv.c
@@ -1748,6 +1748,7 @@ static void mod_sub_get_vnd(struct bt_mesh_model *model,
struct os_mbuf *buf)
{
struct os_mbuf *msg = NET_BUF_SIMPLE(BT_MESH_TX_SDU_MAX);
+ struct mod_sub_list_ctx visit_ctx;
struct bt_mesh_model *mod;
struct bt_mesh_elem *elem;
u16_t company, addr, id;
@@ -1789,8 +1790,10 @@ static void mod_sub_get_vnd(struct bt_mesh_model *model,
net_buf_simple_add_le16(msg, company);
net_buf_simple_add_le16(msg, id);
+ visit_ctx.msg = msg;
+ visit_ctx.elem_idx = mod->elem_idx;
bt_mesh_model_tree_walk(bt_mesh_model_root(mod), mod_sub_list_visitor,
- msg);
+ &visit_ctx);
send_list:
if (bt_mesh_model_send(model, ctx, msg, NULL, NULL)) {
[mynewt-nimble] 09/09: Bluetooth: Mesh: Heartbeat period starts at
tx Starts the periodic heartbeat publish period at the end of the
publication,
instead of at the ordering time. This ensures that the heartbeat period
doesn't get shortened by other enqueued messages.
Posted by ry...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit f4fe7b90df01b8ca2294af771ce43b1828a70de5
Author: Krzysztof Kopyściński <kr...@codecoup.pl>
AuthorDate: Mon Sep 7 10:21:58 2020 +0200
Bluetooth: Mesh: Heartbeat period starts at tx
Starts the periodic heartbeat publish period at the end of the
publication, instead of at the ordering time. This ensures that the
heartbeat period doesn't get shortened by other enqueued messages.
---
nimble/host/mesh/src/cfg_srv.c | 47 +++++++++++++++++++++++++++++-----------
nimble/host/mesh/src/lpn.c | 4 ++--
nimble/host/mesh/src/transport.c | 8 +++----
nimble/host/mesh/src/transport.h | 2 +-
4 files changed, 41 insertions(+), 20 deletions(-)
diff --git a/nimble/host/mesh/src/cfg_srv.c b/nimble/host/mesh/src/cfg_srv.c
index 5cac1ad..c1bb631 100644
--- a/nimble/host/mesh/src/cfg_srv.c
+++ b/nimble/host/mesh/src/cfg_srv.c
@@ -808,7 +808,7 @@ static void gatt_proxy_set(struct bt_mesh_model *model,
bt_mesh_adv_update();
if (cfg->hb_pub.feat & BT_MESH_FEAT_PROXY) {
- bt_mesh_heartbeat_send();
+ (void)bt_mesh_heartbeat_send(NULL, NULL);
}
send_status:
@@ -928,7 +928,7 @@ static void relay_set(struct bt_mesh_model *model,
BT_MESH_TRANSMIT_INT(cfg->relay_retransmit));
if ((cfg->hb_pub.feat & BT_MESH_FEAT_RELAY) && change) {
- bt_mesh_heartbeat_send();
+ (void)bt_mesh_heartbeat_send(NULL, NULL);
}
} else {
BT_WARN("Invalid Relay value 0x%02x", buf->om_data[0]);
@@ -2782,7 +2782,7 @@ static void friend_set(struct bt_mesh_model *model,
}
if (cfg->hb_pub.feat & BT_MESH_FEAT_FRIEND) {
- bt_mesh_heartbeat_send();
+ (void)bt_mesh_heartbeat_send(NULL, NULL);
}
send_status:
@@ -3283,11 +3283,38 @@ const struct bt_mesh_model_op bt_mesh_cfg_srv_op[] = {
BT_MESH_MODEL_OP_END,
};
+static void hb_publish_end_cb(int err, void *cb_data)
+{
+ struct bt_mesh_cfg_srv *cfg = cb_data;
+ uint16_t period_ms;
+
+ period_ms = hb_pwr2(cfg->hb_pub.period, 1) * 1000U;
+ if (period_ms && cfg->hb_pub.count > 1) {
+ k_delayed_work_submit(&cfg->hb_pub.timer, K_MSEC(period_ms));
+ }
+
+ if (cfg->hb_pub.count != 0xffff) {
+ cfg->hb_pub.count--;
+ }
+}
+
+static void hb_publish_start_cb(uint16_t duration, int err, void *cb_data)
+{
+ if (err) {
+ hb_publish_end_cb(err, cb_data);
+ }
+}
+
static void hb_publish(struct ble_npl_event *work)
{
+ static const struct bt_mesh_send_cb publish_cb = {
+ .start = hb_publish_start_cb,
+ .end = hb_publish_end_cb,
+ };
+
struct bt_mesh_cfg_srv *cfg = ble_npl_event_get_arg(work);
struct bt_mesh_subnet *sub;
- u16_t period_ms;
+ int err;
BT_DBG("hb_pub.count: %u", cfg->hb_pub.count);
@@ -3303,15 +3330,9 @@ static void hb_publish(struct ble_npl_event *work)
return;
}
- period_ms = hb_pwr2(cfg->hb_pub.period, 1) * 1000;
- if (period_ms && cfg->hb_pub.count > 1) {
- k_delayed_work_submit(&cfg->hb_pub.timer, period_ms);
- }
-
- bt_mesh_heartbeat_send();
-
- if (cfg->hb_pub.count != 0xffff) {
- cfg->hb_pub.count--;
+ err = bt_mesh_heartbeat_send(&publish_cb, cfg);
+ if (err) {
+ hb_publish_end_cb(err, cfg);
}
}
diff --git a/nimble/host/mesh/src/lpn.c b/nimble/host/mesh/src/lpn.c
index ec012a5..0bfc00a 100644
--- a/nimble/host/mesh/src/lpn.c
+++ b/nimble/host/mesh/src/lpn.c
@@ -243,7 +243,7 @@ static void clear_friendship(bool force, bool disable)
lpn->groups_changed = 1;
if (cfg->hb_pub.feat & BT_MESH_FEAT_LOW_POWER) {
- bt_mesh_heartbeat_send();
+ (void)bt_mesh_heartbeat_send(NULL, NULL);
}
if (disable) {
@@ -961,7 +961,7 @@ int bt_mesh_lpn_friend_update(struct bt_mesh_net_rx *rx,
BT_INFO("Friendship established with 0x%04x", lpn->frnd);
if (cfg->hb_pub.feat & BT_MESH_FEAT_LOW_POWER) {
- bt_mesh_heartbeat_send();
+ (void)bt_mesh_heartbeat_send(NULL, NULL);
}
if (lpn_cb) {
diff --git a/nimble/host/mesh/src/transport.c b/nimble/host/mesh/src/transport.c
index caf1b4f..e771867 100644
--- a/nimble/host/mesh/src/transport.c
+++ b/nimble/host/mesh/src/transport.c
@@ -1569,7 +1569,7 @@ void bt_mesh_rpl_clear(void)
memset(bt_mesh.rpl, 0, sizeof(bt_mesh.rpl));
}
-void bt_mesh_heartbeat_send(void)
+int bt_mesh_heartbeat_send(const struct bt_mesh_send_cb *cb, void *cb_data)
{
struct bt_mesh_cfg_srv *cfg = bt_mesh_cfg_get();
u16_t feat = 0U;
@@ -1592,7 +1592,7 @@ void bt_mesh_heartbeat_send(void)
/* Do nothing if heartbeat publication is not enabled */
if (cfg->hb_pub.dst == BT_MESH_ADDR_UNASSIGNED) {
- return;
+ return 0;
}
hb.init_ttl = cfg->hb_pub.ttl;
@@ -1617,8 +1617,8 @@ void bt_mesh_heartbeat_send(void)
BT_DBG("InitTTL %u feat 0x%04x", cfg->hb_pub.ttl, feat);
- bt_mesh_ctl_send(&tx, TRANS_CTL_OP_HEARTBEAT, &hb, sizeof(hb),
- NULL, NULL, NULL);
+ return bt_mesh_ctl_send(&tx, TRANS_CTL_OP_HEARTBEAT, &hb, sizeof(hb),
+ NULL, cb, cb_data);
}
int bt_mesh_app_key_get(const struct bt_mesh_subnet *subnet, u16_t app_idx,
diff --git a/nimble/host/mesh/src/transport.h b/nimble/host/mesh/src/transport.h
index eff768e..8bcbff0 100644
--- a/nimble/host/mesh/src/transport.h
+++ b/nimble/host/mesh/src/transport.h
@@ -99,7 +99,7 @@ void bt_mesh_trans_init(void);
void bt_mesh_rpl_clear(void);
-void bt_mesh_heartbeat_send(void);
+int bt_mesh_heartbeat_send(const struct bt_mesh_send_cb *cb, void *cb_data);
int bt_mesh_app_key_get(const struct bt_mesh_subnet *subnet, u16_t app_idx,
u16_t addr, const u8_t **key, u8_t *aid);
[mynewt-nimble] 02/09: mesh/friend.c: Ignore Freind Request from
local interface Friend Request is also transmitted over local queue and if
both Friend and LPN features are enabled then we would try to establish
friendship with ourselves.
Posted by ry...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit a98eb4444b14ba06148adf80de664e11a29b42f0
Author: Krzysztof Kopyściński <kr...@codecoup.pl>
AuthorDate: Thu Sep 3 08:14:44 2020 +0200
mesh/friend.c: Ignore Freind Request from local interface
Friend Request is also transmitted over local queue and
if both Friend and LPN features are enabled then we would
try to establish friendship with ourselves.
Fixes MESH/NODE/FRND/LPN testcases.
---
nimble/host/mesh/src/friend.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/nimble/host/mesh/src/friend.c b/nimble/host/mesh/src/friend.c
index 9056a86..4662f8a 100644
--- a/nimble/host/mesh/src/friend.c
+++ b/nimble/host/mesh/src/friend.c
@@ -935,6 +935,11 @@ int bt_mesh_friend_req(struct bt_mesh_net_rx *rx, struct os_mbuf *buf)
u32_t poll_to;
int i;
+ if (rx->net_if == BT_MESH_NET_IF_LOCAL) {
+ BT_WARN("Ignoring Friend request from local interface");
+ return 0;
+ }
+
if (buf->om_len < sizeof(*msg)) {
BT_WARN("Too short Friend Request");
return -EINVAL;
[mynewt-nimble] 04/09: mesh/net.c: don't drop messages with RFU as
their destination Dropping such messages doesn't comply with Mesh Profile
Test Specification.
Posted by ry...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit b14f1637a8dfe1ea8dc212da4b2ed16ef1f7e359
Author: Krzysztof Kopyściński <kr...@codecoup.pl>
AuthorDate: Thu Sep 3 09:15:47 2020 +0200
mesh/net.c: don't drop messages with RFU as their destination
Dropping such messages doesn't comply with Mesh Profile Test Specification.
---
nimble/host/mesh/src/net.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/nimble/host/mesh/src/net.c b/nimble/host/mesh/src/net.c
index 887ceda..bde847a 100644
--- a/nimble/host/mesh/src/net.c
+++ b/nimble/host/mesh/src/net.c
@@ -1287,11 +1287,6 @@ int bt_mesh_net_decode(struct os_mbuf *data, enum bt_mesh_net_if net_if,
return -EBADMSG;
}
- if (BT_MESH_ADDR_IS_RFU(rx->ctx.recv_dst)) {
- BT_ERR("Destination address is RFU; dropping packet");
- return -EBADMSG;
- }
-
if (net_if != BT_MESH_NET_IF_LOCAL && bt_mesh_elem_find(rx->ctx.addr)) {
BT_DBG("Dropping locally originated packet");
return -EBADMSG;
[mynewt-nimble] 01/09: mesh/prov.c: change order of checks in
prov_msg_recv() First,
PDU type should be checked first and then if PDU is valid. Otherwise,
we'll never check if PDU type is valid,
and always return PROV_ERR_UNEXP_PDU. If PDU type isn't valid,
PROV_ERR_NVAL_FMT shall be returned (0x02).
Posted by ry...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit e7009b8a7c4e9babae805cb87d420050301dc268
Author: Krzysztof Kopyściński <kr...@codecoup.pl>
AuthorDate: Thu Sep 3 07:26:43 2020 +0200
mesh/prov.c: change order of checks in prov_msg_recv()
First, PDU type should be checked first and then if PDU is valid. Otherwise,
we'll never check if PDU type is valid, and always return PROV_ERR_UNEXP_PDU.
If PDU type isn't valid, PROV_ERR_NVAL_FMT shall be returned (0x02).
---
nimble/host/mesh/src/prov.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/nimble/host/mesh/src/prov.c b/nimble/host/mesh/src/prov.c
index fe92c0e..dbb086a 100644
--- a/nimble/host/mesh/src/prov.c
+++ b/nimble/host/mesh/src/prov.c
@@ -1616,15 +1616,15 @@ static void prov_msg_recv(void)
return;
}
- if (type != PROV_FAILED && type != link.expect) {
- BT_WARN("Unexpected msg 0x%02x != 0x%02x", type, link.expect);
- prov_send_fail_msg(PROV_ERR_UNEXP_PDU);
+ if (type >= ARRAY_SIZE(prov_handlers)) {
+ BT_ERR("Unknown provisioning PDU type 0x%02x", type);
+ prov_send_fail_msg(PROV_ERR_NVAL_FMT);
return;
}
- if (type >= ARRAY_SIZE(prov_handlers)) {
- BT_ERR("Unknown provisioning PDU type 0x%02x", type);
- prov_send_fail_msg(PROV_ERR_NVAL_PDU);
+ if (type != PROV_FAILED && type != link.expect) {
+ BT_WARN("Unexpected msg 0x%02x != 0x%02x", type, link.expect);
+ prov_send_fail_msg(PROV_ERR_UNEXP_PDU);
return;
}
[mynewt-nimble] 05/09: apps/bttester: Adjust config values for mesh
PTS test cases
Posted by ry...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 390041b638a6cca88bda8ea91a1d58dd88aaced4
Author: Krzysztof Kopyściński <kr...@codecoup.pl>
AuthorDate: Thu Sep 3 10:41:07 2020 +0200
apps/bttester: Adjust config values for mesh PTS test cases
---
apps/bttester/syscfg.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/apps/bttester/syscfg.yml b/apps/bttester/syscfg.yml
index dd36f74..8aeac10 100644
--- a/apps/bttester/syscfg.yml
+++ b/apps/bttester/syscfg.yml
@@ -124,6 +124,9 @@ syscfg.vals:
BLE_MESH_FRIEND: 1
BLE_MESH_CFG_CLI: 1
BLE_MESH_RX_SDU_MAX: 110
+ BLE_MESH_HEALTH_CLI: 1
+ BLE_MESH_FRIEND_QUEUE_SIZE: 32
+ CONFIG_BT_MESH_TX_SEG_MSG_COUNT: 6
BLE_MESH_ADV_BUF_COUNT: 20
BLE_MESH_TX_SEG_MAX: 6