DOTA of new firmware release

Normal DOTA of my own custom applications works fine now, but I was wondering how one would go about catering for a DOTA upgrade of the actual Wavecom firmware (OpenAT OS) itself? I’ve never tried it, but the reason why I think it could be tricky is that the custom application must be compiled against a specific Wavecom OpenAT release and one compiled for say R71, it will not run under R72. So, what do you do when you need to DOTA upgrade the OS and own application and still make sure it runs after the DOTA? Is there any Wavecom documentation that described what I need to do?