
CLI Command Reference
metadata
Makito X User’s Guide, v2.0, Issue 01
293
E
XAMPLE
#1: C
REATING A
S
TREAM WITH
S
ERIAL
M
ETADATA
[S
OURCE
ID=0]
1.
Set the baud rate for the serial port to 115,200 using the following command:
#metadata 0 set baudrate=115200
2.
Start the serial metadata encoder instance:
#metadata 0 start
3.
Create a stream with video, audio and metadata using the following syntax:
#stream create addr=<IPaddr> port=<UDPport> vid=0 aud=0 data=
0
4.
Verify the metadata encoder stats:
# metadata 0 get all
The system will return the metadata information:
Metadata ID
: 0
Name
: (None)
Configuration:
Type
: serial
Format
: KLV
Device
: "/dev/tts/0"
Standard : RS-232
Baud Rate : 115200
Statistics:
State
: STOPPED
Rx Bytes
: 0
Rx OK Messages
: 0
Rx Corrupt Messages : 0
delta
0
(CoT input only) Specifies the maximum delta
between SPI and Air Craft message time-
stamps for them to be considered a valid pair
that can be converted to KLV.
Serial Source-specific parameters:
standard
RS232
Specifies the transceiver mode for the
metadata capture:
• RS232
• RS422
NOTE:
Only valid for the serial port.
baudrate
115200
Specifies the baud rate for the serial port:
• 115200, 57600, 38400, 19200, 9600, 4800,
2400, 1200
NOTE:
Only required when configuring the
encoder for metadata capture.
Parameter (Cont.)
Default (Cont.)
Description/Values (Cont.)