get device definition depends on device firmware version now