Managed to return the list of devices.