ADD: Macroses for determine device versions and parameters