- constantly shows "parking", although the Twizy does not feed the parking timer
unsigned char car_doors1 [bit 7]
A bit used to signal whether the car is turned on or off. Set to 1 if the car ignition switch is ON, otherwise 0.
else if ((CANctrl & 0x07) == 5) // Acceptance Filter 5 (RXF5) = CAN ID 135{if (can_databuffer[0] == 0){ // Car is in PARKcar_doors1 |= 0x40; // NOT PARKcar_doors1 &= ~0x80; // CAR OFFif (car_parktime == 0){car_parktime = car_time-1; // Record it as 1 second ago, so non zero reportnet_req_notification(NET_NOTIFY_ENV);}}else{ // Car is not in PARKcar_doors1 &= ~0x40; // PARKcar_doors1 |= 0x80; // CAR ONif (car_parktime != 0){car_parktime = 0; // No longer parkingnet_req_notification(NET_NOTIFY_ENV);}}
...as well as all the new function and parameter settings.I haven't seen a function call / parameter setup utility -- is that a hidden feature, or no UI yet, or a bug on my device?
Mark,
a short report for my HTC Desire HD / Android 2.3.5: