typedef struct {
unsigned FrontLeftDoor:1; // 0x01
unsigned FrontRightDoor:1; // 0x02
unsigned ChargePort:1; // 0x04
unsigned PilotSignal:1; // 0x08
unsigned Charging:1; // 0x10
unsigned :1; // 0x20
unsigned HandBrake:1; // 0x40
unsigned CarON:1; // 0x80
} car_doors1bits_t;
I don't know why bit 5 needs to always be on. It's not for the roadster. Here's a sample D record from my car:
D 128,0,3,48,75,30,310,390213,21,0,33,2,119,120,12.8,161,11.4,0
As you can see, the first byte has only the high bit (CarON) set.
Another record shows (97 = 0x61) the car is off, the front left door is open, the handbrake is on, and the unnamed bit is set. I guess we haven't figured out what the unnamed bit means.
D 97,0,3,39,61,27,191,390093,0,332,32,2,120,119,12.8,33,11.4,0