Merge "Implement method for get previously connected devices"