jnicolson / twc-controller

Software for Tesla Wall Connector controller
GNU General Public License v3.0
13 stars 3 forks source link

Packet checksum verify fails when checksum is db #1

Closed jnicolson closed 3 years ago

jnicolson commented 3 years ago

Verify is failing when checksum should be db (it is printing out as 'dd'). I think this is something to do with the decoding - need to work out whether the checksum bit should be decoded (from db into dd db) - i'm guessing it should be but because this inceases the length by one it's being missed/dropped off.