Log every packet in verbose

This commit is contained in:
Carsten Schmiemann 2022-04-12 19:57:30 +02:00
parent 925f8a5163
commit 418ed4be9b

View file

@ -176,6 +176,8 @@ void OvmsVehicleRenaultZoePh2::IncomingPollReply(canbus* bus, uint16_t type, uin
string& rxbuf = zoe_obd_rxbuf;
static uint32_t last_pid = -1;
ESP_LOGV(TAG, "pid: %04x length: %d m_poll_ml_remain: %d m_poll_ml_frame: %d", pid, length, m_poll_ml_remain, m_poll_ml_frame);
if (pid != last_pid) {
ESP_LOGD(TAG, "pid: %04x length: %d m_poll_ml_remain: %d m_poll_ml_frame: %d", pid, length, m_poll_ml_remain, m_poll_ml_frame);
last_pid = pid;