BPNGClientLib
Library for accessing the Telemotive data logger devices
Classes | Macros | Typedefs | Enumerations | Variables
BPNGDefines.h File Reference

Defines for Telemotive Client Library. More...

#include "cstdio"
#include "stdint.h"

Go to the source code of this file.

Classes

struct  IFalseMeasureSignal
 False measure signal interface. More...
 
struct  IFalseMeasureSignalList
 False measure signal list interface. More...
 
struct  IChannel
 Channel interface. More...
 
struct  ITesttoolsChannel
 Channel interface. More...
 
struct  IChannelList
 Channel list interface. More...
 
struct  ITesttoolsChannelList
 TesttoolsChannel list interface. More...
 
struct  IFormatInfo
 FormatInfo interface. More...
 
struct  IFormatList
 Format list interface. More...
 
struct  IConversionSet
 A conversion set stores all conversion relevant settings. More...
 
struct  OnlineLoggerInfo
 Struct with information about a logger found in LAN/WLAN used to notify IBPNGClientListener about detected/disappeared devices. More...
 
struct  TSLCluster
 Representation of a chain of Telemotive devices combined via Telemotive System Link (TSL) More...
 
struct  DataSpan
 structure of a data span More...
 
struct  BPNGError
 Error struct with error code and optional error message. More...
 
struct  LogInData
 structure for login More...
 
struct  MemoryFillLevel
 stores memory fill level of a device More...
 
struct  OnlineLoggerInfoStringPair
 a helper object for configuration, license update or firmwareupdate: a key value pair for assigning a configuration, licensefile, etc. to a device More...
 

Macros

#define BPNGDEFINES_H
 
#define WINAPI
 
#define DECLDIR
 
#define BOOL   bool
 
#define VOID   void
 
#define BPNG_CLIENT_LIB_VERSION   "5.1.0.8"
 

Typedefs

typedef void(WINAPI * onLogRequest) (const char *logRecord)
 Pointer to a function named onLogRequest with one parameter and no return value.
 

Enumerations

