From: Prathyusha N <prathyusha.n@xxxxxxxxxxx> For initiator, transaction number starts from 0x00 where as for acceptor transaction number starts from 0x80. Since transaction number is pre-incremented and sent in every packet, initialize it with 0xFF for initiator and 0x7F for acceptor. --- mesh/pb-adv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mesh/pb-adv.c b/mesh/pb-adv.c index 6b4a700..19d1453 100644 --- a/mesh/pb-adv.c +++ b/mesh/pb-adv.c @@ -292,6 +292,7 @@ static void pb_adv_packet(void *user_data, const uint8_t *pkt, uint16_t len) /* Only call Open callback once */ if (first) { l_debug("PB-ADV open confirmed"); + session->local_trans_num = 0xFF; session->open_cb(session->user_data, pb_adv_tx, session, PB_ADV); } -- 2.7.4