Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
ECSS Services
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AcubeSat-OBC
ECSS Services
Commits
416833da
Commit
416833da
authored
6 years ago
by
thodkatz
Browse files
Options
Downloads
Patches
Plain Diff
Formatting comments
parent
b5d52743
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Services/RequestVerificationService.cpp
+5
-5
5 additions, 5 deletions
src/Services/RequestVerificationService.cpp
src/Services/TestService.cpp
+1
-1
1 addition, 1 deletion
src/Services/TestService.cpp
with
6 additions
and
6 deletions
src/Services/RequestVerificationService.cpp
+
5
−
5
View file @
416833da
...
@@ -7,7 +7,7 @@ void RequestVerificationService::successAcceptanceVerification(Message::PacketTy
...
@@ -7,7 +7,7 @@ void RequestVerificationService::successAcceptanceVerification(Message::PacketTy
uint16_t
packetSeqCount
)
{
uint16_t
packetSeqCount
)
{
// TM[1,1] successful acceptance verification report
// TM[1,1] successful acceptance verification report
//parameters have max values defined from standard
//
parameters have max values defined from standard
assert
(
apid
<
2048
);
assert
(
apid
<
2048
);
assert
(
seqFlag
<
4
);
assert
(
seqFlag
<
4
);
assert
(
packetSeqCount
<
16384
);
assert
(
packetSeqCount
<
16384
);
...
@@ -32,7 +32,7 @@ RequestVerificationService::failAcceptanceVerification(Message::PacketType packe
...
@@ -32,7 +32,7 @@ RequestVerificationService::failAcceptanceVerification(Message::PacketType packe
uint16_t
errorCode
)
{
uint16_t
errorCode
)
{
// TM[1,2] failed acceptance verification report
// TM[1,2] failed acceptance verification report
//parameters have max values defined from standard
//
parameters have max values defined from standard
assert
(
apid
<
2048
);
assert
(
apid
<
2048
);
assert
(
seqFlag
<
4
);
assert
(
seqFlag
<
4
);
assert
(
packetSeqCount
<
16384
);
assert
(
packetSeqCount
<
16384
);
...
@@ -56,7 +56,7 @@ void RequestVerificationService::successExecutionVerification(Message::PacketTyp
...
@@ -56,7 +56,7 @@ void RequestVerificationService::successExecutionVerification(Message::PacketTyp
uint16_t
packetSeqCount
)
{
uint16_t
packetSeqCount
)
{
// TM[1,7] successful completion of execution verification report
// TM[1,7] successful completion of execution verification report
//parameters have max values defined from standard
//
parameters have max values defined from standard
assert
(
apid
<
2048
);
assert
(
apid
<
2048
);
assert
(
seqFlag
<
4
);
assert
(
seqFlag
<
4
);
assert
(
packetSeqCount
<
16384
);
assert
(
packetSeqCount
<
16384
);
...
@@ -81,7 +81,7 @@ RequestVerificationService::failExecutionVerification(Message::PacketType packet
...
@@ -81,7 +81,7 @@ RequestVerificationService::failExecutionVerification(Message::PacketType packet
uint16_t
errorCode
)
{
uint16_t
errorCode
)
{
// TM[1,8] failed completion of execution verification report
// TM[1,8] failed completion of execution verification report
//parameters have max values defined from standard
//
parameters have max values defined from standard
assert
(
apid
<
2048
);
assert
(
apid
<
2048
);
assert
(
seqFlag
<
4
);
assert
(
seqFlag
<
4
);
assert
(
packetSeqCount
<
16384
);
assert
(
packetSeqCount
<
16384
);
...
@@ -107,7 +107,7 @@ RequestVerificationService::failRoutingVerification(Message::PacketType packetTy
...
@@ -107,7 +107,7 @@ RequestVerificationService::failRoutingVerification(Message::PacketType packetTy
uint16_t
errorCode
)
{
uint16_t
errorCode
)
{
// TM[1,10] failed routing verification report
// TM[1,10] failed routing verification report
//parameters have max values defined from standard
//
parameters have max values defined from standard
assert
(
apid
<
2048
);
assert
(
apid
<
2048
);
assert
(
seqFlag
<
4
);
assert
(
seqFlag
<
4
);
assert
(
packetSeqCount
<
16384
);
assert
(
packetSeqCount
<
16384
);
...
...
This diff is collapsed.
Click to expand it.
src/Services/TestService.cpp
+
1
−
1
View file @
416833da
...
@@ -12,6 +12,6 @@ void TestService::onBoardConnection(Message &request) {
...
@@ -12,6 +12,6 @@ void TestService::onBoardConnection(Message &request) {
Message
report
=
createTM
(
4
);
Message
report
=
createTM
(
4
);
report
.
appendUint16
(
request
.
readUint16
());
report
.
appendUint16
(
request
.
readUint16
());
//just print it on the screen
//
just print it on the screen
storeMessage
(
report
);
storeMessage
(
report
);
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment