get the the device information from IDevice