enum  BPNGErrCode {
  BPNG_NOERR = 0, BPNG_LOGGER_NOT_FOUND = 1, BPNG_NOT_CONNECTED = 2, BPNG_CONNECT_FTP_FAILED = 3,
  BPNG_CONNECT_TMPBUS_FAILED = 4, BPNG_TMPBUS_NOT_CONNECTED = 5, BPNG_AMBIGUOUS_IP = 66, BPNG_FAILED_TO_CONNECT_STREAMING = 67,
  BPNG_FTP_NOT_CONNECTED = 6, BPNG_FTP_SERVER_NOT_FOUND = 7, BPNG_FTP_LOGIN_FAILED = 8, BPNG_FTP_REMOTE_PATH_NOT_FOUND = 9,
  BPNG_FTP_READ_REMOTE_FILE_ERROR = 10, BPNG_FTP_WRITE_REMOTE_FILE_ERROR = 11, BPNG_FTP_TRANSFER_USER_CANCELED = 12, BPNG_FTP_CREATE_REMOTE_DIR_ERROR = 13,
  BPNG_FTP_REMOVE_REMOTE_DIR_ERROR = 14, BPNG_FTP_REMOVE_REMOTE_FILE_ERROR = 15, BPNG_FTP_CHANGE_CWD_ERROR = 16, BPNG_TMPBUS_COPYRDB_ERROR = 17,
  BPNG_TMPBUS_SEND_MSG_ERROR = 18, BPNG_TMPBUS_REQUEST_ERROR = 19, BPNG_FAILED_TO_CREATE_LOCAL_FILE_OR_DIRECTORY = 20, BPNG_LOCAL_PATH_NOT_FOUND = 21,
  BPNG_READ_LOCAL_FILE_ERROR = 22, BPNG_WRITE_LOCAL_FILE_ERROR = 23, BPNG_FILE_EXISTS_ERROR = 24, BPNG_DIR_EXISTS_ERROR = 25,
  BPNG_TARGET_PATH_TOO_LONG = 26, BPNG_ZIP_EXCEEDS_FATFS_MAX = 27, BPNG_XML_PARSER_ERROR = 28, BPNG_INITIALISATION_ERROR = 29,
  BPNG_RDB_SQLITE_QUERY_ERROR = 30, BPNG_RDB_OPEN_FAILED = 31, BPNG_CONVERSION_ERRORS = 32, BPNG_CONV_SET_NOT_FOUND = 33,
  BPNG_NOTHING_TO_CONVERT = 34, BPNG_TMT_FILE_ID_ERROR = 35, BPNG_TMT_FORMAT_ERROR_VERSION = 36, BPNG_TMT_FORMAT_ERROR_TS = 37,
  BPNG_INVALID_MESSAGE_ERROR = 38, BPNG_INVALID_MESSAGE_ID = 39, BPNG_INVALID_MESSAGE_TS = 40, BPNG_INVALID_MESSAGE_SUBID = 41,
  BPNG_INVALID_MESSAGE_LEN = 42, BPNG_CONV_FORMAT_ERROR = 43, BPNG_DOWNLOAD_ERRORS = 44, BPNG_NOTHING_TO_DOWNLOAD = 45,
  BPNG_INVALID_OFFLINE_SET = 46, BPNG_PARAMETER_MISMATCH = 47, BPNG_FW_VERSION_CHECK_ERROR = 48, BPNG_USER_CANCELLED = 49,
  BPNG_MIN_VERSION_ERROR = 50, BPNG_EXCEPTION = 51, BPNG_INCOMPATIBLE_RDB = 52, BPNG_UNSPECIFIED_ERROR = 53,
  BPNG_LOAD_DBC_FAILED = 81, BPNG_CCP_XCP_PARSER_ERROR = 54, BPNG_CCP_XCP_DBC_GENERATOR_ERROR = 55, BPNG_CCP_XCP_SEQUENCE_GENERATOR_ERROR = 56,
  BPNG_INSUFFICIENT_DISK_SPACE = 57, BPNG_FWUPDATE_FAILED = 58, BPNG_INDEX_OUT_OF_RANGE_ERR = 59, BPNG_READ_CONFIG_BACKUP_ERR = 60,
  BPNG_INVALID_RPC_COMMAND = 61, BPNG_INVALID_TSL_CASCDING = 62, BPNG_LOGIN_CANCELED = 63, BPNG_USER_PWD_WRONG = 64,
  BPNG_NO_ACCESS_FOR_FUNCTION = 65, BPNG_STREAMING_PROTOCOLL_ERROR = 68, BPNG_STREAMING_SOCKET_ERROR = 69, BPNG_STREAMING_DISABLED = 70,
  BPNG_FW_DEPRECATED = 71, BPNG_STREAMING_ABORTED_BY_PEER = 72, BPNG_INCONSISTENT_TSL_FWVERSIONS = 80, BPNG_INVALID_TSL_CLUSTER = 82,
  BPNG_DLL_NO_FORMAT_PLUGIN = 83, BPNG_FORMAT_PLUGIN_ID_EXISTS = 84, BPNG_DLL_NO_SYSTEMCLIENTLISTENER_PLUGIN = 90, BPNG_FAILED_RENAME_RESUMED_OFFLINEDATASET = 85,
  BPNG_FAILED_RENAME_RESUMED_RDB = 86, BPNG_RESUME_INIT_FAILURE = 87, BPNG_SIGNAL_FILTER_INVALID_CONFIG = 88, BPNG_BAD_ALLOC = 89,
  BPNG_INVALID_FN_PATTERN = 91, BPNG_NOTHING_TO_TEST_REPORT = 92, BPNG_NO_TRACE_DATA_ON_DOWNLOAD_STATION = 93, BPNG_FUNCTION_NOT_AVAILABLE = 94,
  BPNG_SFP_FILE_TRANSFER_NOT_ACKNOWLEDGED = 95, BPNG_SFP_LOCAL_ERROR = 96, BPNG_SFP_NO_DATA_RECEIVED = 97, BPNG_MISSING_SFP_IP = 98,
  BPNG_TMT_CHECKSUM_ERROR = 99, BPNG_PBFWUPDATE_FAILED = 100, BPNG_EXCEPTION_MINI_DUMP = 101
}
 
