This file implements SbgECom commands related to outputs. More...
Go to the source code of this file.
Classes | |
struct | _SbgEComLegacyConf |
Typedefs | |
typedef struct _SbgEComLegacyConf | SbgEComLegacyConf |
typedef enum _SbgEComLegacyEndian | SbgEComLegacyEndian |
typedef enum _SbgEComLegacyFormat | SbgEComLegacyFormat |
typedef enum _SbgEComOutputMode | SbgEComOutputMode |
typedef enum _SbgEComOutputMonitoringPoint | SbgEComOutputMonitoringPoint |
typedef enum _SbgEComOutputPort | SbgEComOutputPort |
This file implements SbgECom commands related to outputs.
Copyright (C) 2007-2013, SBG Systems SAS. All rights reserved.
This source code is intended for use only by SBG Systems SAS and those that have explicit written permission to use it from SBG Systems SAS.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
Definition in file sbgEComCmdOutput.h.
typedef struct _SbgEComLegacyConf SbgEComLegacyConf |
Helper structure to configure legacy output.
typedef enum _SbgEComLegacyEndian SbgEComLegacyEndian |
List of available legacy output endiannesses.
typedef enum _SbgEComLegacyFormat SbgEComLegacyFormat |
List of available legacy output format.
typedef enum _SbgEComOutputMode SbgEComOutputMode |
List of output modes available.
Defines which monitoring point to use for an output port. This feature enabled deporting measurements at a specific monitoring point.
typedef enum _SbgEComOutputPort SbgEComOutputPort |
List of ouput ports available.
enum _SbgEComLegacyEndian |
List of available legacy output endiannesses.
Enumerator | |
---|---|
SBG_ECOM_LEGACY_LITTLE_ENDIAN |
Data is output in little endian format. |
SBG_ECOM_LEGACY_BIG_ENDIAN |
Data is output in big endian format. |
Definition at line 52 of file sbgEComCmdOutput.h.
enum _SbgEComLegacyFormat |
List of available legacy output format.
Enumerator | |
---|---|
SBG_ECOM_LEGACY_FORMAT_FLOAT |
Data is output in floating point. |
SBG_ECOM_LEGACY_FORMAT_FIXED |
Data is output in fixed point. |
Definition at line 43 of file sbgEComCmdOutput.h.
enum _SbgEComOutputMode |
List of output modes available.
Definition at line 61 of file sbgEComCmdOutput.h.
Defines which monitoring point to use for an output port. This feature enabled deporting measurements at a specific monitoring point.
Definition at line 87 of file sbgEComCmdOutput.h.
enum _SbgEComOutputPort |
List of ouput ports available.
Definition at line 33 of file sbgEComCmdOutput.h.
SbgErrorCode sbgEComCmdCanOutputGetConf | ( | SbgEComHandle * | pHandle, |
SbgECanMessageId | internalId, | ||
SbgEComOutputMode * | pMode, | ||
uint32 * | pUserId, | ||
bool * | pExtended | ||
) |
Retrieve the configuration of one the message on the CAN interface.
[in] | pHandle | A valid sbgECom handle. |
[in] | internalId | The internal message id. |
[out] | pMode | Pointer to a SbgEComOutputMode to contain the current output mode of the message. |
[out] | pUserId | The user defined message id. |
[out] | pExtended | TRUE if the user id uses the extended format. |
Definition at line 386 of file sbgEComCmdOutput.c.
SbgErrorCode sbgEComCmdCanOutputSetConf | ( | SbgEComHandle * | pHandle, |
SbgECanMessageId | internalId, | ||
SbgEComOutputMode | mode, | ||
uint32 | userId, | ||
bool | extended | ||
) |
Set the configuration of one the message on the CAN interface
[in] | pHandle | A valid sbgECom handle. |
[in] | internalId | The internal message id. |
[in] | mode | Pointer to a SbgEComOutputMode containing the new output mode of the message. |
[in] | userId | The user defined message id. |
[in] | extended | TRUE if the user id uses the extended format. |
Set the configuration of one the message on the CAN interface
[in] | pHandle | A valid sbgECom handle. |
[in] | internalId | The internal message id. |
[in] | pMode | Pointer to a SbgEComOutputMode containing the new output mode of the message. |
[in] | pUserId | The user defined message id. |
[in] | pExtended | TRUE if the user id uses the extended format. |
Definition at line 477 of file sbgEComCmdOutput.c.
SbgErrorCode sbgEComCmdOutputClassGetEnable | ( | SbgEComHandle * | pHandle, |
SbgEComOutputPort | outputPort, | ||
SbgEComClass | classId, | ||
bool * | pEnable | ||
) |
Retrieve the enable of one of the output class message on one of the output interfaces.
[in] | pHandle | A valid sbgECom handle. |
[in] | outputPort | The output port. |
[in] | classId | The class to enable or disable. |
[out] | pEnable | TRUE to enable message output of this class, FALSE to disable it. |
Definition at line 203 of file sbgEComCmdOutput.c.
SbgErrorCode sbgEComCmdOutputClassSetEnable | ( | SbgEComHandle * | pHandle, |
SbgEComOutputPort | outputPort, | ||
SbgEComClass | classId, | ||
bool | enable | ||
) |
Set the enable of one of the output class message on one of the output interfaces.
[in] | pHandle | A valid sbgECom handle. |
[in] | outputPort | The output port. |
[in] | classId | The class to enable or disable. |
[in] | enable | TRUE to enable message output of this class, FALSE to disable it. |
Definition at line 302 of file sbgEComCmdOutput.c.
SbgErrorCode sbgEComCmdOutputGetConf | ( | SbgEComHandle * | pHandle, |
SbgEComOutputPort | outputPort, | ||
SbgEComClass | classId, | ||
SbgEComMsgId | msgId, | ||
SbgEComOutputMode * | pConf | ||
) |
Retrieve the configuration of one the message on one of the output interfaces.
[in] | pHandle | A valid sbgECom handle. |
[in] | outputPort | The output port of the device for the log concerned. |
[in] | classId | The class of the concerned log. |
[in] | msgId | The id of the concerned log. |
[out] | pMode | Pointer to a SbgEComOutputMode to contain the current output mode of the message. |
Retrieve the configuration of one the message on one of the output interfaces.
[in] | pHandle | A valid sbgECom handle. |
[in] | outputPort | The output port of the device for the log concerned. |
[in] | classId | The class of the concerned log. |
[in] | msgId | The id of the concerned log. |
[out] | pConf | Pointer to a SbgEComOutputMode to contain the current output mode of the message. |
Definition at line 17 of file sbgEComCmdOutput.c.
SbgErrorCode sbgEComCmdOutputGetLegacyConf | ( | SbgEComHandle * | pHandle, |
SbgEComOutputPort | outputPort, | ||
SbgEComLegacyConf * | pConf | ||
) |
Retrieve the configuration of one the message on one of the output interfaces.
[in] | pHandle | A valid sbgECom handle. |
[in] | outputPort | The output port of the device for the log concerned. |
[out] | pConf | Pointer to a SbgEComLegacyConf structure to contain legacy configuration. |
Definition at line 560 of file sbgEComCmdOutput.c.
SbgErrorCode sbgEComCmdOutputGetNmeaTalkerId | ( | SbgEComHandle * | pHandle, |
SbgEComOutputPort | outputPort, | ||
char | nmeaTalkerId[2] | ||
) |
Retrieve the NMEA talker id of one of the output interfaces.
[in] | pHandle | A valid sbgECom handle. |
[in] | outputPort | The output port of the device for the log concerned. |
[out] | nmeaTalkerId | A 2-char array to contain the nmea talker id. |
Definition at line 742 of file sbgEComCmdOutput.c.
SbgErrorCode sbgEComCmdOutputSetConf | ( | SbgEComHandle * | pHandle, |
SbgEComOutputPort | outputPort, | ||
SbgEComClass | classId, | ||
SbgEComMsgId | msgId, | ||
SbgEComOutputMode | conf | ||
) |
Set the configuration of one the message on one of the output interfaces.
[in] | pHandle | A valid sbgECom handle. |
[in] | outputPort | The output port of the device for the log concerned. |
[in] | classId | The class of the concerned log. |
[in] | msgId | The id of the concerned log. |
[in] | mode | New output mode to set. |
Set the configuration of one the message on one of the output interfaces.
[in] | pHandle | A valid sbgECom handle. |
[in] | outputPort | The output port of the device for the log concerned. |
[in] | classId | The class of the concerned log. |
[in] | msgId | The id of the concerned log. |
[in] | conf | New output mode to set. |
Definition at line 119 of file sbgEComCmdOutput.c.
SbgErrorCode sbgEComCmdOutputSetLegacyConf | ( | SbgEComHandle * | pHandle, |
SbgEComOutputPort | outputPort, | ||
const SbgEComLegacyConf * | pConf | ||
) |
Set the configuration of one the message on one of the output interfaces.
[in] | pHandle | A valid sbgECom handle. |
[in] | outputPort | The output port of the device for the log concerned. |
[in] | pConf | Pointer to a SbgEComLegacyConf structure containing new legacy configuration. |
Definition at line 658 of file sbgEComCmdOutput.c.
SbgErrorCode sbgEComCmdOutputSetNmeaTalkerId | ( | SbgEComHandle * | pHandle, |
SbgEComOutputPort | outputPort, | ||
const char | nmeaTalkerId[2] | ||
) |
Set the NMEA talker id of one of the output interfaces.
[in] | pHandle | A valid sbgECom handle. |
[in] | outputPort | The output port of the device for the log concerned. |
[out] | nmeaTalkerId | A 2-char array containint the new nmea talker id. |
Definition at line 829 of file sbgEComCmdOutput.c.