Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Terminal Reporter on the target

If your target board has a serial interface, you should use the Terminal Reporter. You must create a function which will transmit a string buffer via the serial interface. The NDIT module must be able to use this function to send back the menu or any command errors. The listing below shows an example.

You will also need to implement the task NDIT_TaskTerminal() which performs Terminal I/O. It must be able to:

  1. Receive a string from the serial interface.
  2. Launch IPerf or other NDIT commands with the string received on the serial interface.

The listing below shows a Terminal I/O task example.

Note that you must initialize µC/IPerf before using the “Terminal Reporter.”

Server Reporter on the target

You can also use the network interface of your device to send commands to the NDIT. This way, if you don't have a Serial Port on your device, you can still send commands and receive results through the NDIT_TaskServer() task and NDIT_NetOutputFnct() display function.

The source of NDIT_NetOutputFnct() is displayed in the listing below:

The listing below shows the NDIT_TaskServer() function, which reads the commands from the test station host, processes them, and gives back the results to the test station host.

  • No labels