TCPImagePuller: add fifo occupancy in ACK message
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user