# Console API
# General
# help
Get a list of all available commands
# v
Parameters: none
Read the current version of the firmwares
# reset
Parameters: none
Reset the board via a software reset.
# rb
Read back bytes from the internal flashing.
Parameters: [1] start, [2] stop
[1] - uin32
- 0..0x40000: start byte of the readout
[2] - uin32
- 0..0x40000: end byte of the readout
# jumpbl
Jump back to the bootloader and stay there.
Parameters: none
# jump
Parameters: [1] target
[1] - uint8:
- 1: firmware loader
- 2: tag
- 3: anchor
# System
# free
Free memory on the stack/heap.
Parameters: none
# uptime
Uptime in seconds since last reboot.
Parameters: none
# synctime
Synchronized system time. Expressed in microseconds.
Parameters: none
# ps
List of all running threads
Parameters: none
# stats
Statistics of the board (diagnostic statistics, algorithmic statistics, ...).
Parameters: none
# Network anchor only
# inetinfo
Display all the inet info such as IP address, netmask and gateway.
Parameters: none
# setip
Set the IP address
Parameters: [1] ip, [2] netmask, [3] gateway
[1] - IP format:
- e.g. 192.168.0.101
[2] - IP format:
- e.g. 255.255.255.0
[3] - IP format:
- e.g. 192.168.0.1
# Sensors
# ssr
Set the sample rate of sensor
Parameters: [1] sensor, [2] rate
[1] - uint8:
- 1: accelerometer
- 2: gyroscope
- 3: magnetometer
- 4: pressure sensor
- 5: ...
[2] - uint16:
- 0..1000 for accelerometer and gyroscope
- 0..80 for magnetometer