Can you communicate with the old unit.............? see if you can than just copy the software coding or if not than have a look in thin link hope it helps................
http://wiki.ross-tech.com/wiki/index.php/Audi_A8_%284E%29_Access/Start_Authorization