getDevice - patch1