You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
You are viewing the article in preview mode. It is not live at the moment.
Support will be closed on January 19th in observance of Martin Luther King Jr. Day.
Home > Device Configuration > 2G Series > CLI Settings for 2G Series Devices
CLI Settings for 2G Series Devices
print icon

Overview

Startup settings on a Just Add Power device define how the unit behaves when it powers on. Any changes made to these settings are not applied immediately and will only take effect after the device is rebooted.

Many settings are intended for specific installation scenarios and should not be applied as global defaults across all systems. Use caution when modifying startup parameters, especially in live systems.

Access

All startup settings are configured through the Command Line Interface (CLI), accessible using one of the following methods:

  • Telnet
    Connect to the device IP address on port 23
  • RS232
    • White 3-pin Molex connector on the bottom of the unit
    • Requires a Just Add Power debug cable
    • Serial settings: 115200-8n1

All startup settings are case-sensitive.

Formatting

Get All Startup Settings

astparam dump

Get Individual Startup Setting

astparam g [parameter]

Set Startup Setting

astparam s [parameter] [value]

Save Startup Settings

astparam save

Delay 1 Second

sleep 1

Reboot the Device

reboot

Erase a Setting

astparam s [parameter]

Chaining Settings

Multiple commands may be chained together using semicolons (;) and executed as a single line. After saving startup parameters, it is strongly recommended to insert a sleep 1 delay before rebooting to ensure changes are written to permanent memory.

astparam s ip_mode static;astparam s ipaddr 10.0.0.2;astparam s netmask 255.0.0.0;astparam s gatewayip 10.0.0.2;astparam save;sleep 1;reboot

Settings

Audio

Controls how audio services are handled on Encoders.

Name Parameter Value(s) Description Applicable Units Example
Encoder Audio Handling
v_rx_drv_option
0 Default on non-AVP Encoders. Preserves the source audio sampling rate. All Encoders
astparam s v_rx_drv_option 6
2 Default on AVP Encoders. Converts audio to 48 kHz.
6 Enables audio services without video present. Applies only to AVP Encoders.

DHCP Server

Allows a Receiver to operate as a DHCP server for devices connected to the Just Add Power network. IP addresses are assigned in the range x.x.x.200 – x.x.x.249.

Name Parameter Value(s) Description Applicable Units Example
DHCP Server
dhcp_server_enable
n Default. DHCP server disabled. All Receivers
astparam s dhcp_server_enable y
y Enable DHCP server.

Image Pull

Captures periodic still images from an Encoder or Decoder. Images are accessible to other devices on the network.

Name Parameter Value(s) Description Applicable Units Example
Image Pull
pull_on_boot
n Default. Image Pull disabled. All 2G Series devices
astparam s pull_on_boot 320_1_1
$A_$B_$C $A = Image resolution (160, 320, 640)
$B = Priority (1 = lower priority than video)
$C = Capture rate (0 = 10 fps, 1 = 1 fps)

IP

Configures IPv4 addressing for Just Add Power devices.

Name Parameter Value(s) Description Applicable Units Example
Mode
ip_mode
autoip Defaults to a 169.254.x.x address. All 2G Series devices
astparam s ip_mode static
static Uses a fixed IP address. Requires ipaddr, netmask, and gatewayip.
dhcp Requests an IP from a DHCP server. Reboots until one is available.
IP Address
ipaddr
$A.$B.$C.$D Static IP address for the device. All 2G Series devices
astparam s ipaddr 10.0.0.2
Subnet Mask
netmask
$A.$B.$C.$D Subnet mask for static IP mode. All 2G Series devices
astparam s netmask 255.0.0.0
Default Gateway
gatewayip
$A.$B.$C.$D Gateway address for static IP mode. All 2G Series devices
astparam s gatewayip 255.0.0.0

Serial / RS232

Enables RS232 communication through the serial port on Just Add Power devices.

Name Parameter Value(s) Description Applicable Units Example
Set Baud Rate
s0_baudrate
$A-8n1 $A = baud rate (default: 9600). All 2G Series devices
astparam s s0_baudrate 9600-8n1
astparam s s0_baudrate 38400-8n1
astparam s s0_baudrate 115200-8n1
Mode Usage Setting
Dumb Redirection Serial input enters the Encoder and is output from every Decoder viewing that Encoder.
astparam s soip_type2 y;astparam s soip_guest_on n;astparam save;sleep 1;reboot
Guest Mode Two-way serial with feedback. Network connects to port 6752 on a specific device.
astparam s soip_type2 y;astparam s soip_guest_on y;astparam save;sleep 1;reboot
CLI Access One-way serial output via Telnet (port 23). No feedback.
astparam s soip_type2 n;astparam s soip_guest_on y;astparam save;sleep 1;reboot

USB

Name Parameter Value(s) Description Applicable Units Example
Touchscreen Enable
no_kmoip
n Default. Touchscreen disabled. Smoother mouse movement. All 2G Series devices
astparam s no_kmoip y
y Touchscreen enabled. Mouse movement may be less smooth.

Video

Name Parameter Value(s) Description Applicable Units Example
1080i Handling
v_1080i_to_720p
y Default. Processes 1080i sources as 720p. All 2G Series Encoders
astparam s v_1080i_to_720p n
n Processes 1080i sources as 1080p.
HDCP Handling
Only one option may be enabled
v_reject_hdcp
n Default. Handles HDCP based on hardware capability. All 2G Series Encoders
astparam s v_reject_hdcp y
y Reports device as HDCP non-compliant.
hdcp_always_on
n Default. Uses normal HDCP behavior.
astparam s hdcp_always_on y
y Reports device as HDCP 1.4 compliant regardless of source.
Disable HDMI Output on Video Loss
v_turn_off_screen_on_pwr_save
n Default. Displays debug screen when video is lost. All 2G Series Decoders
astparam s v_turn_off_screen_on_pwr_save y
y Disables HDMI output after video loss.
v_src_unavailable_timeout
$A Delay in milliseconds before HDMI output is disabled. All 2G Series Decoders
astparam s v_src_unavailable_timeout 5000
Debug Text
ui_show_text
y Default. Shows text on debug screen. All 2G Series Decoders
astparam s ui_show_text n
n Hides debug text. May hinder troubleshooting.

Webname

Assigns a human-readable name to the device for identification purposes.

Name Parameter Value(s) Description Applicable Units Example
Webname
webname
$A Device name. Use quotes for multi-word names. All 2G Series devices
astparam s webname "Master Bedroom"
scroll to top icon