III. Configuring with the command line interface

Configuring with the command line interface (CLI) does not replace basic device configuration. This should be done with the Visionect Configurator, and the CLI used for remote configuration, such as:

  • automating device configuration before delivery
  • debugging device operation in the field
Access the CLI by:
  • Clicking the ‘Console’ button in the Visionect Configurator
  • Using your own terminal software and connecting to the serial port settings configured to 115200 baud, 8 bit, no parity, 1 stop bit.
../_images/console_combined.png

Accessing the command line interface through the ‘Console’ button.

Basic configuration

To enter a command simply type it in and press enter.

  • help: Gets a printout of all available commands
  • sleep_conf_get: Displays current soft sleep mode setting
  • conn_type_list: Lists all the available connections
  • conn_type_set <type>: Sets active connectivity type
  • conn_type_get: Prints out the type of connectivity
  • wifi_conf_set <ssid> <psk> <security> <band>: Sets WiFi connection settings
  • wifi_conf_get: Gets WiFi configuration
  • mobile_conf_set <apn> <sec> <usr> <psk> <band>: Sets mobile connection settings
  • mobile_conf_get: Gets mobile configuration
  • flash_save: Saves settings into FLASH memory
  • reboot: Reboots device
  • fw_version_get: Shows system’s FW version
  • uuid_get: Prints out device’s uuid

Warning

All changes to device configuration are by default retained only in the working RAM. If you want your settings to persist across reboots, you will need to run flash_save before rebooting.

Warning

Some devices might stop operating after being connected to the configurator app after a while. Possible reason:

Some devices might stop operating after being connected to the Visionect Configurator a while. Nothing is wrong with the device; it might have simply entered ‘soft sleep’. This is a power save mode meant to conserve power, which activates after 15 seconds of physical inactivity (as detected by the accelerometer). For more information see Power save (soft sleep) mode.

Full command list

A full list of all the registered CLI commands for Visionect devices is available below. A list of all the available commands for a specific device can also be accessed by typing in the command help.

Note

The command list applies to the latest firmware version. If your device is missing some of the commands listed below or features a different output, it is probably running an outdated firmware.

  • bq24023_mode_get
Supported devices: Panda DS, V Tablet II

Displays charging state on devices that come with battery charger.

Example:

> bq24023_mode_get
BQ24023: fast charge
Battery current: 43 mA
Battery voltage: 4206 mV

  • bq_veps_mode_get
Supported devices: 32” driver

Displays charging state on 32” driver.

Example:

> bq_veps_mode_get
BQ_VEPS: charge disabled
Battery current: 0 mA
Battery voltage: 5000 mV

  • reboot
Supported devices: All

Reboots a device.

Example:

> reboot
Vplatform system reboot

  • uuid_get
Supported devices: All

Displays device’s UUID (unique identifier/serial number).

Example:

> uuid_get
UUID: 0x1e 0x0 0x57 0x0 0x13 0x51 0x34 0x33 0x37 0x38 0x37 0x31 0x0 0x0 0x0 0x0

  • conn_state_get
Supported devices: All

Displays current device connection state.

Example:

#powered on:
> conn_state_get
Connectivity powered on
#connected:
> conn_state_get
Connectivity on, tcp connected

  • uptime

Displays system uptime since last reboot [min].

Supported devices: All

Example:

> uptime
Uptime in min: 1

  • fw_checksum_get
Supported devices: All

Display application’s CRC; useful for debugging.

Example:

> fw_checksum_get
FW checksum: 0xb40428f8

  • cs <state>
Supported devices: All

Changes connection state.

Parameters:

State Description
0 power off connectivity device
1 power on connectivity device
2 associate to network (AP)
3 connect to server

Note

This command is used for testing purpose only and does not reflect regular connection process. It is recommended that you reboot the device if you want to enforce the network settings.

Example:

> cs 2
New connectivity state: 2
From state 3 going to state 2
--DS
TCP socket closed
New connectivity state: 2
Network in requested state
> cs 3
New connectivity state: 3
From state 2 going to state 3
TCP connection established
New connectivity state: 3
--EN
Network in requested state

  • fw_version_get
Supported devices: All

Displays system firmware information

Example:

