CORDET Framework - C2 Implementation
CrMaInRepTempViolation.c File Reference

Implementation of the Temperature Limit Violation InReport. More...

Go to the source code of this file.

Functions

CrFwBool_t CrMaInRepTempViolationValidityCheck (FwPrDesc_t prDesc)
 Implementation of the Validity Check Operation for the Master Application. More...
 
void CrMaInRepTempViolationUpdateAction (FwPrDesc_t prDesc)
 Implementation of the Update Action Operation for the Master Application. More...
 

Detailed Description

Implementation of the Temperature Limit Violation InReport.

Author
Vaclav Cechticky vacla.nosp@m.v.ce.nosp@m.chtic.nosp@m.ky@p.nosp@m.np-so.nosp@m.ftwa.nosp@m.re.co.nosp@m.m
Alessandro Pasetti paset.nosp@m.ti@p.nosp@m.np-so.nosp@m.ftwa.nosp@m.re.co.nosp@m.m

This file is part of the CORDET Framework.

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/.

For information on alternative licensing, please contact P&P Software GmbH.

Definition in file CrMaInRepTempViolation.c.

Function Documentation

void CrMaInRepTempViolationUpdateAction ( FwPrDesc_t  prDesc)

Implementation of the Update Action Operation for the Master Application.

This function writes a message to stdout with the following information:

  • the sequence counter of the incoming report
  • the source application for the incoming report (either Slave 1 or Slave 2)
  • the value of the temperature which violates the limit

This function assumes that the temperature is stored in the first byte of the parameter area of the report packet.

Parameters
prDescthe descriptor of the InReport procedure

Definition at line 47 of file CrMaInRepTempViolation.c.

CrFwBool_t CrMaInRepTempViolationValidityCheck ( FwPrDesc_t  prDesc)

Implementation of the Validity Check Operation for the Master Application.

This function always returns true.

Parameters
prDescthe descriptor of the InReport reset procedure
Returns
always return true

Definition at line 42 of file CrMaInRepTempViolation.c.

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