enum  FWUpdateErrorCode {
  FWUPDATE_ERRORCODE_NO_ERR = 0, FWUPDATE_ERRORCODE_FW_PKT_NAME_EMPTY = -2, FWUPDATE_ERRORCODE_FW_PKT_MISSING = -3, FWUPDATE_ERRORCODE_NAMED_PIPE_SERVER_MKNOD = -4,
  FWUPDATE_ERRORCODE_NAMED_PIPE_SERVER_OPEN = -5, FWUPDATE_ERRORCODE_FW_UPDATE_NOT_IN_PROGRESS_TIMEOUT = -6, FWUPDATE_ERRORCODE_MISSING_LINUX_DISTR = -7, FWUPDATE_ERRORCODE_MISSING_LIBTMLIB_FILE = -8,
  FWUPDATE_ERRORCODE_MISSING_TMLIB_FILE = -9, FWUPDATE_ERRORCODE_MISSING_ATOM_FILE = -10, FWUPDATE_ERRORCODE_MISSING_CLIENT_FILE = -11, FWUPDATE_ERRORCODE_MISSING_FPGAA_FILE = -12,
  FWUPDATE_ERRORCODE_MISSING_FPGAB_FILE = -13, FWUPDATE_ERRORCODE_MISSING_EXTENSION_BOARD_FPGA_FILE = -14, FWUPDATE_ERRORCODE_MISSING_GBE_FILE = -15, FWUPDATE_ERRORCODE_MISSING_SBC_FILE = -16,
  FWUPDATE_ERRORCODE_MISSING_SBC_FLASH_SCRIPT = -17, FWUPDATE_ERRORCODE_MISSING_FPGA_FLASH_SCRIPT = -18, FWUPDATE_ERRORCODE_MISSING_RCV_FILE = -19, FWUPDATE_ERRORCODE_MISSING_LINUX_SETUP_ARCHIVE = -20,
  FWUPDATE_ERRORCODE_UNKNOWN_MB_HW_VERSION = -21, FWUPDATE_ERRORCODE_UNKNOWN_EXTENSION_BOARD = -22, FWUPDATE_ERRORCODE_UNKNOWN_EXTENSION_BOARD_VARIANCE = -23, FWUPDATE_ERRORCODE_NOT_READABLE_EXTENSION_BOARD_VARIANCE = -24,
  FWUPDATE_ERRORCODE_NOT_READABLE_EXTENSION_BOARD_HW_VERSION = -25, FWUPDATE_ERRORCODE_NOT_READABLE_HW_TYPE_VERSION = -26, FWUPDATE_ERRORCODE_FAILED_UPDATE_APP_LIBS = -27, FWUPDATE_ERRORCODE_FAILED_UPDATE_RC = -28,
  FWUPDATE_ERRORCODE_FAILED_UPDATE_GBEC = -29, FWUPDATE_ERRORCODE_CONV_CFG_ERROR = -30, FWUPDATE_ERRORCODE_FAILED_UNCOMPRESS_LINUX_KERNEL = -31, FWUPDATE_ERRORCODE_FAILED_UNCOMPRESS_LINUX_KERNEL_MODULES = -32,
  FWUPDATE_ERRORCODE_FAILED_CPY_LINUX_KERNEL = -33, FWUPDATE_ERRORCODE_FAILED_UNCOMPRESS_CLIENT_FILE = -34, FWUPDATE_ERRORCODE_FAILED_CPY_CLIENT_FILE = -35, FWUPDATE_ERRORCODE_FAILED_UPDATE_LINUX_DISTR = -36,
  FWUPDATE_ERRORCODE_FAILED_SBC_FLASH = -37, FWUPDATE_ERRORCODE_FAILED_UPDATE_CCP_XCP = -38, FWUPDATE_ERRORCODE_FAILED_UPDATE_CCP_XCP_SEED_KEY_SERVERS = -39, FWUPDATE_ERRORCODE_MISSING_CCP_XCP_FILE = -40,
  FWUPDATE_ERRORCODE_MISSING_CCP_XCP_SEED_KEY_SERVER_FILE = -41, FWUPDATE_ERRORCODE_MISSING_SPYNIC_FILE = -42, FWUPDATE_ERRORCODE_MISSING_LOADING_ISPVM = -43, FWUPDATE_ERRORCODE_MISSING_DEVICE_FPGAB_FILE = -44,
  FWUPDATE_ERRORCODE_MISSING_DEVICE_FPGAA_FILE = -45, FWUPDATE_ERRORCODE_UNREADY_FPGAA = -46, FWUPDATE_ERRORCODE_LINUX_KERNEL_MAY_FREEZE_SYSTEM = -47, FWUPDATE_ERRORCODE_NOT_SET_DEVICE_PATH = -48,
  FWUPDATE_ERRORCODE_NOT_SET_FW_FILE = -49, FWUPDATE_ERRORCODE_NOT_SET_FPGA_KEY = -50, FWUPDATE_ERRORCODE_MISSING_DEVICE_FILE = -51, FWUPDATE_ERRORCODE_MISSING_FPGA_FW_FILE = -52,
  FWUPDATE_ERRORCODE_MISSING_TMUDEVQ = -53, FWUPDATE_ERRORCODE_UNKNOWN_DEVICE_PATH = -54, FWUPDATE_ERRORCODE_FAILED_CPY_FPGA_FILE = -55, FWUPDATE_ERRORCODE_FAILED_LINKING_FW_UPDATE = -56,
  FWUPDATE_ERRORCODE_ERROR_FLASH_FPGA = -57, FWUPDATE_ERRORCODE_ERROR_FLASH_SPYNIC = -58, FWUPDATE_ERRORCODE_ERROR_LOADING_FPGA_JTAG_DRIVER = -59, FWUPDATE_ERRORCODE_MISSING_EXTENSION_BOARD_VIA_PCIE = -60,
  FWUPDATE_ERRORCODE_FAILED_CONV_CFG = -61, FWUPDATE_ERRORCODE_FAILED_UPLOAD = -62, FWUPDATE_ERRORCODE_FWUFOLDER_EXISTS = 63, FWUPDATE_ERRORCODE_UNDEFINED = -1
}
 
