TCPImagePuller: add fifo occupancy in ACK message

This commit is contained in:
2026-03-05 19:48:44 +01:00
parent 6410dcd604
commit 512023f5f6
3 changed files with 18 additions and 16 deletions

View File

@@ -108,6 +108,7 @@ bool TCPImagePuller::SendAck(const PullerAckMessage &ack) {
h.ack_processed_images = ack.processed_images;
h.ack_code = static_cast<uint32_t>(ack.error_code);
h.payload_size = ack.error_text.size();
h.ack_fifo_occupancy = cbor_fifo.GetCurrentUtilization();
if (!SendAll(&h, sizeof(h)))
return false;