> fw_version_get
#application firmware
FW Version: 0.15.1257
FW Build date: 10 18 2016
FW Crc=0xb40428f8, Hash=0xfcc9af96, Length=295720
#bootloader firmware
BL Version: 1.9.1257
BL Build date: 9 30 2016
Build Version: 0.15.1257-RC1.15+4fe767d
#hardware information
HW: Quad v0.6, BOM: 0, APP: Joan
#type of display and selected waveform
EPD: 1x31.2'',4x1440x640,WF=31.2_C227,IC=31.2_p101rev0050

  • display_conf_set <vcom1> <vcom2> ... <vcom16> <display_type>
Supported devices: All

Sets display configuration. VCOM should be in [mV]. For your display type value please contact our support.

Warning

Wrong VCOM setting can lead to unexpected display damage and/or reduce its lifespan!

Note

In case of 32” driver (up to rev.1.0), VCOM voltage must be set mechanically (Setting VCOM). Any VCOM settings will be ignored.

Example:

# setting VCOM "1590 mV" and display type "3"
> display_conf_set 1590 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3

  • display_conf_get
Supported devices: All

Displays configured VCOM(s) and display type.

Example:

> display_conf_get
Vcom 0: 2180 mV
Vcom 1: 0 mV
Vcom 2: 0 mV
Vcom 3: 0 mV
Vcom 4: 0 mV
Vcom 5: 0 mV
Vcom 6: 0 mV
Vcom 7: 0 mV
Display type: 2

  • flash_load
Supported devices: All

Reloads settings from the FLASH memory. If the FLASH has no settings, the defaults are loaded.

Example:

> flash_load

  • flash_save
Supported devices: All

Saves settings into FLASH memory.

Example:

> flash_save

  • flash_print
Supported devices: All

Displays settings from flash.

Example:

> flash_print

  • conn_type_list
Supported devices: All

Lists all the available connection types.

Example:

> conn_type_list
None (0)
RS9110 (1)
SIM5320 (2)

  • conn_type_get
Supported devices: All

Displays a currently active connection.

Example:

> conn_type_get
RS9113 (4) active

  • conn_type_set <type>
Supported devices: All

Sets a chosen active connectivity type.

> conn_type_set 4
CONN HAL: selected driver RS9113

  • wifi_conf_set <ssid> <psk> <security> <band>
Supported devices: Panda DS, V Tablet II, 32” driver rev.0.5 or newer

Sets WiFi connection settings.

Example:

#setting the device to connect to AP named "VISIONECT-TEST"
>  wifi_conf_set VISIONECT-TEST Password123 wpa2 0
WiFi settings set

  • wifi_ssid_set <ssid>
Supported devices: Panda DS, V Tablet II, 32” driver rev.0.5 or newer

Sets only WiFi SSID.

Example:

#setting the WiFi SSID named "VISIONECT-TEST"
> wifi_ssid_set VISIONECT-TEST
WiFi SSID set

  • wifi_psk_set <psk>
Supported devices: Panda DS, V Tablet II, 32” driver rev.0.5 or newer

Sets only WiFi password.

Example:

#setting the WiFi password named "Password123"
> wifi_psk_set Password123
WiFi PSK set

  • wifi_security_set <security>
Supported devices: Panda DS, V Tablet II, 32” driver rev.0.5 or newer

Set only WiFi security mode (open, wpa2).

Parameters:

open No encryption
wpa2 WPA2 encryption

Example:

> wifi_security_set wpa2
WiFi security set

  • wifi_conf_get
Supported devices: Panda DS, V Tablet II, 32” driver rev.0.5 or newer

Gets current WiFi configuration.

Example:

> wifi_conf_get
SSID: myAp
PSK: wpa2_pass
Security: wpa2
Band: 0

  • roaming_conf_set <mode> <threshold> <hysteresis>
Supported devices: V Tablet II, 32” driver rev.0.5 or newer

Sets WiFi roaming.

Sets WiFi roaming

Parameters:

Mode Description
0 Roaming disabled
1 Roaming enabled
Threshold Roaming threshold in RSSI (if AP RSSI below this value, search for another AP begins)
Hysteresis Roaming hysteresis in RSSI (safety margin to prevent excessive AP switching)

Example:

