|
|
|
@ -999,6 +999,8 @@ void etcp_conn_input(struct ETCP_DGRAM* pkt) { |
|
|
|
uint16_t len = pkt->data_len; |
|
|
|
uint16_t len = pkt->data_len; |
|
|
|
uint16_t ts = pkt->timestamp; // Received timestamp
|
|
|
|
uint16_t ts = pkt->timestamp; // Received timestamp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DEBUG_DEBUG(DEBUG_CATEGORY_ETCP, "[%s] RX pkt", etcp->log_name); |
|
|
|
|
|
|
|
|
|
|
|
while (len >= 1) { |
|
|
|
while (len >= 1) { |
|
|
|
uint8_t type = data[0]; |
|
|
|
uint8_t type = data[0]; |
|
|
|
|
|
|
|
|
|
|
|
@ -1162,7 +1164,7 @@ void etcp_conn_input(struct ETCP_DGRAM* pkt) { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
DEBUG_DEBUG(DEBUG_CATEGORY_ETCP, "[%s] RX dup: seq=%u need=%u asm_len=%d", etcp->log_name, seq, etcp->last_delivered_id+1, etcp->recv_q->count); |
|
|
|
DEBUG_DEBUG(DEBUG_CATEGORY_ETCP, "[%s] RX dup: seq=%u need=%u asm_len=%d", etcp->log_name, seq, etcp->last_delivered_id+1, etcp->recv_q->count); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} else DEBUG_ERROR(DEBUG_CATEGORY_ETCP, "payload len %d < 5", len); |
|
|
|
len=0; |
|
|
|
len=0; |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|