CORDET Framework - C2 Implementation

Implementation of the PUS extension error reporting interface for the Test Application. More...

Go to the source code of this file.

Functions

void CrPsRepErr (CrPsRepErrCode_t errCode, CrFwServType_t tmtcType, CrFwServSubType_t tmtcSubType, CrFwDiscriminant_t tmtcDiscriminant)
 Report an error which has no parameters attached to it. More...
 
void CrFwRepErrInstanceIdAndDest (CrFwRepErrCode_t errCode, CrFwTypeId_t typeId, CrFwInstanceId_t instanceId, CrFwInstanceId_t secondaryInstanceId, CrFwDestSrc_t dest)
 Report an error which has two parameters attached to it representing the instance identifier of a component other than the originator of the error report (the secondary instance identifier) and a command or report destination. More...
 

Detailed Description

Implementation of the PUS extension error reporting interface for the Test Application.

See also
CrFwRepErr.h

This implementation writes the error reports to standard output.

Authors
V. Cechticky and A. Pasetti
Author
Christian Reimers chris.nosp@m.tian.nosp@m..reim.nosp@m.ers@.nosp@m.univi.nosp@m.e.ac.nosp@m..at
Markus Rockenbauer marku.nosp@m.s.ro.nosp@m.ckenb.nosp@m.auer.nosp@m.@univ.nosp@m.ie.a.nosp@m.c.at

last modification: 22.01.2018

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Definition in file CrPsRepErr.c.

Function Documentation

void CrFwRepErrInstanceIdAndDest ( CrFwRepErrCode_t  errCode,
CrFwTypeId_t  typeId,
CrFwInstanceId_t  instanceId,
CrFwInstanceId_t  secondaryInstanceId,
CrFwDestSrc_t  dest 
)

Report an error which has two parameters attached to it representing the instance identifier of a component other than the originator of the error report (the secondary instance identifier) and a command or report destination.

This function generate an error report with two parameters.

Parameters
errCodethe error code
instanceIdthe instance identifier of the component which raises the error report
typeIdthe type identifier of the component which raises the error report
secondaryInstanceIdinstance identifier of a component other than the originator of the error report
desta command or report destination

Definition at line 56 of file CrPsRepErr.c.

void CrPsRepErr ( CrPsRepErrCode_t  errCode,
CrFwServType_t  repType,
CrFwServSubType_t  repSubType,
CrFwDiscriminant_t  repDiscriminant 
)

Report an error which has no parameters attached to it.

This function generate an error report without error parameters.

Parameters
errCodethe error code
repTypethe type of the component which raises the error report
repServSubTypethe sub type of the component which raises the error report
repDiscriminantthe discriminant of the component which raises the error report

Definition at line 37 of file CrPsRepErr.c.

P&P Software GmbH, Copyright 2012-2013, All Rights Reserved