enum  BPNGWarningCode {
  BPNG_NOWARNING, BPNG_WARNING_CLOSE_TRACE_FILES, BPNG_WARNING_MESSAGES_NOT_CONVERTED, BPNG_WARNING_NO_ESO_TRACE,
  BPNG_WARNING_TSL_WITH_DIFFERENT_TIMEZONES, BPNG_WARNING_RECOVERING_FAILED
}
 
enum  LanguageID { BPNG_GERMAN, BPNG_ENGLISH }
 
enum  BPNGBugreportMode {
  BR_FULL_WO_TRACES = 0, BR_ONLY_LOGS = 1, BR_FDB_RDB = 2, BR_ONLY_CLIENT = 3,
  BR_FULL_ALL_TRACES = 4, BR_FULL_TIMESPAN_TRACES = 5
}
 
enum  ChannelType {
  CH_UNDEFINED = 0, OBSOLETE_CH_CANLS, CH_CAN, CH_LIN,
  CH_SERIAL, CH_ETHERNET, CH_FLEXRAY, CH_MOST25_CTRL,
  CH_MOST25_MDP, CH_MOST25_SYNC, CH_MOST150_CTRL, CH_MOST150_MDP,
  CH_MOST150_MEP, CH_MOST150_STREAM, CH_ANALOG_IN, CH_DIGITAL_IN,
  CH_CAMERA, CH_CCPXCP, CH_DIAG, CH_GPS,
  CH_ECL, CH_COMPLEXFILTER, CH_TTY, CH_MII
}
 
enum  PwdPrivilegesFuncId {
  REMOVE_DATA = 0, SET_TIME, SET_EVENT, RECONFIG,
  RECONFIG_PASSWORD, RECONFIG_COMPLEX_FILTER, UPLOAD_WINE_DLLS, UPDATE_FIRMWARE,
  CHANGE_LICENCES, PRIVILEGES_END
}
 
enum  Reason {
  R_UNSUPPORTED_BIT_MASK, R_BIT_MASK_OVERLAP, R_UNSUPPORTED_COMPU_TAB, R_FORBIDDEN_TAB_VALUE,
  R_UNKNOWN
}
 
