[Ovmsdev] Comments on Tazzari Firmware

Mark Webb-Johnson mark at webb-johnson.net
Sun Apr 14 22:06:46 HKT 2013


Patrick,

There shouldn't be any 'charge complete' notifications - only 'charge interrupted':

Current logic is:

          case 0x63: // Charge done/failed (depending where we came from)
            car_doors1 &= ~0x0c;    // Clear charge and pilot bits
            car_chargemode = 0;     // Standard charge mode
            car_charge_b4 = 0;      // Not required
            if (car_chargestate == 4)
              { // Charge done
              }
            else if (car_chargestate != 21)
              { // Charge interrupted
              car_chargestate = 21;    // Charge STOPPED
              car_chargesubstate = 14; // Charge INTERRUPTED
              net_req_notification(NET_NOTIFY_CHARGE);
              }
            break;

PID 0xFDE0 shows 8bit value 0x63 and car_chargestate != 4 and car_chargestate != 21, then we treat that as a charge interrupted and alert appropriately.

Does that seem correct? I'll have to check through the logs you made to double-check.

Regards, Mark.

On 14 Apr, 2013, at 5:53 AM, Patrick Kapsch <patrick.kapsch at mac.com> wrote:

> Mark,
> Since you fixed push notifications, fully charged notification works for the Tazzari. Charge interrupt notification doesn't.
> 
> Regards,
> Patrick
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20130414/7709f245/attachment.htm>


More information about the OvmsDev mailing list