This commit is contained in:
Carsten Schmiemann 2022-04-16 20:06:22 +02:00
parent 379c0d11de
commit c5aa9c4d93

View file

@ -96,7 +96,7 @@ OvmsVehicleRenaultZoePh2::~OvmsVehicleRenaultZoePh2() {
void OvmsVehicleRenaultZoePh2::IncomingFrameCan1(CAN_frame_t* p_frame) {
uint8_t *data = p_frame->data.u8;
ESP_LOGI(TAG, "PID:%x DATA: %02x %02x %02x %02x %02x %02x %02x %02x", p_frame->MsgID, data[0], data[1], data[2], data[3], data[4], data[5], data[6], data[7]);
ESP_LOGD(TAG, "Status CAN Bus: %s", (char*)mt_bus_awake->AsBool());
ESP_LOGD(TAG, "Status CAN Bus: %s", mt_bus_awake ? "true" : "false");
// Poll reply gives 0x83 0xc0 that means zoe is sleeping and CAN gateway does not respond to anything
if (mt_bus_awake && data[0] == 0x83 && data[1] == 0xc0) {