enum  BPNGLoggerStatus {
  LS_OK = 0, LS_ERROR = 1, LS_NOSYNC = 2, LS_WARNING = 3,
  LS_FWUPDATE = 4, LS_MEM = 5, LS_RING = 6, LS_UNDEFINED = -1
}
 
enum  BPNGDeviceType {
  DEV_BP2, DEV_BPMINI, DEV_BP2_V1X, DEV_BP2_V2X,
  DEV_RC_TOUCH, DEV_BP_REMOTE, DEV_BP_TOUCH, DEV_RAPID,
  DEV_TRACE_COLL, DEV_TRACE_COLL_DS, DEV_TSL = 0x80, DEV_UNKNOWN = 0xFF
}
 
enum  DataSpanType { DST_IDSPAN = 0, DST_TIMESPAN = 1 }
 Types for DataSpan.
 

Variables

static const char *const UNDEFINED = "UNDEFINED"
 Following static variables are identifier for currently supported file formats for data convertion.
 
static const char *const TMASC = "TMASC"
 Telemotive ASCII format.
 
static const char *const OP2 = "OP2"
 MOST OP" format.
 
static const char *const CANOE = "CANOE"
 CANOE ASCII format.
 
static const char *const STA = "STA"
 Serial Trace Analyser format.
 
static const char *const GNLOG = "GNLOG"
 GNLog format.
 
static const char *const TCLOG = "TCLOG"
 Trace Client format.
 
static const char *const TCLOG_TS = "TCLOG_TS"
 Trace Client format plus time stamps.
 
static const char *const RAW_SERIAL = "RAW_SERIAL"
 Raw Serial Format.
 
static const char *const IMG = "IMG"
 DataAnalyser IMG format.
 
static const char *const TMBIN = "TMBIN"
 Telemotive binary format.
 
static const char *const CANCORDER = "CANCORDER"
 CANCorder format.
 
static const char *const APN = "APN"
 APN serial format.
 
static const char *const ASCHEX = "ASCHEX"
 ASCII format that writes binary data as hex values.
 
static const char *const TCPDUMP = "TCPDUMP"
 TCP dump (*.pcap) format.
 
static const char *const BLF = "BLF"
 Binary Logging Format - Vector Informatik.
 
static const char *const DLT_BMW = "DLT_BMW"
 BMW specific DLT Format.
 
static const char *const MDF = "MDF"
 Measurement data format - Vector Informatik.
 
static const char *const MDF_CAN_SIG = "MDF_CAN_SIG"
 MDF format based on CAN signals.
 
static const char *const MPEG4_BLOCKS = "MPEG4_BLOCKS"
 Camera format seperated blocks.
 
static const char *const MPEG4_JOINED = "MPEG4_JOINED"
 Camera joined videos.
 
static const char *const NMEA = "NMEA"
 Raw format for GPS data.
 
static const char *const KML = "KML"
 KML format for GPS data.
 
static const char *const KMZ = "KMZ"
 KMZ format for GPS data.
 
static const char *const SERIAL_DEBUG = "SERIAL_DEBUG"
 Serial Format with "new Line"-packaging.
 
static const char *const RAW_ETHERNET = "RAW_ETHERNET"
 Raw ethernet format.
 
static const char *const ESO_TRACE = "ESO_TRACE"
 Audi specific ESO Format.
 
static const char *const XTMT = "XTMT"
 Extended Telemotive Trace File format.
 
static const char *const GPX = "GPX"
 GPS Exchange format.
 
static const char *const MDF_CCP_XCP_SIG = "MDF_CCP_XCP_SIG"
 MDF format based on CCP & XCP signals.
 
static const char *const TS = "TS"
 Raw isochrone format.
 
static const char *const FILTER_FORMAT = "FILTER_FORMAT"
 Filter format= no change in format.
 
static const char *const MDF_SIG_LOG_4_10 = "MDF_SIG_LOG_4_10"
 MDF 4.10 format for signal logging.
 
static const char *const MDF_BUS_LOG_4_10 = "MDF_BUS_LOG_4_10"
 MDF 4.10 format for bus logging.
 
