diff --git a/inc/Services/TimeManagementService.hpp b/inc/Services/TimeManagementService.hpp index d006a5d712b27ffc0218ef31dee469d5bb7d411a..0b4c727acca1019c9f43767d48b9c6c5706c99ce 100644 --- a/inc/Services/TimeManagementService.hpp +++ b/inc/Services/TimeManagementService.hpp @@ -31,6 +31,18 @@ public: * or should ignore the standard? */ void cucTimeReport(); + + /** + * TC[9,128] + * + * This function is a custom subservice(mission specific) with message type 128(as defined + * from the standard for custom message types, 5.3.3.1.f) and it parses the data of the + * time-management telecommand packet + * + * @param messageTime The class-member `data` of /p has the data for the time configuration + * (a CUC format as described in the documentation of the class TimeHelper) + */ + void parseTime(Message &messageTime); }; diff --git a/src/Services/TimeManagementService.cpp b/src/Services/TimeManagementService.cpp index 2b3feb68aa059b7131863d84cd2d6e79d8328fa1..649ffe60e99db8915bf714df373e563b5fe24bca 100644 --- a/src/Services/TimeManagementService.cpp +++ b/src/Services/TimeManagementService.cpp @@ -18,3 +18,7 @@ void TimeManagementService::cucTimeReport() { storeMessage(timeReport); } + +void TimeManagementService::parseTime(Message &messageTime) { + +}