getIDeviceObj() should return the device object.