-
Notifications
You must be signed in to change notification settings - Fork 3
Command List
Change the timeout behavior for the heartbeat and current. Currently, only heartbeat timeouts are supported.
# disable watching the coresense heartbeat
$ wagman-client watch 2 hb f
# enable watching the coresense heartbeat
$ wagman-client watch 2 hb tDisables a device from being powered on automatically. Note that this doesn't immediately stop a device.
# disable the coresense
$ wagman-client disable 2Enables a device to be powered on automatically. Note that this doesn't immediately start the device.
# enable the coresense
$ wagman-client enable 2Gets / sets the RTC date.
# gets the date
$ wagman-client date
# sets the date
$ wagman-client date 2016 03 15 13 00 00Gets / sets the next boot media for a device. The possible boot media are sd
and emmc.
# gets the selected boot media for the node controller.
$ wagman-client bs 0
# set the selected boot media for the guest node to sd
$ wagman-client bs 1 sd
# set the selected boot media for the guest node to emmc
$ wagman-client bs 1 emmc$ wagman-client bf$ wagman-client cuGets the onboard temperature and humidity sensor values.
$ wagman-client envGets the number of device failures for each device. Currently, this only includes heartbeat timeouts. Device0 Device1 ... Device4
$ wagman-client fc$ wagman-client hbGets the milliseconds since epoch from the RTC.
$ wagman-client rtc$ wagman-client thGets the system uptime in seconds.
$ wagman-client upGets the number of times the system has booted.
$ wagman-client bootsGets the bootloader stage boot / media flag for the node controller. The output indicates whether the node controller will be started in the bootloader stage and if so, with which boot media.
$ wagman-client blfGets the onboard Wagman ID.
$ wagman-client idGets the hardware / firmware versions of the system.
$ wagman-client verRequests that the system resets its persistent EEPROM on the next reboot.
# request a eeprom reset
$ wagman-client eereset
# reset the wagman
$ wagman-client resetResets the Wagman with an optional delay.
# resets the wagman immediately
$ wagman-client reset
# resets the wagman after 90 seconds
$ wagman-client reset 90Sends an "external" heartbeat signal for a device.
# resets heartbeat timeout on device 1
$ wagman-client ping 1Starts a device.
# start the node controller
$ wagman-client start 0
# start the guest node
$ wagman-client start 1Stops a device with an optional delay.
# stop guest node after 30 seconds
$ wagman-client stop 1 30
# stop guest node immediately
$ wagman-client stop 1 0