Gets list of devices