Implemented getDeviceList.