added debug output in action reply handler and tm handling in tmtcpy, ready to merge into main
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
use log::{error, warn};
|
||||
use log::{debug, error, warn};
|
||||
use ops_sat_rs::config::tmtc_err;
|
||||
use satrs::action::{ActionRequest, ActionRequestVariant};
|
||||
use satrs::params::WritableToBeBytes;
|
||||
@ -278,6 +278,7 @@ pub fn send_data_reply<TmSender: EcssTmSender>(apid_target: UniqueApidTargetId,
|
||||
data.extend(apid_target.apid.to_be_bytes());
|
||||
data.extend(apid_target.unique_id.to_be_bytes());
|
||||
data.extend(reply_data);
|
||||
debug!("{}", String::from_utf8(data.clone()[6..].to_vec()).expect("Error decoding data reply."));
|
||||
let data_reply_tm = PusTmCreator::new(
|
||||
sp_header,
|
||||
sec_header,
|
||||
|
Reference in New Issue
Block a user