pub fn gain_stm_normal_duty_body( duty: &[Duty], is_first_frame: bool, freq_div: u32, is_last_frame: bool, tx: &mut TxDatagram) -> Result<()>