static const char *const QXDM_RAW_SERIAL = "QXDM_RAW_SERIAL"
 Like RAW_SERIAL but only for tty and with file extension *.qmdl.
 
static const char *const PCAPNG = "PCAPNG"
 Wireshark - pcapng (*.pcapng) format.
 
static const char *const INVALID = "INVALID"
 Last identifier of file formats for data convertion.
 
static const char *const WULASC = "WULASC"
 WakeupLine.
 

Detailed Description

Defines for Telemotive Client Library.

Enumeration Type Documentation

◆ BPNGBugreportMode

Available modes for the creation of a bugreport. Mode for the IBPNG::downloadBugReport() function.

Enumerator
BR_FULL_WO_TRACES 

Full bug report without traces.

BR_ONLY_LOGS 

Only log files are downloaded.

BR_FDB_RDB 

only FDB and RDB are downloaded

BR_ONLY_CLIENT 

only client logs are stored

BR_FULL_ALL_TRACES 

Full bug report with all traces files.

BR_FULL_TIMESPAN_TRACES 

Full bugreport with trace file of a specified time span.

◆ BPNGDeviceType

Enumartion of Telemotives next generation data loggers

Enumerator
DEV_BP2 
Deprecated:
For BLUEPIRAT 2 devices use type DEV_BP2_V1X, for new BLUEPIRAT 2 5E devices use DEV_BP2_V2X
DEV_BPMINI 

BLUEPIRAT mini devices.

DEV_BP2_V1X 

standard BLUEPIRAT 2 device

DEV_BP2_V2X 

BLUEPIRAT 2 5E device.

DEV_RC_TOUCH 

Remote Control Touch.

DEV_BP_REMOTE 

BLUEPIRAT Remote.

DEV_BP_TOUCH 

BLUEPIRAT Touch.

DEV_RAPID 

BLUEPIRAT Rapid.

DEV_TRACE_COLL 

Trace Collector.

DEV_TRACE_COLL_DS 

Trace Collector Download Station.

DEV_TSL 

internal use only! don't use!

◆ BPNGErrCode

Error Codes.

An error is identified by one of the following error codes. Additional information may be found in the BPNGError::msg field (e.g. file path that causes a BPNG_LOCAL_PATH_NOT_FOUND error)

Enumerator
BPNG_NOERR 

no error

BPNG_LOGGER_NOT_FOUND 

The IP address the lib wanted to connect was not found.

BPNG_NOT_CONNECTED 

A function call failed because the logger was not connected.

BPNG_CONNECT_FTP_FAILED 

Establishing the ftp connection failed.

BPNG_CONNECT_TMPBUS_FAILED 

Establishing the TMP (Telemotive Protocol) bus connection failed.

BPNG_TMPBUS_NOT_CONNECTED 

TMP bus is not connected.

BPNG_AMBIGUOUS_IP 

multiple devices with same IP available

BPNG_FAILED_TO_CONNECT_STREAMING 

Streaming feature could not be connected.

BPNG_FTP_NOT_CONNECTED 

FTP is not connected.

BPNG_FTP_SERVER_NOT_FOUND 

FTP server is not fould.

BPNG_FTP_LOGIN_FAILED 

FTP login failed.

BPNG_FTP_REMOTE_PATH_NOT_FOUND 

A requested path on the FTP server is not found.

BPNG_FTP_READ_REMOTE_FILE_ERROR 

Can't red a file on the FTP server.

BPNG_FTP_WRITE_REMOTE_FILE_ERROR 

Can't write a file on the FTP server.

BPNG_FTP_TRANSFER_USER_CANCELED 

FTP file transfer was canceled by the user.

BPNG_FTP_CREATE_REMOTE_DIR_ERROR 

Can't create the directory on the FTP server.

BPNG_FTP_REMOVE_REMOTE_DIR_ERROR 

Can't remove the directory on the FTP server.

BPNG_FTP_REMOVE_REMOTE_FILE_ERROR 

Can't remove the file on the FTP server.

BPNG_FTP_CHANGE_CWD_ERROR 

Can't change the current working directory on the FTP server.

BPNG_TMPBUS_COPYRDB_ERROR 

