diff --git a/OVMS.V3/components/vehicle_renaultzoe_ph2/src/BCM_pids.cpp b/OVMS.V3/components/vehicle_renaultzoe_ph2/src/BCM_pids.cpp index 86fc499..554b8d6 100644 --- a/OVMS.V3/components/vehicle_renaultzoe_ph2/src/BCM_pids.cpp +++ b/OVMS.V3/components/vehicle_renaultzoe_ph2/src/BCM_pids.cpp @@ -216,6 +216,16 @@ void OvmsVehicleRenaultZoePh2::IncomingBCM(uint16_t type, uint16_t pid, const ch } case 0x4060: { //Vehicle identificaftion number for(int i=0; i<10; i++) { + //Debug full response + char *buf = NULL; + size_t rlen = len, offset = 0; + do { + rlen = FormatHexDump(&buf, data + offset, rlen, 16); + offset += 16; + ESP_LOGW(TAG, "OBD2: unhandled reply from BCM [%02x %02x]: %s", type, pid, buf ? buf : "-"); + } while (rlen); + if (buf) + free(buf); ESP_LOGD(TAG, "4060 Vehicle identificaftion number: %s", ((char*)CAN_NIB(i))); } break;