I'm planning to reproduce this code to get the charger going (on a gen2). Did you manage to get it working? I noticed that the sequence control for ID4 message might have an error. According to your annotations the cycler should be {0x87, 0xc7,0x07, 0x47}, but your code is {0x87, 0xc7,0x07, 0x45...