Use the same -s optional argument like in adb command. Argument value can be retrieved via 'adb devices'