CONFIDENTIAL
DOC-USR-0012-08
___________________________________________________________________________________________
Z3 Technology, LLC
♦
100 N 8
th
ST, STE 250
♦
Lincoln, NE 68508-1369 USA
♦
+1.402.323.0702
13
4.1.2 z3_mcfw_api
This directory contains a modified version of the TI mcfw API (found in
dvr-rdk/dvr_rdk/mcfw/
src_linux/mcfw_api
) that is tailored to work with Z3’s hardware and use-cases. The link setup
code for Z3’s sample applications can be found in the
usecases
directory. The use-case code is
called from
ti_vsys.c
in the same directory.
4.1.3 z3
This directory contains the base code for RTP TX and RX, as well as the base code for audio
capture and output.
4.2 Z3 Application Overview
4.2.1 Application Names and Locations
For encode, there are 2 binaries in the sample code. The first is a menu-based sample
application (this is what comes up in the serial terminal when the board is powered on). The
second is a command line interface that is more flexible and easier to use from a programming
standpoint. The web-based interface uses this command line interface extensively.
The menu-based sample application binary can be found at:
/opt/dvr_rdk/ti816x/bin/z3_dvr_rdk_demo_mcfw_api.out
The command line interface binary can be found at:
/opt/dvr_rdk/ti816x/bin/mcfw_mcsenc
On the decode side, there is a command line interface. The binary for this can be found at:
/opt/dvr_rdk/ti816x/bin/mcfw_mcsdec
4.2.2 Application Options and Arguments
The menu-based sample application uses an .ini file. This .ini file is built in the script
run.sh
and stored in
/tmp/encode.ini
.
Once called with the .ini file, the menu-based sample application presents to the user a menu of
options. Most .ini files are geared towards a specific option. The easiest way to get a valid .ini
file is to run the script with the settings you want and then copy the generated .ini out of
/tmp
and save it.