Get device type
