public void setBaseId ( byte [ ] baseId ) { if ( baseId == null ) { throw new IllegalArgumentException ( "Transmitter base ID cannot be null." ) ; } if ( baseId . length != TRANSMITTER_ID_SIZE ) { throw new IllegalArgumentException ( String . format ( "Transmitter base ID must be %d bytes long." , Integer . valueOf ( TRANSMITTER_ID_SIZE ) ) ) ; } this . baseId = baseId ; }
Sets the base address for this transmitter .