public void sendSyncModeCommand ( int deviceNumber , boolean synced ) throws IOException { final DeviceUpdate update = getLatestStatusFor ( deviceNumber ) ; if ( update == null ) { throw new IllegalArgumentException ( "Device " + deviceNumber + " not found on network." ) ; } sendSyncModeCommand ( update , synced ) ; }
Tell a device to turn sync on or off .