Developping getAllDevices method in uplatform.cpp