async call to get devices.