Add VIN readout
This commit is contained in:
parent
dcf134ba2e
commit
7614b6809b
|
@ -214,6 +214,12 @@ void OvmsVehicleRenaultZoePh2::IncomingBCM(uint16_t type, uint16_t pid, const ch
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case 0x4060: { //Vehicle identificaftion number
|
||||||
|
for(int i=0; i<17; i++) {
|
||||||
|
ESP_LOGD(TAG, "4060 Vehicle identificaftion number: %s", ((char*)CAN_BYTE(i)));
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
default: {
|
default: {
|
||||||
char *buf = NULL;
|
char *buf = NULL;
|
||||||
|
|
|
@ -89,6 +89,7 @@ static const OvmsVehicle::poll_pid_t renault_zoe_polls[] = {
|
||||||
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6166, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Interior tailgate light, no actual usecase for
|
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6166, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Interior tailgate light, no actual usecase for
|
||||||
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6098, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Light sensor reading, no actual usecase for
|
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6098, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Light sensor reading, no actual usecase for
|
||||||
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6214, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Rain detection, no actual usecase for
|
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6214, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Rain detection, no actual usecase for
|
||||||
|
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x4060, { 0, 600, 0, 0 }, 0, ISOTP_STD }, // Vehicle identificaftion number
|
||||||
|
|
||||||
//LBC
|
//LBC
|
||||||
//{ 0x18dadbf1, 0x18daf1db, VEHICLE_POLL_TYPE_OBDIISESSION, SESSION_DEFAULT, { 0, 60, 60, 60 }, 0, ISOTP_EXTFRAME }, // OBD Extended Diagnostic Session
|
//{ 0x18dadbf1, 0x18daf1db, VEHICLE_POLL_TYPE_OBDIISESSION, SESSION_DEFAULT, { 0, 60, 60, 60 }, 0, ISOTP_EXTFRAME }, // OBD Extended Diagnostic Session
|
||||||
|
|
Loading…
Reference in a new issue