BPNGClientLib
Library for accessing the Telemotive data logger devices
BPNGDefines.h
Go to the documentation of this file.
1 //******************************************************************************
2 //******************************************************************************
10 //******************************************************************************
11 //******************************************************************************
12 #pragma once
13 #ifndef BPNGDEFINES_H
14 #define BPNGDEFINES_H
15 
16 #ifdef _MSC_VER
17 
18 #ifdef BPNGCLIENTLIB_EXPORTS
19 #define DECLDIR __declspec(dllexport)
20 #else
21 #define DECLDIR __declspec(dllimport)
22 #endif
23 #include <windows.h>
24 
25 #else // not _MSC_VER
26 
27 #include "cstdio"
28 #define WINAPI
29 #define DECLDIR
30 #define BOOL bool
31 #define VOID void
32 
33 #endif // _MSC_VER
34 
35 #include "stdint.h"
36 
37 #define CLIENT_LIB_VERSION "5.0.4"
38 
39 #ifdef _WINDOWS
40 static const char *BPNG_CLIENT_LIB_VERSION = CLIENT_LIB_VERSION;
41 #else
42 static const char BPNG_CLIENT_LIB_VERSION[] = CLIENT_LIB_VERSION;
43 #endif
44 
45 // ===========================================================================
47 
53 {
54  BPNG_NOERR = 0,
55 
56  // connection errors
64 
65  // FTP errors
77 
78  // TMPBus errors
82 
83  // file handling error
92 
93  // xml error
95 
96  // user error
101  // SQLITE error
104 
105  // conversion error
119 
120  // download error
124 
125  // various
134  BPNG_LOAD_DBC_FAILED = 81,
135 
136  // CCP XCP errors
137  BPNG_CCP_XCP_PARSER_ERROR = 54,
138  BPNG_CCP_XCP_DBC_GENERATOR_ERROR = 55,
139  BPNG_CCP_XCP_SEQUENCE_GENERATOR_ERROR = 56,
140 
141  BPNG_INSUFFICIENT_DISK_SPACE = 57,
142  BPNG_FWUPDATE_FAILED = 58,
143  BPNG_INDEX_OUT_OF_RANGE_ERR = 59,
144  BPNG_READ_CONFIG_BACKUP_ERR = 60,
145 
146  //TSL
149 
150  //PWd
151  BPNG_LOGIN_CANCELED = 63,
152  BPNG_USER_PWD_WRONG = 64,
153  BPNG_NO_ACCESS_FOR_FUNCTION = 65,
154 
155  // streaming error
156  BPNG_STREAMING_PROTOCOLL_ERROR = 68,
157  BPNG_STREAMING_SOCKET_ERROR = 69,
158  BPNG_STREAMING_DISABLED = 70,
159  BPNG_FW_DEPRECATED = 71,
160  BPNG_STREAMING_ABORTED_BY_PEER = 72,
161 
162  // TSL
165 
166  // Plugins
167  BPNG_DLL_NO_FORMAT_PLUGIN = 83,
168  BPNG_FORMAT_PLUGIN_ID_EXISTS = 84,
169  BPNG_DLL_NO_SYSTEMCLIENTLISTENER_PLUGIN = 90,
170 
171  // Resume downlaod error
172  BPNG_FAILED_RENAME_RESUMED_OFFLINEDATASET = 85,
173  BPNG_FAILED_RENAME_RESUMED_RDB = 86,
174  BPNG_RESUME_INIT_FAILURE = 87,
175 
176  BPNG_SIGNAL_FILTER_INVALID_CONFIG = 88,
177  BPNG_BAD_ALLOC = 89,
178  BPNG_INVALID_FN_PATTERN = 91,
179 
181 
183  BPNG_FUNCTION_NOT_AVAILABLE = 94,
184 
185  BPNG_SFP_FILE_TRANSFER_NOT_ACKNOWLEDGED = 95,
186  BPNG_SFP_LOCAL_ERROR = 96,
187  BPNG_SFP_NO_DATA_RECEIVED = 97,
188  BPNG_MISSING_SFP_IP = 98,
189  BPNG_TMT_CHECKSUM_ERROR = 99,
190  BPNG_PBFWUPDATE_FAILED = 100,
192  // Highest enum value is BPNG_EXCEPTION_MINI_DUMP = 101, also keep BPNGError in BpngClientLibInterface.java up to date
193 };
194 
195 
196 enum FWUpdateErrorCode
197 {
198  FWUPDATE_ERRORCODE_NO_ERR = 0,
199  FWUPDATE_ERRORCODE_FW_PKT_NAME_EMPTY = -2,
200  FWUPDATE_ERRORCODE_FW_PKT_MISSING = -3,
201  FWUPDATE_ERRORCODE_NAMED_PIPE_SERVER_MKNOD = -4,
202  FWUPDATE_ERRORCODE_NAMED_PIPE_SERVER_OPEN = -5,
203  FWUPDATE_ERRORCODE_FW_UPDATE_NOT_IN_PROGRESS_TIMEOUT = -6,
204  FWUPDATE_ERRORCODE_MISSING_LINUX_DISTR = -7,
205  FWUPDATE_ERRORCODE_MISSING_LIBTMLIB_FILE = -8,
206  FWUPDATE_ERRORCODE_MISSING_TMLIB_FILE = -9,
207  FWUPDATE_ERRORCODE_MISSING_ATOM_FILE = -10,
208  FWUPDATE_ERRORCODE_MISSING_CLIENT_FILE = -11,
209  FWUPDATE_ERRORCODE_MISSING_FPGAA_FILE = -12,
210  FWUPDATE_ERRORCODE_MISSING_FPGAB_FILE = -13,
211  FWUPDATE_ERRORCODE_MISSING_EXTENSION_BOARD_FPGA_FILE = -14,
212  FWUPDATE_ERRORCODE_MISSING_GBE_FILE = -15,
213  FWUPDATE_ERRORCODE_MISSING_SBC_FILE = -16,
214  FWUPDATE_ERRORCODE_MISSING_SBC_FLASH_SCRIPT = -17,
215  FWUPDATE_ERRORCODE_MISSING_FPGA_FLASH_SCRIPT = -18,
216  FWUPDATE_ERRORCODE_MISSING_RCV_FILE = -19,
217  FWUPDATE_ERRORCODE_MISSING_LINUX_SETUP_ARCHIVE = -20,
218  FWUPDATE_ERRORCODE_UNKNOWN_MB_HW_VERSION = -21,
219  FWUPDATE_ERRORCODE_UNKNOWN_EXTENSION_BOARD = -22,
220  FWUPDATE_ERRORCODE_UNKNOWN_EXTENSION_BOARD_VARIANCE = -23,
221  FWUPDATE_ERRORCODE_NOT_READABLE_EXTENSION_BOARD_VARIANCE = -24,
222  FWUPDATE_ERRORCODE_NOT_READABLE_EXTENSION_BOARD_HW_VERSION = -25,
223  FWUPDATE_ERRORCODE_NOT_READABLE_HW_TYPE_VERSION = -26,
224  FWUPDATE_ERRORCODE_FAILED_UPDATE_APP_LIBS = -27,
225  FWUPDATE_ERRORCODE_FAILED_UPDATE_RC = -28,
226  FWUPDATE_ERRORCODE_FAILED_UPDATE_GBEC = -29,
227  FWUPDATE_ERRORCODE_CONV_CFG_ERROR = -30,
228  FWUPDATE_ERRORCODE_FAILED_UNCOMPRESS_LINUX_KERNEL = -31,
229  FWUPDATE_ERRORCODE_FAILED_UNCOMPRESS_LINUX_KERNEL_MODULES = -32,
230  FWUPDATE_ERRORCODE_FAILED_CPY_LINUX_KERNEL = -33,
231  FWUPDATE_ERRORCODE_FAILED_UNCOMPRESS_CLIENT_FILE = -34,
232  FWUPDATE_ERRORCODE_FAILED_CPY_CLIENT_FILE = -35,
233  FWUPDATE_ERRORCODE_FAILED_UPDATE_LINUX_DISTR = -36,
234  FWUPDATE_ERRORCODE_FAILED_SBC_FLASH = -37,
235  FWUPDATE_ERRORCODE_FAILED_UPDATE_CCP_XCP = -38,
236  FWUPDATE_ERRORCODE_FAILED_UPDATE_CCP_XCP_SEED_KEY_SERVERS = -39,
237  FWUPDATE_ERRORCODE_MISSING_CCP_XCP_FILE = -40,
238  FWUPDATE_ERRORCODE_MISSING_CCP_XCP_SEED_KEY_SERVER_FILE = -41,
239  FWUPDATE_ERRORCODE_MISSING_SPYNIC_FILE = -42,
240  FWUPDATE_ERRORCODE_MISSING_LOADING_ISPVM = -43,
241  FWUPDATE_ERRORCODE_MISSING_DEVICE_FPGAB_FILE = -44,
242  FWUPDATE_ERRORCODE_MISSING_DEVICE_FPGAA_FILE = -45,
243  FWUPDATE_ERRORCODE_UNREADY_FPGAA = -46,
244  FWUPDATE_ERRORCODE_LINUX_KERNEL_MAY_FREEZE_SYSTEM = -47,
245  FWUPDATE_ERRORCODE_NOT_SET_DEVICE_PATH = -48,
246  FWUPDATE_ERRORCODE_NOT_SET_FW_FILE = -49,
247  FWUPDATE_ERRORCODE_NOT_SET_FPGA_KEY = -50,
248  FWUPDATE_ERRORCODE_MISSING_DEVICE_FILE = -51,
249  FWUPDATE_ERRORCODE_MISSING_FPGA_FW_FILE = -52,
250  FWUPDATE_ERRORCODE_MISSING_TMUDEVQ = -53,
251  FWUPDATE_ERRORCODE_UNKNOWN_DEVICE_PATH = -54,
252  FWUPDATE_ERRORCODE_FAILED_CPY_FPGA_FILE = -55,
253  FWUPDATE_ERRORCODE_FAILED_LINKING_FW_UPDATE = -56,
254  FWUPDATE_ERRORCODE_ERROR_FLASH_FPGA = -57,
255  FWUPDATE_ERRORCODE_ERROR_FLASH_SPYNIC = -58,
256  FWUPDATE_ERRORCODE_ERROR_LOADING_FPGA_JTAG_DRIVER = -59,
257  FWUPDATE_ERRORCODE_MISSING_EXTENSION_BOARD_VIA_PCIE = -60,
258  FWUPDATE_ERRORCODE_FAILED_CONV_CFG = -61,
259  FWUPDATE_ERRORCODE_FAILED_UPLOAD = -62,
260  FWUPDATE_ERRORCODE_FWUFOLDER_EXISTS = 63,
261  FWUPDATE_ERRORCODE_UNDEFINED = -1
262 };
263 
265 
269 {
270  BPNG_NOWARNING,
276 };
277 
279 
284 {
287 };
288 
289 // ===========================================================================
292 {
299 };
300 
301 // ===========================================================================
304 {
326  CH_COMPLEXFILTER,
329 };
330 
331 
332 // ===========================================================================
334 static const char * const UNDEFINED = "UNDEFINED";
335 static const char * const TMASC = "TMASC";
336 static const char * const OP2 = "OP2";
337 static const char * const CANOE = "CANOE";
338 static const char * const STA = "STA";
339 static const char * const GNLOG = "GNLOG";
340 static const char * const TCLOG = "TCLOG";
341 static const char * const TCLOG_TS = "TCLOG_TS";
342 static const char * const RAW_SERIAL = "RAW_SERIAL";
343 static const char * const IMG = "IMG";
344 static const char * const TMBIN = "TMBIN";
345 static const char * const CANCORDER = "CANCORDER";
346 static const char * const APN = "APN";
347 static const char * const ASCHEX = "ASCHEX";
348 static const char * const TCPDUMP = "TCPDUMP";
349 static const char * const BLF = "BLF";
350 static const char * const DLT_BMW = "DLT_BMW";
351 static const char * const MDF = "MDF";
352 static const char * const MDF_CAN_SIG = "MDF_CAN_SIG";
353 static const char * const MPEG4_BLOCKS = "MPEG4_BLOCKS";
354 static const char * const MPEG4_JOINED = "MPEG4_JOINED";
355 static const char * const NMEA = "NMEA";
356 static const char * const KML = "KML";
357 static const char * const KMZ = "KMZ";
358 static const char * const SERIAL_DEBUG = "SERIAL_DEBUG";
359 static const char * const RAW_ETHERNET = "RAW_ETHERNET";
360 static const char * const ESO_TRACE = "ESO_TRACE";
361 static const char * const XTMT = "XTMT";
362 static const char * const GPX = "GPX";
363 static const char * const MDF_CCP_XCP_SIG = "MDF_CCP_XCP_SIG";
364 static const char * const TS = "TS";
365 static const char * const FILTER_FORMAT = "FILTER_FORMAT";
366 static const char * const MDF_SIG_LOG_4_10 = "MDF_SIG_LOG_4_10";
367 static const char * const MDF_BUS_LOG_4_10 = "MDF_BUS_LOG_4_10";
368 static const char * const QXDM_RAW_SERIAL = "QXDM_RAW_SERIAL";
369 static const char * const PCAPNG = "PCAPNG";
370 static const char * const INVALID = "INVALID";
371 
372 
373 
374 
375 // ===========================================================================
377 enum PwdPrivilegesFuncId
378 {
379  REMOVE_DATA = 0,
380  SET_TIME,
381  SET_EVENT,
382  RECONFIG,
383  RECONFIG_PASSWORD,
384  RECONFIG_COMPLEX_FILTER,
385  UPLOAD_WINE_DLLS,
386  UPDATE_FIRMWARE,
387  CHANGE_LICENCES,
388 
389  // must be last enum value
390  PRIVILEGES_END
391 };
392 
393 
394 // ===========================================================================
395 // List of possible reasons why a measure signal was ignored
396 enum Reason
397 {
403 };
404 
405 // ===========================================================================
408 {
410  virtual uint8_t getDeviceId() const = 0;
412  virtual uint16_t getSignalNo() const = 0;
414  virtual Reason getIgnoreReason() const = 0;
415 };
416 
417 // ===========================================================================
420 {
422  virtual size_t getSize() const = 0 ;
424  virtual const IFalseMeasureSignal* getSignal(size_t index) const = 0;
425 };
426 
427 // ===========================================================================
429 struct IChannel
430 {
432  virtual ChannelType getType() const = 0;
434  virtual uint8_t getIndex() const = 0;
436  virtual const char* getName() const = 0;
438  virtual uint32_t getMainboardNumber() const = 0;
440  virtual uint32_t getOffset() const = 0;
442  virtual BOOL isMappingActive() const = 0;
444  virtual uint8_t getMappedChannelIndex() const = 0;
445 };
446 
447 // ===========================================================================
450 {
452  virtual IChannel* getIChannel() const = 0;
454  virtual BOOL matchIChannel(const IChannel* iChannel) const = 0;
456  virtual uint32_t getContainerId() const = 0;
458  virtual uint32_t getPseudoContainerId() const = 0;
460  virtual const char* getPseudoChannelName() const = 0;
462  virtual uint16_t getBaseCanId() const = 0;
464  virtual bool isExtendedCanId() const = 0;
466  virtual const char* getHostIp() const = 0;
468  virtual const char* getDeviceIp() const = 0;
470  virtual unsigned int getDevicePort() const = 0;
472  virtual int getProtocol() const = 0;
474  virtual int getDebugLevel() const = 0;
475 };
476 
477 // ===========================================================================
480 {
482  virtual int getSize() const = 0 ;
484  virtual const IChannel* getChannel(int index) const = 0;
485 };
486 
487 // ===========================================================================
490 {
492  virtual int getSize() const = 0 ;
494  virtual const ITesttoolsChannel* getTesttoolsChannel(int index) const = 0;
495 };
496 
497 
498 // ===========================================================================
501 {
503  virtual const char* getFormatId() const = 0;
504 
506  virtual const char* getName(const char* language) const = 0;
507 
509  virtual BOOL isMultipleChannelSupport() const = 0;
510 
512  // 0 = false, else = true
513  virtual BOOL isBinaryFormat() const = 0;
514 
516  virtual const char* getExtension() const = 0;
517 
519  virtual int getNumSupportedChannelTypes() const = 0;
520 
522  virtual ChannelType getChannelType(int index) const = 0;
523 
525  virtual const char* getRequiredLicense() const = 0;
526 };
527 
528 // ===========================================================================
531 {
533  virtual int getSize() const = 0;
534 
536  virtual const IFormatInfo* getFormatInfo(int index) const = 0;
537 };
538 
539 // ===========================================================================
540 // Conversion set interface
542 
549 {
551 
565  virtual void addChannel(ChannelType channelType, uint8_t channelIndex, const char* formatId, int fileId, int offset, int mbnr, bool mappingActive, int mappedChannelId) = 0;
566 
568 
574  virtual void addTimeSpan(uint64_t startTime, uint64_t endTime, uint64_t id = 0) = 0;
575 
577 
592  virtual void addRdbIdRange(uint64_t startId, uint64_t endId) = 0;
593 
595 
599  virtual bool loadConversionFilters(const char* pathToIni) = 0;
600 
602  virtual bool loadFormats(const char* pathToIniFile) = 0;
603 
605  virtual bool saveFormats(const char* pathToIniFile) const = 0;
606 };
607 
610 {
611  LS_OK = 0,
612  LS_ERROR = 1,
613  LS_NOSYNC = 2,
616  LS_MEM = 5,
617  LS_RING = 6,
618  LS_UNDEFINED = -1
619 };
620 
621 // ===========================================================================
624 {
635 
636  DEV_TSL = 0x80,
637  DEV_UNKNOWN = 0xFF
638 };
639 
640 // ===========================================================================
642 
657 {
658  const char* ip;
659  const char* name;
660  const char* mbnr;
661  const char* deviceSN;
662  uint8_t occupied;
663  const char* currentUser;
664  uint8_t loggerStatus;
665  uint8_t wlan;
666  const char* tslEth0IP;
667  const char* tslEth1IP;
668  int8_t tslId;
669  int32_t tslNetworkId;
670  const char* tslName;
671  uint8_t deviceType;
672  const char* fwVersion;
673  uint16_t tmpBusPort;
674  uint16_t udpPort;
675  uint16_t ftpPort;
676  uint8_t isNotResponding;
677  const char* sfpIp;
678  uint16_t sfpPort;
679 };
680 
682 
687 {
688  uint8_t numDevices;
689  OnlineLoggerInfo* loggerArray;
690 };
691 
692 // ===========================================================================
695 {
696  DST_IDSPAN = 0,
697  DST_TIMESPAN = 1
698 };
699 
700 // ===========================================================================
702 struct DataSpan
703 {
704  uint8_t type;
705  uint64_t start;
706  uint64_t end;
707  uint64_t reserved; //< reserved
708 };
709 
710 // ===========================================================================
712 struct BPNGError
713 {
715  const char* msg;
716 };
717 
718 
719 // ===========================================================================
721 struct LogInData
722 {
723  const char* userName;
724  const char* userPwd;
725 };
726 
727 
728 
731 {
732  uint32_t ringBufferSize;
733  uint8_t percentageFill;
735  uint32_t extRingBufferSize;
738  uint64_t mbnr;
742 };
743 
746 {
748  const char* value;
749 };
750 
752 typedef void (WINAPI*onLogRequest)(const char* logRecord);
753 
754 #endif // BPNGDEFINES_H
standard blue PiraT 2 device
Definition: BPNGDefines.h:627
uint8_t percentageFillProtected
percentage filled of protected areas
Definition: BPNGDefines.h:734
uint16_t udpPort
udp port for keep alive
Definition: BPNGDefines.h:674
in case of different TSLNetwork IDs
Definition: BPNGDefines.h:164
The IP address the lib wanted to connect was not found.
Definition: BPNGDefines.h:57
Invalid messages found in trace file(s).
Definition: BPNGDefines.h:113
The TMT/XTMT version of the trace file is not supported by this lib version.
Definition: BPNGDefines.h:111
Device is configured as slave but no master is found.
Definition: BPNGDefines.h:613
Channel list interface.
Definition: BPNGDefines.h:479
BPNGWarningCode
Warning codes.
Definition: BPNGDefines.h:268
const char * currentUser
user name of connected pc account
Definition: BPNGDefines.h:663
DBC file don&#39;t support all possible values of a compu tab; only tab will ignored, not the signal itse...
Definition: BPNGDefines.h:401
if a rpc command for tsl is wrong
Definition: BPNGDefines.h:147
ChannelType
Currently supported interfaces.
Definition: BPNGDefines.h:303
if fw versions on tsl clusters are inconsistent
Definition: BPNGDefines.h:163
FormatInfo interface.
Definition: BPNGDefines.h:500
Device has at least one active error.
Definition: BPNGDefines.h:612
const char * mbnr
mainboard number
Definition: BPNGDefines.h:660
The current library version does not suffice the the reuired min version written to BPNGError::msg...
Definition: BPNGDefines.h:130
Invalid message id found in trace file(s).
Definition: BPNGDefines.h:114
Struct with information about a logger found in LAN/WLAN used to notify IBPNGClientListener about det...
Definition: BPNGDefines.h:656
german
Definition: BPNGDefines.h:286
Can&#39;t remove the file on the FTP server.
Definition: BPNGDefines.h:75
uint8_t secondPercentageFillProtected
second ringbuffer percentage filled of protected areas
Definition: BPNGDefines.h:741
BPNGDeviceType
Enumartion of Telemotives next generation data loggers.
Definition: BPNGDefines.h:623
Diagnose, currently not used.
Definition: BPNGDefines.h:323
structure for login
Definition: BPNGDefines.h:721
Definition: BPNGDefines.h:121
Full bug report with all traces files.
Definition: BPNGDefines.h:297
if cascading of tsl is invalid
Definition: BPNGDefines.h:148
Invalid TMT/XTMT file id while trying to convert data.
Definition: BPNGDefines.h:110
Device hast at least one active warning.
Definition: BPNGDefines.h:614
A function call failed because the logger was not connected.
Definition: BPNGDefines.h:58
Invalid message sub id found in trace file(s).
Definition: BPNGDefines.h:116
An unspecified error occurred.
Definition: BPNGDefines.h:133
undefined channel type
Definition: BPNGDefines.h:305
Some kind of unhandled exception was thrown.
Definition: BPNGDefines.h:131
Failed to read local file.
Definition: BPNGDefines.h:86
Local path not found.
Definition: BPNGDefines.h:85
Error while parsing xml file.
Definition: BPNGDefines.h:94
Internal storage of device is full. Ring buffer is activated.
Definition: BPNGDefines.h:617
MOST 150 synchroneous channel (streaming data)
Definition: BPNGDefines.h:318
uint8_t extPercentageFillProtected
external media percentage filled of protected areas
Definition: BPNGDefines.h:737
MOST 150 data packet channel (MDP)
Definition: BPNGDefines.h:316
Global Positioning System.
Definition: BPNGDefines.h:324
Error when trying to read data from the rdb.
Definition: BPNGDefines.h:102
const char * value
the value, for example a path to a firmware update packet
Definition: BPNGDefines.h:748
Can&#39;t create the directory on the FTP server.
Definition: BPNGDefines.h:73
Establishing the ftp connection failed.
Definition: BPNGDefines.h:59
const char * sfpIp
logic IP address for SFP transfer
Definition: BPNGDefines.h:677
currently not used
Definition: BPNGDefines.h:127
Can&#39;t red a file on the FTP server.
Definition: BPNGDefines.h:70
Failed to initialise the IBPNGClient from the passed offline data set.
Definition: BPNGDefines.h:126
BPNGErrCode code
error code
Definition: BPNGDefines.h:714
uint8_t percentageFill
percentage filled
Definition: BPNGDefines.h:733
only FDB and RDB are downloaded
Definition: BPNGDefines.h:295
Definition: BPNGDefines.h:97
Failed to copy the reference data base to the logger&#39;s tmp directory.
Definition: BPNGDefines.h:79
uint32_t ringBufferSize
size of ringbuffer in GB
Definition: BPNGDefines.h:732
uint16_t sfpPort
SFP server port.
Definition: BPNGDefines.h:678
const char * msg
error message
Definition: BPNGDefines.h:715
DBC file don&#39;t support all compu tab types; only tab will ignored, not the signal itself! ...
Definition: BPNGDefines.h:400
LanguageID
Languages.
Definition: BPNGDefines.h:283
In case of protocol mismatch between recorded data and target format or unsupported message sub types...
Definition: BPNGDefines.h:272
Failed to open the reference data base.
Definition: BPNGDefines.h:103
Invalid format assignment or mismatching recorded trace data for the specified conversion format...
Definition: BPNGDefines.h:118
MOST 25 synchroneous channel (streaming data)
Definition: BPNGDefines.h:314
CAN high speed interface.
Definition: BPNGDefines.h:307
Digital in.
Definition: BPNGDefines.h:320
BPNGBugreportMode
Mode for the IBPNG::downloadBugReport() function.
Definition: BPNGDefines.h:291
FTP file transfer was canceled by the user.
Definition: BPNGDefines.h:72
A requested path on the FTP server is not found.
Definition: BPNGDefines.h:69
no error
Definition: BPNGDefines.h:54
Definition: BPNGDefines.h:106
False measure signal list interface.
Definition: BPNGDefines.h:419
Flexray interface.
Definition: BPNGDefines.h:311
uint8_t isNotResponding
device responding status
Definition: BPNGDefines.h:676
Representation of a chain of Telemotive devices combined via Telemotive System Link (TSL) ...
Definition: BPNGDefines.h:686
const char * fwVersion
Current firmware version, since FW 2.1.1.
Definition: BPNGDefines.h:672
The logger&#39;s or offline data set&#39;s RDB-Verison is incompatible to this library version.
Definition: BPNGDefines.h:132
const char * tslEth0IP
ip address of device connected to eth0, 0.0.0.0 if none
Definition: BPNGDefines.h:666
Missing FileTimeMessage in header of TMT/XTMT file.
Definition: BPNGDefines.h:112
DBC file don&#39;t support bit operations with a bit mask.
Definition: BPNGDefines.h:398
only client logs are stored
Definition: BPNGDefines.h:296
Failed to send a TMP bus request message.
Definition: BPNGDefines.h:80
currently not used
Definition: BPNGDefines.h:129
uint8_t occupied
0 = not occupied, 1 = connected with client, 2 = occupied by temp config (via external media) ...
Definition: BPNGDefines.h:662
No trace data found on download station.
Definition: BPNGDefines.h:182
MOST 150 ethernet packet channel (MEP)
Definition: BPNGDefines.h:317
uint16_t ftpPort
ftp port
Definition: BPNGDefines.h:675
Ethernet interface.
Definition: BPNGDefines.h:310
There is no data available that could be converted. Check the specified time/id spans.
Definition: BPNGDefines.h:109
uint64_t mbnr
mainboardnumber of device
Definition: BPNGDefines.h:738
Can&#39;t write a file on the FTP server.
Definition: BPNGDefines.h:71
Electronic Control Line.
Definition: BPNGDefines.h:325
uint8_t deviceType
Device type,.
Definition: BPNGDefines.h:671
Definition: BPNGDefines.h:702
ethernet data for eso trace conversion is not logged in eso trace format
Definition: BPNGDefines.h:273
CCP XCP.
Definition: BPNGDefines.h:322
ZIP file exceeds max size for FAT32 file systems.
Definition: BPNGDefines.h:91
CAN low speed interface.
Definition: BPNGDefines.h:306
a helper object for configuration, license update or firmwareupdate: a key value pair for assigning a...
Definition: BPNGDefines.h:745
Firmeware update in progress.
Definition: BPNGDefines.h:615
const char * tslEth1IP
ip address of device connected to eth1, 0.0.0.0 if none
Definition: BPNGDefines.h:667
Device is ok.
Definition: BPNGDefines.h:611
english
Definition: BPNGDefines.h:285
Full bug report without traces.
Definition: BPNGDefines.h:293
int8_t tslId
id for device in tsl network, continues in tsl, starts with 0 on first device
Definition: BPNGDefines.h:668
stores memory fill level of a device
Definition: BPNGDefines.h:730
Full bugreport with trace file of a specified time span.
Definition: BPNGDefines.h:298
MOST 25 data packet channel (MDP)
Definition: BPNGDefines.h:313
blue PiraT Remote
Definition: BPNGDefines.h:630
Analog in.
Definition: BPNGDefines.h:319
void(WINAPI * onLogRequest)(const char *logRecord)
Pointer to a function named onLogRequest with one parameter and no return value.
Definition: BPNGDefines.h:752
Definition: BPNGDefines.h:625
Unknown reason.
Definition: BPNGDefines.h:402
Camera channel.
Definition: BPNGDefines.h:321
const char * deviceSN
device serial number, since FW 2.2.1
Definition: BPNGDefines.h:661
Some kind of unhandled exception was thrown. MiniDump file was written.
Definition: BPNGDefines.h:191
BPNGLoggerStatus
Logger status.
Definition: BPNGDefines.h:609
Local directory already exists.
Definition: BPNGDefines.h:89
virtual uint8_t getDeviceId() const =0
Returns the device Id.
Invalid message length found in trace file(s).
Definition: BPNGDefines.h:117
The passed conversion set pointer was not created with this IBPNGClient instance and dus could not be...
Definition: BPNGDefines.h:108
Trace Collector.
Definition: BPNGDefines.h:633
There are no test drive data spans available that could be converted.
Definition: BPNGDefines.h:180
virtual Reason getIgnoreReason() const =0
Returns the ignore reason.
uint64_t start
start time/id of data span
Definition: BPNGDefines.h:705
MOST 150 control channel.
Definition: BPNGDefines.h:315
blue PiraT 2 5E device
Definition: BPNGDefines.h:628
BPNGErrCode
enum Error codes
Definition: BPNGDefines.h:52
FTP is not connected.
Definition: BPNGDefines.h:66
Failed to create local file or directory.
Definition: BPNGDefines.h:84
blue PiraT mini devices
Definition: BPNGDefines.h:626
A TSL cluster with loggers with different time zones is in undefined state. It&#39;s not defined which ti...
Definition: BPNGDefines.h:274
virtual uint16_t getSignalNo() const =0
Returns the signal number.
The verification of the new firmware at the end of a firmware update failed.
Definition: BPNGDefines.h:128
Channel interface.
Definition: BPNGDefines.h:429
Internal storage of device is full. Ring buffer deactivated or full with protected trace files...
Definition: BPNGDefines.h:616
OnlineLoggerInfo key
the device
Definition: BPNGDefines.h:747
Can&#39;t remove the directory on the FTP server.
Definition: BPNGDefines.h:74
Establishing the TMP (Telemotive Protocol) bus connection failed.
Definition: BPNGDefines.h:60
Trace Collector Download Station.
Definition: BPNGDefines.h:634
int32_t tslNetworkId
id of tsl network, -1 = no TSL, all devices with same tslNetworkId belong to the same TSL ...
Definition: BPNGDefines.h:669
blue PiraT Rapid
Definition: BPNGDefines.h:632
Local file already exists.
Definition: BPNGDefines.h:88
uint64_t end
end time/id of data span
Definition: BPNGDefines.h:706
FTP login failed.
Definition: BPNGDefines.h:68
Bit mask is incorrect and cause a overlap with at least one other signal.
Definition: BPNGDefines.h:399
LIN interface.
Definition: BPNGDefines.h:308
Format list interface.
Definition: BPNGDefines.h:530
False measure signal interface.
Definition: BPNGDefines.h:407
Recovering trace files from a previous power down failed.
Definition: BPNGDefines.h:275
There is no data available that could be downoaded. Check the specified time/id spans.
Definition: BPNGDefines.h:123
TMP bus is not connected.
Definition: BPNGDefines.h:61
A conversion set stores all conversion relevant settings.
Definition: BPNGDefines.h:548
const char * tslName
name(id) of tsl network
Definition: BPNGDefines.h:670
Error struct with error code and optional error message.
Definition: BPNGDefines.h:712
const char * ip
the logger&#39;s ip address, obligatory if OnlineLoggerInfo is used with IBPNGClient::setDevice() ...
Definition: BPNGDefines.h:658
Remote Control Touch.
Definition: BPNGDefines.h:629
Can&#39;t change the current working directory on the FTP server.
Definition: BPNGDefines.h:76
const char * name
the logger&#39;s name
Definition: BPNGDefines.h:659
uint8_t wlan
Flag for connection type. 0 = ethernet, 1 = wlan.
Definition: BPNGDefines.h:665
uint16_t tmpBusPort
tmp bus port
Definition: BPNGDefines.h:673
uint8_t secondPercentageFill
second ringbuffer percentage filled
Definition: BPNGDefines.h:740
MII channel for ethernet spy.
Definition: BPNGDefines.h:328
DataSpanType
Types for DataSpan.
Definition: BPNGDefines.h:694
Only log files are downloaded.
Definition: BPNGDefines.h:294
uint8_t type
set type to 0 for a id based range, set type to 1 for a time based range
Definition: BPNGDefines.h:704
Streaming feature could not be connected.
Definition: BPNGDefines.h:63
Channel interface.
Definition: BPNGDefines.h:449
Serial interface.
Definition: BPNGDefines.h:309
Failed to write local file.
Definition: BPNGDefines.h:87
MOST 25 control channel.
Definition: BPNGDefines.h:312
Reason
Definition: BPNGDefines.h:396
uint32_t secondRingBufferSize
size of the second ringbuffer in GB (only available on bluePiraT Rapid)
Definition: BPNGDefines.h:739
The TMP bus request execution failed.
Definition: BPNGDefines.h:81
uint8_t extPercentageFill
external media percentage filled
Definition: BPNGDefines.h:736
FTP server is not fould.
Definition: BPNGDefines.h:67
internal use only! don&#39;t use!
Definition: BPNGDefines.h:636
multiple devices with same IP available
Definition: BPNGDefines.h:62
uint8_t loggerStatus
current logger status,
Definition: BPNGDefines.h:664
blue PiraT Touch
Definition: BPNGDefines.h:631
TesttoolsChannel list interface.
Definition: BPNGDefines.h:489
TTY channel for QXDM.
Definition: BPNGDefines.h:327
no warning
Definition: BPNGDefines.h:271
Invalid message ts found in trace file(s).
Definition: BPNGDefines.h:115
uint32_t extRingBufferSize
size of external media ringbuffer in GB
Definition: BPNGDefines.h:735
Specified path exceeds the max. valid length (e.g. 260 for Windows systems)
Definition: BPNGDefines.h:90