Surveyor News ...
   
Thu, 12 Jun 2008

New Java-based test application for SRV-1 Blackfin - supports UDP & TCP connections

We now have a simple java-based test application for UDP and TCP connections with the Matchport and SRV-1 Blackfin.



SRV1Test.java source code is found here:

        http://www.surveyor.com/blackfin/SRV1Test.java

The protocol, IP address, and ports are hard-coded in the first lines of the SRV1Test.java source code:



and provided the Java SDK is installed, the application is easy to compile and run:

        javac SRV1Test.java
        java SRV1Test

The program quickly connects to the designated SRV-1 Matchport and begins to pull frames. While connected, the user can send SRV_protocol commands in ASCII or Hex and view the results.

The Matchport can be configured for a UDP connection via the Matchport's web interface -



Note that in UDP mode, the Matchport does not support hardware flow control, and we have seen that it can't keep up with the 2500kbps interface, though it works fine at 921kbps. We are looking at ways to overcome this flow control issue in the SRV-1 Blackfin firmware, but for the moment, please note this limitation.

Again, here is the source code download link:

        http://www.surveyor.com/blackfin/SRV1Test.java

Posted Thu, 12 Jun 2008 12:49 | HTML Link | see additional stories ...