public void writeAddress(byte[] serialNo, IndividualAddress newAddress)
		throws KNXTimeoutException, KNXLinkClosedException
	{
		if (serialNo.length != 6)
			throw new KNXIllegalArgumentException("length of serial number not 6 bytes");
		final byte[] asdu = new byte[12];
		for (int i = 0; i < 6; ++i)
			asdu[i] = serialNo[i];
		asdu[6] = (byte) (newAddress.getRawAddress() >>> 8);
		asdu[7] = (byte) newAddress.getRawAddress();
		tl.broadcast(false, Priority.SYSTEM, DataUnitBuilder.createAPDU(
			IND_ADDR_SN_WRITE, asdu));
	}
public void writeAddress ( byte [ ] serialNo , IndividualAddress newAddress ) throws KNXTimeoutException , KNXLinkClosedException { if ( serialNo . length != 6 ) throw new KNXIllegalArgumentException ( "length of serial number not 6 bytes" ) ; final byte [ ] asdu = new byte [ 12 ] ; for ( int i = 0 ; i < 6 ; ++ i ) asdu [ i ] = serialNo [ i ] ; asdu [ 6 ] = ( byte ) ( newAddress . getRawAddress ( ) > > > 8 ) ; asdu [ 7 ] = ( byte ) newAddress . getRawAddress ( ) ; tl . broadcast ( false , Priority . SYSTEM , DataUnitBuilder . createAPDU ( IND_ADDR_SN_WRITE , asdu ) ) ; }
/* (non-Javadoc)
@see tuwien.auto.calimero.mgmt.ManagementClient#writeAddress
(byte[], tuwien.auto.calimero.IndividualAddress)