Failed to copy the reference data base to the logger's tmp directory.

BPNG_TMPBUS_SEND_MSG_ERROR 

Failed to send a TMP bus request message.

BPNG_TMPBUS_REQUEST_ERROR 

The TMP bus request execution failed.

BPNG_FAILED_TO_CREATE_LOCAL_FILE_OR_DIRECTORY 

Failed to create local file or directory.

BPNG_LOCAL_PATH_NOT_FOUND 

Local path not found.

BPNG_READ_LOCAL_FILE_ERROR 

Failed to read local file.

BPNG_WRITE_LOCAL_FILE_ERROR 

Failed to write local file.

BPNG_FILE_EXISTS_ERROR 

Local file already exists.

BPNG_DIR_EXISTS_ERROR 

Local directory already exists.

BPNG_TARGET_PATH_TOO_LONG 

Specified path exceeds the max. valid length (e.g. 260 for Windows systems)

BPNG_ZIP_EXCEEDS_FATFS_MAX 

ZIP file exceeds max size for FAT32 file systems.

BPNG_XML_PARSER_ERROR 

Error while parsing xml file.

BPNG_INITIALISATION_ERROR 

BPNGClient instance is not initialised or with the wrong function. Use IBPNGClient::initOnline for data download or conversion directly from the device and IBPNGclient::initOffline for data conversion from an offline data set.

BPNG_RDB_SQLITE_QUERY_ERROR 

Error when trying to read data from the rdb.

BPNG_RDB_OPEN_FAILED 

Failed to open the reference data base.

BPNG_CONVERSION_ERRORS 

Multiple conversion errors. Use IBPNGClient::getNumConversionErrors() and IBPNGClient::getConversionError() for further information

BPNG_CONV_SET_NOT_FOUND 

The passed conversion set pointer was not created with this IBPNGClient instance and dus could not be found.

BPNG_NOTHING_TO_CONVERT 

There is no data available that could be converted. Check the specified time/id spans.

BPNG_TMT_FILE_ID_ERROR 

Invalid TMT/XTMT file id while trying to convert data.

BPNG_TMT_FORMAT_ERROR_VERSION 

The TMT/XTMT version of the trace file is not supported by this lib version.

BPNG_TMT_FORMAT_ERROR_TS 

Missing FileTimeMessage in header of TMT/XTMT file.

BPNG_INVALID_MESSAGE_ERROR 

Invalid messages found in trace file(s).

BPNG_INVALID_MESSAGE_ID 

Invalid message id found in trace file(s).

BPNG_INVALID_MESSAGE_TS 

Invalid message ts found in trace file(s).

BPNG_INVALID_MESSAGE_SUBID 

Invalid message sub id found in trace file(s).

BPNG_INVALID_MESSAGE_LEN 

Invalid message length found in trace file(s).

BPNG_CONV_FORMAT_ERROR 

Invalid format assignment or mismatching recorded trace data for the specified conversion format.

BPNG_DOWNLOAD_ERRORS 

Multiple download errors. Use IBPNGClient::getNumDownloadErrors() and IBPNGClient::getDownloadError() for further information

BPNG_NOTHING_TO_DOWNLOAD 

There is no data available that could be downoaded. Check the specified time/id spans.

BPNG_INVALID_OFFLINE_SET 

Failed to initialise the IBPNGClient from the passed offline data set.

BPNG_PARAMETER_MISMATCH 

currently not used

BPNG_FW_VERSION_CHECK_ERROR 

The verification of the new firmware at the end of a firmware update failed.

BPNG_USER_CANCELLED 

currently not used

BPNG_MIN_VERSION_ERROR 

The current library version does not suffice the the reuired min version written to BPNGError::msg.

BPNG_EXCEPTION 

Some kind of unhandled exception was thrown.

BPNG_INCOMPATIBLE_RDB 

The logger's or offline data set's RDB-Verison is incompatible to this library version.

BPNG_UNSPECIFIED_ERROR 

An unspecified error occurred.

BPNG_INVALID_RPC_COMMAND 

if a rpc command for tsl is wrong

BPNG_INVALID_TSL_CASCDING 

if cascading of tsl is invalid

