See below for a list of commands available for use in Portal3's in-app command terminal.
General Device Commands
| Command | Description |
show_overlay | Turn on the device diagnostic overlay. |
hide_overlay | Turn off the device diagnostic overlay. |
set_orientation:=(desired orientation) | Used to set device orientation. Possible parameters:
|
get_orientation | Returns current orientation. |
clear_cache | Deletes all cached assets and Schedules. |
get_time | Pulls current device time. |
get_running_downloads | Returns currently downloading items for the device. |
get_running_packages | Returns all running APKs on the device. |
su_reboot | Reboots device. |
get_timezone | Returns current timezone for device. |
set_timezone:=(timezone) | Sets timezone for device. Timezone must be formatted based on current in-app formatting, e.g., America/New_York |
reset_logo | Resets device logo to Videri’s logo. |
update_logo:=(URL to desired image) | Changes Videri’s logo to a different logo. Desired image URL must be publicly available. |
Backlight Commands
| Command | Description |
sleep | Turns off the backlight. |
wake_up | Turn on the backlight. |
set_brightness:= | Adjusts brightness to a specified values. Possible values: 0-255, with 0 being off and 255 being max brightness. |
get_brightness:= | Returns the current brightness value. |
auto_on_off_enable | Enables backlight schedule. |
auto_on_off_disable | Disables backlight schedule. |
auto_on_off_get | Returns the current backlight schedule. |
auto_on_off_set:=on:XX:XX off:XX:XX | Sets the on/off times for the backlight schedule on a device. Values must be set in 24Hr format, e.g., 15:00 |
Network Commands
| Command | Description |
ssid_scan | Scans for nearby SSIDs. |
get_advanced_wifi_stats | Returns advanced network stats, e.g., |
mac_address | Returns MAC address of the device. |
connect_ssid:= Wifiname | WifiPassword | true | false | | Connects the device to a different SSID. Device must be online for this to work. |
forget_all_wifi_networks | Forgets all know SSIDs. |
forget_ssid:=(SSID name) | Forgets the specified SSID. |
Bluetooth Commands
| Command | Description |
bluetooth_discover | Scans for available Bluetooth devices. |
bluetooth_list_discover | Lists scanned Bluetooth devices. Use this command to pull the MAC address of a device. |
bluetooth_confirm:=(device MAC address) | Pairs an available Bluetooth device to the device. |
bluetooth_list_paired | Shows all paired Bluetooth devices. |
bluetooth_list_delete:=(device MAC address) | Forgets the paired device. |
Update Commands
| Command | Description |
check_triage | Checks triage without forcing updates. |
check_triage:=true | Checks triage and forces update if available. |
Comments
0 comments
Article is closed for comments.