GetConnetedDevices() function added