MCSCmd

Execute cmd on uC

MCSCmd

Shortest form: mcsc.

Send a control command to the firmware on an embedded core (see MCSMsg; messaging must be running). Written MCSCmd <ucnum> <command>. The command words ignore case but cannot be abbreviated, and exactly two words must follow the core number. The built-in help shows only stats reset; the shell also accepts CONSOLE ON and CONSOLE OFF. Any other combination prints the usage.

This changes firmware statistics or logging only; it does not affect forwarding.

Unvalidated

drivshell> mcscmd 0 stats reset
MCSCmd STATS RESET

Written MCSCmd <ucnum> STATS RESET. Reset the core’s firmware statistics. Prints Error: stats reset cmd fail on error.

Unvalidated

drivshell> mcscmd 1 stats reset
MCSCmd CONSOLE <ON | OFF>

Written MCSCmd <ucnum> CONSOLE ON|OFF. Turn the firmware’s console log on or off. Not in the built-in help.

Unvalidated

drivshell> mcscmd 0 console on

Built-in help

Parameters: <ucnum> <cmd>
    Execute cmd on uC
    ucnum = ucnum to start comminicating with (must start first).
    cmd = <stats reset>.