> roaming_conf_set 0 10 0
Roaming settings set

  • roaming_conf_get
Supported devices: V Tablet II, 32” driver rev.0.5 or newer

Displays WiFi roaming.

Example:

> system_conf_get
Roaming mode: 0
Roaming threshold: 10
Roaming hysteresis: 10

  • wifi_eap_conf_get
Supported devices: V Tablet II, 32” driver rev.0.5 or newer

Displays WiFi EAP configuration.

Example:

> wifi_eap_conf_get
EAP method:   TTLS
Username:     test123
Password:     user1

  • wifi_eap_conf_em_set <eap_method>
Supported devices: V Tablet II, 32” driver rev.0.5 or newer

Sets WiFi EAP method.

Parameters:

MEAP method Description
TLS set Transport Layer Security
TLS/MSCHAP set Tunneled Transport Layer Security
TTLS/MSCHAPV2 set Tunneled Transport Layer Security
FAST set Flexible Authentication via Secure Tunneling
PEAP/MSCHAP set Protected Extensible Authentication Protocol
PEAP/MSCHAPV2 set Protected Extensible Authentication Protocol

Example:

>  wifi_eap_conf_em_set TTLS
WiFi EAP method set

  • wifi_eap_conf_pwd_set <password>
Supported devices: V Tablet II, 32” driver rev.0.5 or newer

Sets WiFi EAP password.

Example:

#setting eap password named "test123"
> wifi_eap_conf_pwd_set test123
WiFi EAP password set

  • wifi_eap_conf_usr_set <username>
Supported devices: V Tablet II, 32” driver rev.0.5 or newer

Sets WiFi EAP username.

Example:

#setting eap username "user01"
> wifi_eap_conf_usr_set user01
WiFi EAP username set

  • certs_config_get
Supported devices: V Tablet II, 32” driver rev. 0.5 or newer

Displays WiFi certificate information.

Example:

> certs_config_get
No EAP certificates found!

  • mobile_conf_set <apn> <sec> <usr> <psk> <band>
Supported devices: Panda DS, 32” driver rev. 0.5 or newer

Sets mobile connection settings.

apn APN provided by Mobile Operator
security Authentication (PPP): pap/chap/none
user user name for APN
psk password for APN
band not used; set as 0

Example:

#setting mobile network with apn "internet.provider.net", chap authentication, username "user01" and password "test123"
> mobile_conf_set internet.provider.net chap user01 test123 0
Mobile settings set

  • mobile_apn_set <apn>
Supported devices: Panda DS, 32” driver rev. 0.5 or newer

Sets only mobile APN (provided by Mobile Operator).

Example:

#setting mobile apn named "internet.provider.net"
> mobile_apn_set internet.provider.net
Mobile APN set

  • mobile_password_set <psk>
Supported devices: Panda DS, 32” driver rev. 0.5 or newer

Sets only mobile password for APN (provided by Mobile Operator).

Example:

#setting mobile apn password named "test123"
> mobile_password_set test123
Mobile password set

  • mobile_username_set <user>
Supported devices: Panda DS, 32” driver rev. 0.5 or newer

Sets only mobile username for APN (provided by Mobile Operator).

Example:

#setting mobile username named "user01"
> mobile_username_set user01
Mobile username set

  • mobile_security_set <security>
Supported devices: Panda DS, 32” driver rev. 0.5 or newer

Sets mobile security (provided by Mobile Operator).

Example:

> mobile_security_set chap
Mobile security set

  • mobile_conf_get
Supported devices: Panda DS, 32” driver rev. 0.5 or newer

Gets mobile configuration.

Example:

> mobile_conf_get
APN: internet.mobile.net
Security: chap
Username: user01
Password: test123
Band: 0

  • server_tcp_set <ip> <port>
Supported devices: All

Sets server’s IP and port settings.

Example:

# example: connect my device to server "my_public_visionect_server.com" on port "11113"
> server_tcp_set my_public_visionect_server.com 11113

  • server_tcp_get
Supported devices: All

Displays server’s IP and port settings.

Example:

> server_tcp_get
Server IP/DNS: 192.168.1.15
Server port: 11113

  • server_hb_set <time>
Supported devices: All

Sets device heart-beat timeout [s].

Example:

#setting HB to 5 min
> server_hb_set 5
Heart-beat interval set

  • server_hb_get
Supported devices: All

Displays heart-beat interval [s].

Example:

> server_hb_get
Heart-beat interval: 5

  • conn_retry_set <time>
Supported devices: All

Sets device’s connection error interval [min].

Example:

#setting retry interval to 5 min
> conn_retry_set 5
Network retry interval set

  • conn_retry_get
Supported devices: All

Displays connection error retry interval [min].

Example:

> conn_retry_get
Network error retry interval: 5

  • ipv4_conf_set <ip> <nm> <gw> <dns> <mode>
Supported devices: All

Sets IPv4 configuration (ethernet settings).

Parameters:

IP IP address
NM Netmask
GW Gateway
MDNS DNS if existing
MODE 1 = DHCP used / 0 = fixed IP used

Example:

#example: ipv4 configuration setup
> ipv4_conf_set 192.168.101.21 255.255.255.0 192.168.101.250 0.0.0.0 0

  • ipv4_conf_get
Supported devices: All

Displays IPv4 configuration (ethernet settings).

Example:

> ipv4_conf_get
IP:  192.168.101.21
NM:  255.255.255.0
GW:  192.168.101.250
DNS: 0.0.0.0
MODE: 1

  • eth_conf_ext_set <mac> <trc> <trt>
Supported devices: Panda DS (ethernet), 32” drivers

Sets extented ethernet configuration.

Parameters:

mac Device own MAC address
trc Max.TCP retransmission counter
trt Max. TCP retransmission timeout in 100us steps

Example:

> eth_conf_ext_set 00:87:30:3c:01:70 8 2000
Ethernet settings set

  • eth_conf_set <mac>
Supported devices: Panda DS (ethernet), 32” drivers

Sets ethernet MAC address.

Example:

> eth_conf_set 00:87:30:3c:01:70
Ethernet settings set

  • eth_conf_get
Supported devices: Panda DS (ethernet), 32” drivers

Displays ethernet configuration (extended version).

Example:

> eth_conf_get
MAC: 00:87:30:3c:01:70
TRC: 8
TRT: 2000

  • accelerometer_conf_set <threshold_cnt> <debounce_cnt>
Supported devices: Panda DS, V Tablet II

Sets accelerometer sensor configuration.

Parameters:

threshold_cnt Upper accelerometer threshold in counts (0..30)
debounce_cnt Number of taps to be detected as single tap (0..254)

Example:

> accelerometer_conf_set 5 100
Accelerometer settings set

  • accelerometer_conf_get
Supported devices: Panda DS, V Tablet II

Displays accelerometer sensor configuration.

Example:

> accelerometer_conf_get
Threshold count: 5
Debounce count:  100

  • battery_conf_set <thr_off> <thr_on> <thr_cnt>
Supported devices: All

Sets a battery limits configuration.

Note

Don’t change default setting if you are not sure what are you doing!

Parameters:

thr_off Battery voltage [mV] where device starts to operate (0..4999)
thr_on Battery voltage [mV] where device requires charging (0..4999)
thr_cnt Number of battery voltage measurements prior bootloader reboot

Example:

> battery_conf_set 3600 3800 4
Battery settings set

  • battery_conf_get
Supported devices: All

Display battery configuration.

Example:

> battery_conf_get
Threshold OFF: 3600 mv
Threshold ON:  3800 mV
Threshold CNT: 15

  • system_conf_set <batt_ind_en> <touch_en> <ship_en>
Supported devices: All

Sets system configuration.

Note

Touch setting are only relevant for V Tablet II devices!

Parameters:

batt_ind_en Description
0 Device screens disabled
1 Only battery device screens enabled
2 Only not connected device screen enabled
3 Battery and not connected device screens enabled
touch_en Description
0 Touch is disabled and powered off
1 Touch is enabled, but beep on touch isn’t working
3 Touch is enabled, beep on touch is working
ship_en Description
1 shipping mode is enabled

Example:

> system_conf_set 0 1 0
System settings set

  • system_conf_get
Supported devices: All

Displays system configuration.

Example:

> system_conf_get
Battery indicator mode: 0
Touch screen mode: 1
Shipping mode: 0

  • feat_disable <key>: For internal (testing) use only!

  • feat_enable <key>: For internal (testing) use only!

  • feat_get: For internal (testing) use only!

  • status_get
Supported devices: All

Displays status packet.


  • pss
Supported devices: All

PV2 sends status packet.

Example:

> pss
-- Frame send 400 bytes
Setting heartbeat after 5 min
TCP data send
ACK!
Status sent

  • pts <x> <y>
Supported devices: V Tablet II 6”

PV2 simulates and sends touch.

Example:

> pts 100 200
Touch event sent

  • pgs
Supported devices: Panda DS, 32” driver rev.0.5 or newer

PV2 simulates and sends GPS packet.

Note

This command will only work in case of a specific firmware that supports GPs feature!


  • rs9110_fw_version
Supported devices: Panda DS

Displays WiFi FW version.

Example:

> rs9110_fw_version
RS9110: FW=4.7.1

  • rs9110_scan
Supported devices: Panda DS

Performs WiFi scan on RS9110. Scan works only in “cs 1” state.

Example:

> rs9110_scan
AP 0: SSID AP-TEST3, RSSI 45
AP 1: SSID Office1, RSSI 50
AP 2: SSID UNIFI, RSSI 53
AP 3: SSID Visionect-test1, RSSI 65
AP 4: SSID Visionect-test2, RSSI 83
AP 5: SSID Visionect-test3, RSSI 77

  • rs9110_mac_address
Supported devices: Panda DS

Displays WiFi MAC address.

Example:

> rs9110_mac_address
00:23:a2:47:af:05

  • rs9110_rssi
Supported devices: Panda DS

Reads RSSI value from RS9110 WiFi module.

Example:

> rs9110_rssi
RS9110: RSSI=-27 dBm

  • rs9113_upgrade_mode
Supported devices: V Tablet II, 32” driver rev. 0.5 or newer

Sets RS9113 into upgrade mode.

Note

Don’t use this setting if you are not sure what are you doing!


  • rs9113_fw_version
Supported devices: V Tablet II, 32” driver rev. 0.5 or newer

Displays RS9113 WiFi module FW version.

Example:

> rs9113_fw_version
RS9113: FW=1.4.0

  • rs9113_scan
Supported devices: V Tablet II, 32” driver rev. 0.5 or newer

Scans for WiFi APs. Scan works only in “cs 1” state.

Example:

> rs9113_scan
AP 0: SSID AP-TEST3, RSSI 45
AP 1: SSID Office1, RSSI 50
AP 2: SSID UNIFI, RSSI 53
AP 3: SSID Visionect-test1, RSSI 68
AP 4: SSID Visionect-test2, RSSI 83
AP 5: SSID Visionect-test3, RSSI 77

  • rs9113_rssi
Supported devices: V Tablet II, 32” driver rev. 0.5 or newe

Reads RSSI value from RS9113 WiFi module.

Example:

> rs9113_rssi
RS9113: RSSI=-29 dBm

  • rs9113_mac_address
Supported devices: V Tablet II, 32” driver rev. 0.5 or newer

Displays WiFi MAC address.

Example:

> rs9113_mac_address
00:23:a5:8e:6a:8c

  • rs9113_supply <mode>: For internal (testing) use only!

  • touch_sr_set <scan_rate>: For internal (testing) use only!

  • touch_fw_get
Supported devices: V Tablet II 6”

Displays touch module’s firmware version.

   > touch_fw_get
touch: FW ver 18.2, ID 0x00

  • touch_pwr_get: For internal (testing) use only!

  • touch_pwr_set <state>: For internal (testing) use only!

  • touch_hw_pwr <enable>: For internal (testing) use only!

  • touch_fw_update: For internal (testing) use only!

  • sim5320_rssi
Supported devices: Panda DS, 32” driver rev.0.5 or newer

Displays RSSI value for mobile connectivity mode.

Example:

> sim5320_rssi
SIM5320: RSSI=-57 dBm

  • play_music
Supported devices: V Tablet II, Panda DS

Plays a built-in song.

Example:

> play_music

  • cli_version_get
Supported devices: All

Displays current CLI version.

Example:

> cli_version_get
CLI version: 1.0

  • bsim <mode> <force>: For internal (testing) use only!

  • app_sleep <minutes>
