pub fn modulation( msg_id: u8, mod_data: &[u8], is_first_frame: bool, freq_div: u32, is_last_frame: bool, tx: &mut TxDatagram) -> Result<()>