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 Independence Day: July 4th. Normal hours resume July 7th.
Home > Device Management > 2G Series Device Management > CLI Settings for 2G Series Devices
CLI Settings for 2G Series Devices
print icon

Overview

Settings on Just Add Power alter the behavior of the device upon start-up. Settings that are changed will not be active immediately; they will be applied upon the next start-up. Many settings should be altered according to the unique situation present in each installation and are not recommended as blanket settings for all systems.


Access

All Settings should be entered via the Command Line Interface accessible via:

  • Telnet to the IP of the unit, at port 23
  • RS232
    • White, 3-pin molex connector on the bottom of the unit. Make or request a Debug Cable to access.
    • 115200-8n1 baud rate

All 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 can be chained together to be applied simultaneously. Separate each command with a semicolon (;). Recommend adding Delay 1 Second after Save to ensure that the device has time needed to commit changes to permanent memory.

Example

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

Modify the way Encoder services are processed.

Name Parameter Value(s) Description Applicable Units Example
Encoder Audio Handling v_rx_drv_option 0 Default on non-AVP Encoders.
Preserve audio sampling from source.
All Encoders astparam s v_rx_drv_option 6
2 Default on AVP Encoders.
Convert audio to 48kHz.
6 Enable audio services without video present.
Only applicable to AVP Encoder.

DHCP Server

Allow a Just Add Power Receiver to hand out IP addresses to other devices. Allows for direct IP access to devices connected to the Just Add Power network. The DHCP server will hand out IP addresses from x.x.x.200-.249.

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

Image Pull

Snapshot the video on a Encoder or Decoder. The snapshot can be accessed by any device on the network.

Name Parameter Value(s) Description Applicable Units Example
Image Pull pull_on_boot n Default. Disable Image Pull. All 2G Series devices astparam s pull_on_boot 320_1_1
$A_$B_$C $A = size of the image. 160, 320, 640
$B = 1. Lower priority than video.
$C = Frequency of Image Pull. 0 means 10fps. 1 means 1fps.

IP

Modify IPv4 settings on any Just Add Power device.

Name Parameter Value(s) Description Applicable Units Example
Mode ip_mode autoip Device defaults to 169.254.x.x All 2G Series devices astparam s ip_mode static
static Consistent IP address. Must also assign ipaddr, netmask, gatewayip
dhcp Get IP from DHCP server. If no server, reboot until server is present.
IP Address ipaddr $A.$B.$C.$D IP address for device in IP Mode Static. All 2G Series devices astparam s ipaddr 10.0.0.2
Subnet Mask netmask $A.$B.$C.$D Subnet mask for device in IP Mode Static. All 2G Series devices astparam s netmask 255.0.0.0
Default Gateway gatewayip $A.$B.$C.$D Default gateway for device in IP Mode Static. All 2G Series devices astparam s gatewayip 255.0.0.0

Serial/RS232

Send RS232 commands to endpoint devices using the RS232 port on any Just Add Power device.

Name Parameter Value(s) Description Applicable Units Example
Set Baudrate s0_baudrate $A-8n1 $A = baudrate. 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 Input: Serial into Encoder.
Output: Serial out from every Decoder watching that Encoder.
astparam s soip_type2 y;astparam s soip_guest_on n;astparam save;sleep 1;reboot
Guest Mode Two-directional with feedback.
Input: Network connection into any device IP address: port 6752.
Output: Serial out from the device with that IP address.
astparam s soip_type2 y;astparam s soip_guest_on y;astparam save;sleep 1;reboot
CLI Access One-direction - no feedback
Input: Network connection into any device IP address: port 23.
Output: Serial out from the device with that IP address.
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 movements. All 2G Series devices astparam s no_kmoip y
y Touchscreen enabled. Less-smooth mouse movements.

Video

Name Parameter Value(s) Description Applicable Units Example
1080i Handling v_1080i_to_720p y Default. Process 1080i as 720p. All 2G Series Encoders astparam s v_1080i_to_720p n
n Process 1080i as 1080p.
HDCP Handling
Only one of these settings can be 'y'
v_reject_hdcp n Default. Handle HDCP according to device hardware. All 2G Series Encoders astparam s v_reject_hdcp y
y Report as HDCP non-compliant device.
hdcp_always_on n Default. Handle HDCP according to device hardware. astparam s hdcp_always_on y
y Report as HDCP 1.4 compliant regardless of source settings
Disable Encoder HDMI when video lost v_turn_off_screen_on_pwr_save n Default. Show debug screen when video lost All 2G Series Decoders astparam s v_turn_off_screen_on_pwr_save y
y Stop HDMI output when video lost.
Timing based on v_src_unavailable_timeout value.
v_src_unavailable_timeout $A $A = time in ms (1000ms = 1sec) before HDMI dropout All 2G Series Decoders astparam s v_src_unavailable_timeout 5000
Debug Text ui_show_text y Default. Show text on debug screen. All 2G Series Decoders astparam s ui_show_text n
n Hide text on debug screen.
Warning: may hinder troubleshooting.

Webname

Name a Just Add Power device.

Name Parameter Value(s) Description Applicable Units Example
Webname webname $A $A = Name for device. Use quotes if more than one word. All 2G Series devices astparam s webname "Master Bedroom"
scroll to top icon