Supported devices: All

Puts the app into deep sleep for a specific time [min].

Example:

> app_sleep 1
From state 3 going to state 0
--DS
TCP socket closed
New connectivity state: 2
From state 2 going to state 0
Connectivity down
New connectivity state: 1
From state 1 going to state 0
Module power off
New connectivity state: 0
Network in requested state
PSU DEINT
> I: Received event: Deep Sleep Req (14)

Note

The following few CLI commands are only relevant for 32” driver rev. 0.5 or newer and are related to small CPU (SCPU). For more details on SCPU commands please get in touch with our support.

  • scpu_power <mode>
Supported devices: 32” driver rev. 0.5 or newer

Sets the SCPU power.

Parameters:

mode Description
0 SCPU power-off
1 SCPU power-on

Example:

> scpu_power 1
SCPU rv: 0x0

  • scpu_status
Supported devices: 32” driver rev. 0.5 or newer

Reads the SCPU status.

Example:

> scpu_status
SCPU: status: 0x1
SCPU: error: 0x0
SCPU rv: 0x0

  • scpu_dev_ctl <mode>
Supported devices: 32” driver rev. 0.5 or newer

Sends device control command to the SCPU.

Parameters:

mode Description
0 Sleep indicator pin disabled
1 Sleep indicator pin enabled

Example:

> scpu_dev_ctl 1
SCPU rv: 0x0

  • scpu_fl_ctl <duty_cycle>
Supported devices: 32” driver rev. 0.5 or newer

Sends front-light control command to the SCPU.

Example:

> scpu_fl_ctl 100
SCPU rv: 0x0

  • scpu_upgrade
Supported devices: 32” driver rev. 0.5 or newer

Forces SCPU firmware upgrade.

Note

Don’t use this setting if you are not sure what are you doing!


  • scpu_version
Supported devices: 32” driver rev. 0.5 or newer

Reads the SCPU firmware version.

Example:

> scpu_version
SCPU ver: 0.0.235
SCPU rv: 0x0

  • scpu_meas
Supported devices: 32” driver rev. 0.5 or newer

Reads current SCPU measurements.

Example:

> scpu_meas
Status:       0x34
Ext. temp.:     26 degC
Ext. voltage: 2100 mV
Humidity:       30 %
Pressure:        0 kPa
SCPU temp.:     29 degC
SCPU voltage: 3300 mV
SCPU rv: 0x0

  • scpu_fl_mode <mode>
Supported devices: 32” driver rev. 0.5 or newer

Sets the cached (on MCPU) front-light mode setting bitmask.

Parameters:

mode Description
0x0 Front-light controlled automatically (using LDR/PWM table)
0x1 Front-light controlled via server
0x2 Front-light controlled via digital input (timeout is set with scpu_fl_senst command)
0x3 Not used
0x4 Front-light disabled if MCPU enters sleep mode (not yet supported)

Example:

> scpu_fl_mode 0x2

  • scpu_fl_pwmf <freq>
Supported devices: 32” driver rev. 0.5 or newer

Sets the cached (on MCPU) front-light PWM frequency setting. PWM frequency in Hz (must be in range [1 Hz - 250 kHz]).

Example:

#setting front-light PWM frequency 2kHz
> scpu_fl_pwmf 2000

  • scpu_fl_pref <coeff>
Supported devices: 32” driver rev. 0.5 or newer

Sets the cached (on MCPU) front-light exponential moving average LDR filter value (must be in range [0 - 100]).

Example:

> scpu_fl_pref 20

  • scpu_fl_postf <coeff>
Supported devices: 32” driver rev. 0.5 or newer

Sets the cached (on MCPU) front-light exponential moving average PWM filter value (must be in range [0 - 100]).

Example:

> scpu_fl_postf 20

  • scpu_fl_senst <timeout>
Supported devices: 32” driver rev. 0.5 or newer

Sets the cached (on MCPU) front-light sensor timeout value [seconds].

Example:

> scpu_fl_senst 10

  • scpu_fl_sr <samplerate>
Supported devices: 32” driver rev. 0.5 or newer

Sets the cached (on MCPU) front-light LDR/PWM logic samplerate setting (min. value = 1 second).

Example:

