![Sferalabs Strato Bi Base SPMB30X41 User Manual Download Page 24](http://html1.mh-extra.com/html/sferalabs/strato-bi-base-spmb30x41/strato-bi-base-spmb30x41_user-manual_1250896024.webp)
Print “1” if the watchdog timeout is expired, “0” if not:
$
sudo strato watchdog timeout; echo $?
Power cycle
You can start a delayed power cycle by rising Raspberry Pi’s GPIO16 pin.
When GPIO16 is set to high, Strato Pi Base will wait 60 seconds and then power off the Pi
board for 5 seconds.
The power cycle also affects the VSOUT auxiliary power supply output.
See "Advanced configuration" below for alternative configurations.
To initiate a delayed power off cycle:
$
sudo strato shutdown
Advanced configuration
The Strato Pi Base logic controller can be configured from the Raspberry Pi to change the
default behavior and timing parameters of the hardware watchdog and the power cycle
functionalities.
The RX/TX switching mode (TX-Enable control) of the RS-485 serial port is also
configurable. Other than the default automatic switching, passive mode as well as fixed
serial parameters settings are available.
These configuration parameters can be accessed using the Strato Pi kernel module or
implementing the underlying ASCII-based serial protocol described in the "Strato Pi Logic
Controller Advanced Configuration Guide" document.
23
Strato Pi Base User Guide