From 3841739c46f514a95738c6baedc5ef5e16539146 Mon Sep 17 00:00:00 2001 From: Dimitrios Stoupis <dimitris.apple@gmail.com> Date: Fri, 15 Mar 2019 23:20:16 +0000 Subject: [PATCH] Added the request to TM[11,10] report --- src/Services/TimeBasedSchedulingService.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Services/TimeBasedSchedulingService.cpp b/src/Services/TimeBasedSchedulingService.cpp index 8d1beceb..85b6f816 100644 --- a/src/Services/TimeBasedSchedulingService.cpp +++ b/src/Services/TimeBasedSchedulingService.cpp @@ -200,13 +200,14 @@ void TimeBasedSchedulingService::detailReportAllActivities(Message &request) { assert(request.serviceType == 11); assert(request.messageType == 16); - for (auto const &activity : scheduledActivities) { + for (auto& activity : scheduledActivities) { // Create the report message object of telemetry message subtype 10 for each activity Message report = createTM(10); // todo: append sub-schedule and group ID if they are defined - // todo: append the request contained in the activity "activity.request;" - // todo: important todo, implement append TC packet in the Message header + report.appendUint32(activity.requestReleaseTime); // todo: Replace with the time parser + report.appendString(msgParser.convertTCToStr(activity.request)); + storeMessage(report); // Save the report request.resetRead(); // todo: define if this statement is required } -- GitLab