> scpu_fl_sr 1

  • scpu_fl_pwm_set <pwm0> ... <pwm7>
Supported devices: 32” driver rev. 0.5 or newer

Sets the cached (on MCPU) extension front-light WM table part.

Example:

> scpu_fl_pwm_set 0 10 20 30 40 50 60 70

  • scpu_fl_ldr_set <ldr0> ... <ldr7>
Supported devices: 32” driver rev. 0.5 or newer

Sets the cached (on MCPU) extension front-light LDR table part (raw LDR values).

Example:

> scpu_fl_ldr_set 0 32 64 128 256 512 1024 2048

  • scpu_ht_mode <mode>
Supported devices: 32” driver rev. 0.5 or newer

Sets the cached (on MCPU) heater mode setting bitmask.

Parameters:

mode Description
0x0 Heater operates normally
0x1 Heater disabled if MCPU enters sleep mode (not yet supported)

Example:

> scpu_ht_mode 0x0

  • scpu_ht_toff <temperature>
Supported devices: 32” driver rev. 0.5 or newer

Sets the cached (on MCPU) heater turn-off temperature value [°C].

Example:

#set the heater to turn off at 35°C
> scpu_ht_toff 35

  • scpu_ht_ton <temperature>
Supported devices: 32” driver rev. 0.5 or newer

Sets the cached (on MCPU) heater turn-on temperature value [°C].

Example:

#set the heater to turn on at -5°C
> scpu_ht_ton -5

  • scpu_dev_mode <mode>
Supported devices: 32” driver rev. 0.5 or newer

Sets the cached (on MCPU) device mode setting bitmask.

Parameters:

mode Description
0x0 Device operates normally
0x1 Temperature checking enabled (if ext. temp. not within specific limits, extension shuts down)
0x2 External battery checking enabled (if battery voltage not above specific limit, extension shuts down)

Example:

> scpu_dev_mode 0x0

  • scpu_dev_toff_min <temperature>
Supported devices: 32” driver rev. 0.5 or newer

Sets the cached (on MCPU) extension turn-off minimal temperature value [°C].

Example:

#setting extension turn-off minimal temperature -10 °C
> scpu_dev_toff_min -10

  • scpu_dev_toff_max <temperature>
Supported devices: 32” driver rev. 0.5 or newer

Sets the cached (on MCPU) extension turn-off maximal temperature value [°C].

Example:

#setting extension turn-off maximal temperature 60 °C

> scpu_dev_toff_max 60

  • scpu_dev_batt_thr <voltage>
Supported devices: 32” driver rev. 0.5 or newer

Sets the cached (on MCPU) extension turn-off minimal external battery threshold [mV].

Example:

> scpu_dev_batt_thr 60

  • scpu_config_get
Supported devices: 32” driver rev. 0.5 or newer

Transfers the configuration values from the SCPU into the MCPU cache and displays them via CLI.

Example:

> scpu_config_get

  • scpu_config_set
Supported devices: 32” driver rev. 0.5 or newer

Transfers the cached configuration values (on MCPU) into the SCPU.

Example:

> scpu_config_set
SCPU rv: 0x0

  • scpu_config_save
Supported devices: 32” driver rev. 0.5 or newer

Saves the SCPU configuration to the non-volatile memory on the SCPU.

Example:

   > scpu_config_save
   SCPU rv: 0x0

.. note::
   For more details on SCPU commands please get in touch with our support.

  • autoconn <timeout>
Supported devices: All

Disables auto-connect for a specific time [min].

Example:

#disable auto-connect for 1 minute
> autoconn 1

  • sleep_conf_set <mode>
Supported devices: All

Enables or disables a soft sleep mode.

Parameters:

Mode Description
0 Enabled soft sleep
1 Disabled soft sleep (CLI always active)
2 Accelerometer powered down when CLI command received

Example:

#disable soft sleep mode
> sleep_conf_set 1
Sleep settings set

  • sleep_conf_get
Supported devices: All

Displays current soft sleep mode setting.

0 Device operates normally
1 Device doesn’t go to low power mode (to have always active CLI)
2 Accelerometer is powered down when sleep command is received (CLI not accessible during sleep)

Example:

> sleep_conf_get
Sleep mode: 0