bri3d / VW_Flash

Flashing tools for VW AG control units over UDS. Compression, encryption, RSA bypass, and checksums are supported for Simos18.1/6/10, DQ250-MQB, DQ381-MQB, and Haldex4Motion-Gen5-MQB.
Other
315 stars 80 forks source link

A0 client support using Scott's firmware #27

Closed joeFischetti closed 3 years ago

joeFischetti commented 3 years ago

Thanks to @Switchleg1 we have a working bluetooth interface.

This PR includes a new udsoncan class that creates a bluetooth connection to either a provided device address or a device name. It includes code in flash_uds.py to create the connection. It also includes code in VW_Flash.py with an additional interface definition and code to scan for available BLE devices (so an address can be pushed down into the connections).

get_ecu_info works correctly, haven't been able to test the flash against a real ECU since the firmware doesn't (yet) fully support rxid/txid.