Skip to content

Commit 8f5c5a3

Browse files
forx157espressif-bot
authored andcommitted
ble_mesh: stack: add send transaction ack befor provisioner send prov failed msg
1 parent 34841a9 commit 8f5c5a3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/bt/esp_ble_mesh/mesh_core/provisioner_prov.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2871,6 +2871,12 @@ static void prov_msg_recv(const uint8_t idx)
28712871
return;
28722872

28732873
fail:
2874+
/**
2875+
* FOR the case MESH/PVNR/PROV/BV-10-C and MESH/PVNR/PROV/BI-14-C
2876+
* Provisioner should send transaction ack before closing the link
2877+
*/
2878+
gen_prov_ack_send(idx, link[idx].rx.trans_id);
2879+
28742880
close_link(idx, CLOSE_REASON_FAILED);
28752881
return;
28762882
}

0 commit comments

Comments
 (0)