*
* @param artnetReceiver
* @param frameBuf
*/
protected void sendBufferToReceiver(int universeId, byte[] buffer) {
ArtDmxPacket dmx = new ArtDmxPacket();
//parameter: int subnetID, int universeID
//TODO: make subnet Id configurable?
dmx.setUniverse(0, universeId);
dmx.setSequenceID(sequenceID % 255);
//byte[] dmxData, int numChannels
dmx.setDMX(buffer, buffer.length);
this.artnet.unicastPacket(dmx, this.targetAdress);
this.sequenceID++;
}