tof_dataclasses::commands::factory

Function shutdown_ratpair

Source
pub fn shutdown_ratpair(pdu: u8, pduchannel: u8) -> Option<TofCommandV2>
Expand description

Send the ‘sudo shutdown now’ command to all RBs in a RAT

This will prepare the shutdown command for the RBs in the RATs which are connected to a specific pdu channel

§Arguments:

  • pdu : PDU ID (0-3)
  • pduchannel : PDU Channel (0-7)