mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
ble_mesh: stack: add send transaction ack befor provisioner send prov failed msg
This commit is contained in:
@@ -2871,6 +2871,12 @@ static void prov_msg_recv(const uint8_t idx)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
/**
|
||||||
|
* FOR the case MESH/PVNR/PROV/BV-10-C and MESH/PVNR/PROV/BI-14-C
|
||||||
|
* Provisioner should send transaction ack before closing the link
|
||||||
|
*/
|
||||||
|
gen_prov_ack_send(idx, link[idx].rx.trans_id);
|
||||||
|
|
||||||
close_link(idx, CLOSE_REASON_FAILED);
|
close_link(idx, CLOSE_REASON_FAILED);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user