de.humatic.jdl
Class DecklinkRawDeviceControl

java.lang.Object
  extended by de.humatic.jdl.DecklinkInterface
      extended by de.humatic.jdl.DecklinkRawDeviceControl

public class DecklinkRawDeviceControl
extends DecklinkInterface

IDecklinkRawDeviceControl implementation - this interface is exposed by the Decklink Video Render filter and can be used for hardware device control via the card's RS422 connector. javax.comm is NOT required for this to work. Note that - while basically made for just that use case - neither the native interface nor jdl provide an implementation of the Sony 9pin / P2 protocol. It is in the application's responsibility to send commands valid for the connected device.


Method Summary
 byte[] sendRawCommand(byte[] cmd)
          Sends a command down the line and returns the device's reply.
 void sendRawCommandAsync(byte[] cmd)
          Sends a command down the line and returns immediately.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

sendRawCommand

public byte[] sendRawCommand(byte[] cmd)
Sends a command down the line and returns the device's reply.


sendRawCommandAsync

public void sendRawCommandAsync(byte[] cmd)
Sends a command down the line and returns immediately. The device's return will be posted to PropertyChangeListeners in the newValue field of an event with type Decklink.RS422_ASYNC_REPLY.