BPNG_INCONSISTENT_TSL_FWVERSIONS 

if fw versions on tsl clusters are inconsistent

BPNG_INVALID_TSL_CLUSTER 

in case of different TSLNetwork IDs

BPNG_NOTHING_TO_TEST_REPORT 

There are no test drive data spans available that could be converted.

BPNG_NO_TRACE_DATA_ON_DOWNLOAD_STATION 

No trace data found on download station.

BPNG_EXCEPTION_MINI_DUMP 

Some kind of unhandled exception was thrown. MiniDump file was written.

◆ BPNGLoggerStatus

Logger status

Enumerator
LS_OK 

Device is ok.

LS_ERROR 

Device has at least one active error.

LS_NOSYNC 

Device is configured as slave but no master is found.

LS_WARNING 

Device hast at least one active warning.

LS_FWUPDATE 

Firmeware update in progress.

LS_MEM 

Internal storage of device is full. Ring buffer deactivated or full with protected trace files.

LS_RING 

Internal storage of device is full. Ring buffer is activated.

◆ BPNGWarningCode

Warning codes.

Warnings are notified by listener calls to the function IBPNGClientListener::onWarning()

Enumerator
BPNG_WARNING_CLOSE_TRACE_FILES 

no warning

Failed to close the current trace files on the logger device when trying to execute IBPNGClient::initOnline()

BPNG_WARNING_MESSAGES_NOT_CONVERTED 

In case of protocol mismatch between recorded data and target format or unsupported message sub types, it is possible that some messages can not be converted to the selected format.

BPNG_WARNING_NO_ESO_TRACE 

ethernet data for eso trace conversion is not logged in eso trace format

BPNG_WARNING_TSL_WITH_DIFFERENT_TIMEZONES 

A TSL cluster with loggers with different time zones is in undefined state. It's not defined which time zone will be used for time zone dependent processes.

BPNG_WARNING_RECOVERING_FAILED 

Recovering trace files from a previous power down failed.

◆ ChannelType

Currently supported bus interfaces.

Enumerator
CH_UNDEFINED 

undefined channel type

OBSOLETE_CH_CANLS 

CAN low speed interface.

CH_CAN 

CAN high speed interface.

CH_LIN 

LIN interface.

CH_SERIAL 

Serial interface.

CH_ETHERNET 

Ethernet interface.

CH_FLEXRAY 

Flexray interface.

CH_MOST25_CTRL 

MOST 25 control channel.

CH_MOST25_MDP 

MOST 25 data packet channel (MDP)

CH_MOST25_SYNC 

MOST 25 synchroneous channel (streaming data)

CH_MOST150_CTRL 

MOST 150 control channel.

CH_MOST150_MDP 

MOST 150 data packet channel (MDP)

CH_MOST150_MEP 

MOST 150 ethernet packet channel (MEP)

CH_MOST150_STREAM 

MOST 150 synchroneous channel (streaming data)

CH_ANALOG_IN 

Analog in.

CH_DIGITAL_IN 

Digital in.

CH_CAMERA 

Camera channel.

CH_CCPXCP 

CCP XCP.

CH_DIAG 

Diagnose, currently not used.

CH_GPS 

Global Positioning System.

CH_ECL 

Electronic Control Line.

CH_TTY 

TTY channel for QXDM.

CH_MII 

MII channel for ethernet spy.

◆ LanguageID

enum LanguageID

Languages

ID for specifiying the language in that the library handles process and error information. Default language is english.

Enumerator
BPNG_GERMAN 

english

BPNG_ENGLISH 

german

◆ Reason

enum Reason

List of possible reasons why a measure signal was ignored.

Enumerator
R_UNSUPPORTED_BIT_MASK 

DBC file don't support bit operations with a bit mask.

R_BIT_MASK_OVERLAP 

Bit mask is incorrect and cause a overlap with at least one other signal.

R_UNSUPPORTED_COMPU_TAB 

DBC file don't support all compu tab types; only tab will ignored, not the signal itself!

R_FORBIDDEN_TAB_VALUE 

DBC file don't support all possible values of a compu tab; only tab will ignored, not the signal itself!

R_UNKNOWN 

Unknown reason.