sbgECom Library
4.0.1987-stable
C library to interface SBG Systems IMU/AHRS/INS
|
Commands used to setup logs to output over the device interfaces. More...
Go to the source code of this file.
Typedefs | |
typedef enum _SbgEComOutputPort | SbgEComOutputPort |
typedef enum _SbgEComOutputMode | SbgEComOutputMode |
typedef enum _SbgEComOutputMonitoringPoint | SbgEComOutputMonitoringPoint |
Commands used to setup logs to output over the device interfaces.
The MIT license
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
typedef enum _SbgEComOutputPort SbgEComOutputPort |
List of output ports available.
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.
enum _SbgEComOutputPort |
enum _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.
SbgErrorCode sbgEComCmdOutputGetConf | ( | SbgEComHandle * | pHandle, |
SbgEComOutputPort | outputPort, | ||
SbgEComClass | classId, | ||
SbgEComMsgId | msgId, | ||
SbgEComOutputMode * | pMode | ||
) |
Retrieve the configuration of one message for an 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. |
SbgErrorCode sbgEComCmdOutputSetConf | ( | SbgEComHandle * | pHandle, |
SbgEComOutputPort | outputPort, | ||
SbgEComClass | classId, | ||
SbgEComMsgId | msgId, | ||
SbgEComOutputMode | mode | ||
) |
Set the configuration of one message for an 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. |
SbgErrorCode sbgEComCmdOutputClassGetEnable | ( | SbgEComHandle * | pHandle, |
SbgEComOutputPort | outputPort, | ||
SbgEComClass | classId, | ||
bool * | pEnable | ||
) |
Retrieve if a whole message class is enabled or not for an output interface.
[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. |
SbgErrorCode sbgEComCmdOutputClassSetEnable | ( | SbgEComHandle * | pHandle, |
SbgEComOutputPort | outputPort, | ||
SbgEComClass | classId, | ||
bool | enable | ||
) |
Set if a whole message class is enabled or not for an output interface.
[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. |
SbgErrorCode sbgEComCmdCanOutputGetConf | ( | SbgEComHandle * | pHandle, |
SbgECanMessageId | internalId, | ||
SbgEComOutputMode * | pMode, | ||
uint32_t * | pUserId, | ||
bool * | pExtended | ||
) |
Retrieve the configuration of one message for 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. |
SbgErrorCode sbgEComCmdCanOutputSetConf | ( | SbgEComHandle * | pHandle, |
SbgECanMessageId | internalId, | ||
SbgEComOutputMode | mode, | ||
uint32_t | userId, | ||
bool | extended | ||
) |
Set the configuration of one message for 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. |
SbgErrorCode sbgEComCmdOutputGetNmeaTalkerId | ( | SbgEComHandle * | pHandle, |
SbgEComOutputPort | outputPort, | ||
char * | pNmeaTalkerId | ||
) |
Retrieve the NMEA talker id for an output interface.
[in] | pHandle | A valid sbgECom handle. |
[in] | outputPort | The output port of the device for the log concerned. |
[out] | pNmeaTalkerId | A 2-char array to contain the NMEA talker id. |
SbgErrorCode sbgEComCmdOutputSetNmeaTalkerId | ( | SbgEComHandle * | pHandle, |
SbgEComOutputPort | outputPort, | ||
const char * | pNmeaTalkerId | ||
) |
Set the NMEA talker id for an output interface.
[in] | pHandle | A valid sbgECom handle. |
[in] | outputPort | The output port of the device for the log concerned. |
[out] | pNmeaTalkerId | A 2-char array containing the new NMEA talker id. |