We should return an empty array, not null, if no devices are connected.
We should return an empty array, not null, if no devices are connected.