2.5 Command line interface (CLI)
Table 2.1 describes all commands with syntax that are available.
Table 2.1
CLI Kommandos
Command
Description
cal cmps
activates/deactivates the compass calibration mode.
cal gyro [--state]
calibrates Gyro offsets. If the parameter “–state” is specified, the current
progress is output.
cal line “BLACK/WHITE”
Calibrates Black-/White-Offset of the Line-Follower Sensors.
cal prox “sensor”
“xNear” “mmNear”
“xFar” “mmFar”
calibrates sensor: FL/FM/FR/RL/RM/RR.
conf “cmd” “sensor”
configures the proximity sensors: FL/FM/FR/RL/RM/RR. Commands
(cmd): “add” “del” “read” “save”
light “on/off”
Toggles driver lights on/off.
cal temp “refTemp”
Calibration of temperatur-offset. Example: “Room Temperature” = 20.0
°C .
setrtc “H_M_S_W_D_M_Y”
Set RTC to system time.
wlan AP ssid “SSID”
Set SSID in AdHoc mode to “SSID”.
wlan AP passwd “passwd”
Set password in AdHoc mode to “passwd”.
wlan AP txpwr “pwr”
Set transmit power in AdHoc mode to “pwr”.
“pwr” Is a number between 0 and 15. “0” is the maximum transmit power.
Maximum efficiency is reached at“pwr” = 4.
wlan AP channel “ch”
Set WLAN channel in AdHoc mode.
“ch” is a number between 0 and 13.
“ch” = 0 for automatic channel selection.
wlan AP MODE
Switches Marvin to AdHoc mode.
wlan STA addprofile
“SSID” “passwd”
Joins the network with the SSID “SSID” and the password “passwd”. In
the future, it will automatically try to connect to this network.
wlan STA delprofile “ID”
Deletes the WLAN profile with ID “ID”. The ID “-1” deletes all profiles.
wlan STA txpwr “pwr”
Set transmit power in Infrastruktur mode to “pwr”.
“pwr” is a number between 0 and 15. “0” is the maximum transmit power.
Maximum efficiency is reached at “pwr” = 4.
wlan STA ipcfg
“DHCP” | “IP” “mask” “gw”
“dns”
Enabled in Infrastructure mode DHCP or sets a static IP address.
“IP”, “mask”, “gw” and “dns” are IPv4 addresses.
wlan STA MODE
Switches Marvin to Infrastructure mode.
wlan STA SCAN
Scans for available WLAN networks.
wlan DEFAULT
Resets the WLAN module to factory settings.
wlan getIP
Returns the current IP address.
version
Outputs firmware version number.
security updatekey
“key.der”
Copy HTTPS key from the SD card to the WiFi module.
security updatecert
“cert.der”
Copy HTTPS certificate from the SD card to the WiFi module.
security htpasswd
“user:passwd”
Set web server username and password.
The “security” commands are only available in C++ mode under Linux
AREXX Engineering & JM³ Engineering
Version: 1.3.1
October 27, 2017
Page: 23