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.1"
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
191  // Highest enum value is BPNG_PBFWUPDATE_FAILED = 100, also keep BPNGError in BpngClientLibInterface.java up to date
192 };
193 
194 
195 enum FWUpdateErrorCode
196 {
197  FWUPDATE_ERRORCODE_NO_ERR = 0,
198  FWUPDATE_ERRORCODE_FW_PKT_NAME_EMPTY = -2,
199  FWUPDATE_ERRORCODE_FW_PKT_MISSING = -3,
200  FWUPDATE_ERRORCODE_NAMED_PIPE_SERVER_MKNOD = -4,
201  FWUPDATE_ERRORCODE_NAMED_PIPE_SERVER_OPEN = -5,
202  FWUPDATE_ERRORCODE_FW_UPDATE_NOT_IN_PROGRESS_TIMEOUT = -6,
203  FWUPDATE_ERRORCODE_MISSING_LINUX_DISTR = -7,
204  FWUPDATE_ERRORCODE_MISSING_LIBTMLIB_FILE = -8,
205  FWUPDATE_ERRORCODE_MISSING_TMLIB_FILE = -9,
206  FWUPDATE_ERRORCODE_MISSING_ATOM_FILE = -10,
207  FWUPDATE_ERRORCODE_MISSING_CLIENT_FILE = -11,
208  FWUPDATE_ERRORCODE_MISSING_FPGAA_FILE = -12,
209  FWUPDATE_ERRORCODE_MISSING_FPGAB_FILE = -13,
210  FWUPDATE_ERRORCODE_MISSING_EXTENSION_BOARD_FPGA_FILE = -14,
211  FWUPDATE_ERRORCODE_MISSING_GBE_FILE = -15,
212  FWUPDATE_ERRORCODE_MISSING_SBC_FILE = -16,
213  FWUPDATE_ERRORCODE_MISSING_SBC_FLASH_SCRIPT = -17,
214  FWUPDATE_ERRORCODE_MISSING_FPGA_FLASH_SCRIPT = -18,
215  FWUPDATE_ERRORCODE_MISSING_RCV_FILE = -19,
216  FWUPDATE_ERRORCODE_MISSING_LINUX_SETUP_ARCHIVE = -20,
217  FWUPDATE_ERRORCODE_UNKNOWN_MB_HW_VERSION = -21,
218  FWUPDATE_ERRORCODE_UNKNOWN_EXTENSION_BOARD = -22,
219  FWUPDATE_ERRORCODE_UNKNOWN_EXTENSION_BOARD_VARIANCE = -23,
220  FWUPDATE_ERRORCODE_NOT_READABLE_EXTENSION_BOARD_VARIANCE = -24,
221  FWUPDATE_ERRORCODE_NOT_READABLE_EXTENSION_BOARD_HW_VERSION = -25,
222  FWUPDATE_ERRORCODE_NOT_READABLE_HW_TYPE_VERSION = -26,
223  FWUPDATE_ERRORCODE_FAILED_UPDATE_APP_LIBS = -27,
224  FWUPDATE_ERRORCODE_FAILED_UPDATE_RC = -28,
225  FWUPDATE_ERRORCODE_FAILED_UPDATE_GBEC = -29,
226  FWUPDATE_ERRORCODE_CONV_CFG_ERROR = -30,
227  FWUPDATE_ERRORCODE_FAILED_UNCOMPRESS_LINUX_KERNEL = -31,
228  FWUPDATE_ERRORCODE_FAILED_UNCOMPRESS_LINUX_KERNEL_MODULES = -32,
229  FWUPDATE_ERRORCODE_FAILED_CPY_LINUX_KERNEL = -33,
230  FWUPDATE_ERRORCODE_FAILED_UNCOMPRESS_CLIENT_FILE = -34,
231  FWUPDATE_ERRORCODE_FAILED_CPY_CLIENT_FILE = -35,
232  FWUPDATE_ERRORCODE_FAILED_UPDATE_LINUX_DISTR = -36,
233  FWUPDATE_ERRORCODE_FAILED_SBC_FLASH = -37,
234  FWUPDATE_ERRORCODE_FAILED_UPDATE_CCP_XCP = -38,
235  FWUPDATE_ERRORCODE_FAILED_UPDATE_CCP_XCP_SEED_KEY_SERVERS = -39,
236  FWUPDATE_ERRORCODE_MISSING_CCP_XCP_FILE = -40,
237  FWUPDATE_ERRORCODE_MISSING_CCP_XCP_SEED_KEY_SERVER_FILE = -41,
238  FWUPDATE_ERRORCODE_MISSING_SPYNIC_FILE = -42,
239  FWUPDATE_ERRORCODE_MISSING_LOADING_ISPVM = -43,
240  FWUPDATE_ERRORCODE_MISSING_DEVICE_FPGAB_FILE = -44,
241  FWUPDATE_ERRORCODE_MISSING_DEVICE_FPGAA_FILE = -45,
242  FWUPDATE_ERRORCODE_UNREADY_FPGAA = -46,
243  FWUPDATE_ERRORCODE_LINUX_KERNEL_MAY_FREEZE_SYSTEM = -47,
244  FWUPDATE_ERRORCODE_NOT_SET_DEVICE_PATH = -48,
245  FWUPDATE_ERRORCODE_NOT_SET_FW_FILE = -49,
246  FWUPDATE_ERRORCODE_NOT_SET_FPGA_KEY = -50,
247  FWUPDATE_ERRORCODE_MISSING_DEVICE_FILE = -51,
248  FWUPDATE_ERRORCODE_MISSING_FPGA_FW_FILE = -52,
249  FWUPDATE_ERRORCODE_MISSING_TMUDEVQ = -53,
250  FWUPDATE_ERRORCODE_UNKNOWN_DEVICE_PATH = -54,
251  FWUPDATE_ERRORCODE_FAILED_CPY_FPGA_FILE = -55,
252  FWUPDATE_ERRORCODE_FAILED_LINKING_FW_UPDATE = -56,
253  FWUPDATE_ERRORCODE_ERROR_FLASH_FPGA = -57,
254  FWUPDATE_ERRORCODE_ERROR_FLASH_SPYNIC = -58,
255  FWUPDATE_ERRORCODE_ERROR_LOADING_FPGA_JTAG_DRIVER = -59,
256  FWUPDATE_ERRORCODE_MISSING_EXTENSION_BOARD_VIA_PCIE = -60,
257  FWUPDATE_ERRORCODE_FAILED_CONV_CFG = -61,
258  FWUPDATE_ERRORCODE_FAILED_UPLOAD = -62,
259  FWUPDATE_ERRORCODE_FWUFOLDER_EXISTS = 63,
260  FWUPDATE_ERRORCODE_UNDEFINED = -1
261 };
262 
264 
268 {
269  BPNG_NOWARNING,
275 };
276 
278 
283 {
286 };
287 
288 // ===========================================================================
291 {
298 };
299 
300 // ===========================================================================
303 {
325  CH_COMPLEXFILTER,
328 };
329 
330 
331 // ===========================================================================
333 static const char * const UNDEFINED = "UNDEFINED";
334 static const char * const TMASC = "TMASC";
335 static const char * const OP2 = "OP2";
336 static const char * const CANOE = "CANOE";
337 static const char * const STA = "STA";
338 static const char * const GNLOG = "GNLOG";
339 static const char * const TCLOG = "TCLOG";
340 static const char * const TCLOG_TS = "TCLOG_TS";
341 static const char * const RAW_SERIAL = "RAW_SERIAL";
342 static const char * const IMG = "IMG";
343 static const char * const TMBIN = "TMBIN";
344 static const char * const CANCORDER = "CANCORDER";
345 static const char * const APN = "APN";
346 static const char * const ASCHEX = "ASCHEX";
347 static const char * const TCPDUMP = "TCPDUMP";
348 static const char * const BLF = "BLF";
349 static const char * const DLT_BMW = "DLT_BMW";
350 static const char * const MDF = "MDF";
351 static const char * const MDF_CAN_SIG = "MDF_CAN_SIG";
352 static const char * const MPEG4_BLOCKS = "MPEG4_BLOCKS";
353 static const char * const MPEG4_JOINED = "MPEG4_JOINED";
354 static const char * const NMEA = "NMEA";
355 static const char * const KML = "KML";
356 static const char * const KMZ = "KMZ";
357 static const char * const SERIAL_DEBUG = "SERIAL_DEBUG";
358 static const char * const RAW_ETHERNET = "RAW_ETHERNET";
359 static const char * const ESO_TRACE = "ESO_TRACE";
360 static const char * const XTMT = "XTMT";
361 static const char * const GPX = "GPX";
362 static const char * const MDF_CCP_XCP_SIG = "MDF_CCP_XCP_SIG";
363 static const char * const TS = "TS";
364 static const char * const FILTER_FORMAT = "FILTER_FORMAT";
365 static const char * const MDF_SIG_LOG_4_10 = "MDF_SIG_LOG_4_10";
366 static const char * const MDF_BUS_LOG_4_10 = "MDF_BUS_LOG_4_10";
367 static const char * const QXDM_RAW_SERIAL = "QXDM_RAW_SERIAL";
368 static const char * const PCAPNG = "PCAPNG";
369 static const char * const INVALID = "INVALID";
370 
371 
372 
373 
374 // ===========================================================================
376 enum PwdPrivilegesFuncId
377 {
378  REMOVE_DATA = 0,
379  SET_TIME,
380  SET_EVENT,
381  RECONFIG,
382  RECONFIG_PASSWORD,
383  RECONFIG_COMPLEX_FILTER,
384  UPLOAD_WINE_DLLS,
385  UPDATE_FIRMWARE,
386  CHANGE_LICENCES,
387 
388  // must be last enum value
389  PRIVILEGES_END
390 };
391 
392 
393 // ===========================================================================
394 // List of possible reasons why a measure signal was ignored
395 enum Reason
396 {
402 };
403 
404 // ===========================================================================
407 {
409  virtual uint8_t getDeviceId() const = 0;
411  virtual uint16_t getSignalNo() const = 0;
413  virtual Reason getIgnoreReason() const = 0;
414 };
415 
416 // ===========================================================================
419 {
421  virtual size_t getSize() const = 0 ;
423  virtual const IFalseMeasureSignal* getSignal(size_t index) const = 0;
424 };
425 
426 // ===========================================================================
428 struct IChannel
429 {
431  virtual ChannelType getType() const = 0;
433  virtual uint8_t getIndex() const = 0;
435  virtual const char* getName() const = 0;
437  virtual uint32_t getMainboardNumber() const = 0;
439  virtual uint32_t getOffset() const = 0;
441  virtual BOOL isMappingActive() const = 0;
443  virtual uint8_t getMappedChannelIndex() const = 0;
444 };
445 
446 // ===========================================================================
449 {
451  virtual IChannel* getIChannel() const = 0;
453  virtual BOOL matchIChannel(const IChannel* iChannel) const = 0;
455  virtual uint32_t getContainerId() const = 0;
457  virtual uint32_t getPseudoContainerId() const = 0;
459  virtual const char* getPseudoChannelName() const = 0;
461  virtual uint16_t getBaseCanId() const = 0;
463  virtual bool isExtendedCanId() const = 0;
465  virtual const char* getHostIp() const = 0;
467  virtual const char* getDeviceIp() const = 0;
469  virtual unsigned int getDevicePort() const = 0;
471  virtual int getProtocol() const = 0;
473  virtual int getDebugLevel() const = 0;
474 };
475 
476 // ===========================================================================
479 {
481  virtual int getSize() const = 0 ;
483  virtual const IChannel* getChannel(int index) const = 0;
484 };
485 
486 // ===========================================================================
489 {
491  virtual int getSize() const = 0 ;
493  virtual const ITesttoolsChannel* getTesttoolsChannel(int index) const = 0;
494 };
495 
496 
497 // ===========================================================================
500 {
502  virtual const char* getFormatId() const = 0;
503 
505  virtual const char* getName(const char* language) const = 0;
506 
508  virtual BOOL isMultipleChannelSupport() const = 0;
509 
511  // 0 = false, else = true
512  virtual BOOL isBinaryFormat() const = 0;
513 
515  virtual const char* getExtension() const = 0;
516 
518  virtual int getNumSupportedChannelTypes() const = 0;
519 
521  virtual ChannelType getChannelType(int index) const = 0;
522 
524  virtual const char* getRequiredLicense() const = 0;
525 };
526 
527 // ===========================================================================
530 {
532  virtual int getSize() const = 0;
533 
535  virtual const IFormatInfo* getFormatInfo(int index) const = 0;
536 };
537 
538 // ===========================================================================
539 // Conversion set interface
541 
548 {
550 
564  virtual void addChannel(ChannelType channelType, uint8_t channelIndex, const char* formatId, int fileId, int offset, int mbnr, bool mappingActive, int mappedChannelId) = 0;
565 
567 
573  virtual void addTimeSpan(uint64_t startTime, uint64_t endTime, uint64_t id = 0) = 0;
574 
576 
591  virtual void addRdbIdRange(uint64_t startId, uint64_t endId) = 0;
592 
594 
598  virtual bool loadConversionFilters(const char* pathToIni) = 0;
599 
601  virtual bool loadFormats(const char* pathToIniFile) = 0;
602 
604  virtual bool saveFormats(const char* pathToIniFile) const = 0;
605 };
606 
609 {
610  LS_OK = 0,
611  LS_ERROR = 1,
612  LS_NOSYNC = 2,
615  LS_MEM = 5,
616  LS_RING = 6,
617  LS_UNDEFINED = -1
618 };
619 
620 // ===========================================================================
623 {
634 
635  DEV_TSL = 0x80,
636  DEV_UNKNOWN = 0xFF
637 };
638 
639 // ===========================================================================
641 
656 {
657  const char* ip;
658  const char* name;
659  const char* mbnr;
660  const char* deviceSN;
661  uint8_t occupied;
662  const char* currentUser;
663  uint8_t loggerStatus;
664  uint8_t wlan;
665  const char* tslEth0IP;
666  const char* tslEth1IP;
667  int8_t tslId;
668  int32_t tslNetworkId;
669  const char* tslName;
670  uint8_t deviceType;
671  const char* fwVersion;
672  uint16_t tmpBusPort;
673  uint16_t udpPort;
674  uint16_t ftpPort;
675  uint8_t isNotResponding;
676  const char* sfpIp;
677  uint16_t sfpPort;
678 };
679 
681 
686 {
687  uint8_t numDevices;
688  OnlineLoggerInfo* loggerArray;
689 };
690 
691 // ===========================================================================
694 {
695  DST_IDSPAN = 0,
696  DST_TIMESPAN = 1
697 };
698 
699 // ===========================================================================
701 struct DataSpan
702 {
703  uint8_t type;
704  uint64_t start;
705  uint64_t end;
706  uint64_t reserved; //< reserved
707 };
708 
709 // ===========================================================================
711 struct BPNGError
712 {
714  const char* msg;
715 };
716 
717 
718 // ===========================================================================
720 struct LogInData
721 {
722  const char* userName;
723  const char* userPwd;
724 };
725 
726 
727 
730 {
731  uint32_t ringBufferSize;
732  uint8_t percentageFill;
734  uint32_t extRingBufferSize;
737  uint64_t mbnr;
741 };
742 
745 {
747  const char* value;
748 };
749 
751 typedef void (WINAPI*onLogRequest)(const char* logRecord);
752 
753 #endif // BPNGDEFINES_H
standard blue PiraT 2 device
Definition: BPNGDefines.h:626
uint8_t percentageFillProtected
percentage filled of protected areas
Definition: BPNGDefines.h:733
uint16_t udpPort
udp port for keep alive
Definition: BPNGDefines.h:673
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:612
Channel list interface.
Definition: BPNGDefines.h:478
BPNGWarningCode
Warning codes.
Definition: BPNGDefines.h:267
const char * currentUser
user name of connected pc account
Definition: BPNGDefines.h:662
DBC file don&#39;t support all possible values of a compu tab; only tab will ignored, not the signal itse...
Definition: BPNGDefines.h:400
if a rpc command for tsl is wrong
Definition: BPNGDefines.h:147
ChannelType
Currently supported interfaces.
Definition: BPNGDefines.h:302
if fw versions on tsl clusters are inconsistent
Definition: BPNGDefines.h:163
FormatInfo interface.
Definition: BPNGDefines.h:499
Device has at least one active error.
Definition: BPNGDefines.h:611
const char * mbnr
mainboard number
Definition: BPNGDefines.h:659
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:655
german
Definition: BPNGDefines.h:285
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:740
BPNGDeviceType
Enumartion of Telemotives next generation data loggers.
Definition: BPNGDefines.h:622
Diagnose, currently not used.
Definition: BPNGDefines.h:322
structure for login
Definition: BPNGDefines.h:720
Definition: BPNGDefines.h:121
Full bug report with all traces files.
Definition: BPNGDefines.h:296
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:613
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:304
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:616
MOST 150 synchroneous channel (streaming data)
Definition: BPNGDefines.h:317
uint8_t extPercentageFillProtected
external media percentage filled of protected areas
Definition: BPNGDefines.h:736
MOST 150 data packet channel (MDP)
Definition: BPNGDefines.h:315
Global Positioning System.
Definition: BPNGDefines.h:323
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:747
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:676
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:713
uint8_t percentageFill
percentage filled
Definition: BPNGDefines.h:732
only FDB and RDB are downloaded
Definition: BPNGDefines.h:294
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:731
uint16_t sfpPort
SFP server port.
Definition: BPNGDefines.h:677
const char * msg
error message
Definition: BPNGDefines.h:714
DBC file don&#39;t support all compu tab types; only tab will ignored, not the signal itself! ...
Definition: BPNGDefines.h:399
LanguageID
Languages.
Definition: BPNGDefines.h:282
In case of protocol mismatch between recorded data and target format or unsupported message sub types...
Definition: BPNGDefines.h:271
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:313
CAN high speed interface.
Definition: BPNGDefines.h:306
Digital in.
Definition: BPNGDefines.h:319
BPNGBugreportMode
Mode for the IBPNG::downloadBugReport() function.
Definition: BPNGDefines.h:290
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:418
Flexray interface.
Definition: BPNGDefines.h:310
uint8_t isNotResponding
device responding status
Definition: BPNGDefines.h:675
Representation of a chain of Telemotive devices combined via Telemotive System Link (TSL) ...
Definition: BPNGDefines.h:685
const char * fwVersion
Current firmware version, since FW 2.1.1.
Definition: BPNGDefines.h:671
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:665
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:397
only client logs are stored
Definition: BPNGDefines.h:295
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:661
No trace data found on download station.
Definition: BPNGDefines.h:182
MOST 150 ethernet packet channel (MEP)
Definition: BPNGDefines.h:316
uint16_t ftpPort
ftp port
Definition: BPNGDefines.h:674
Ethernet interface.
Definition: BPNGDefines.h:309
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:737
Can&#39;t write a file on the FTP server.
Definition: BPNGDefines.h:71
Electronic Control Line.
Definition: BPNGDefines.h:324
uint8_t deviceType
Device type,.
Definition: BPNGDefines.h:670
Definition: BPNGDefines.h:701
ethernet data for eso trace conversion is not logged in eso trace format
Definition: BPNGDefines.h:272
CCP XCP.
Definition: BPNGDefines.h:321
ZIP file exceeds max size for FAT32 file systems.
Definition: BPNGDefines.h:91
CAN low speed interface.
Definition: BPNGDefines.h:305
a helper object for configuration, license update or firmwareupdate: a key value pair for assigning a...
Definition: BPNGDefines.h:744
Firmeware update in progress.
Definition: BPNGDefines.h:614
const char * tslEth1IP
ip address of device connected to eth1, 0.0.0.0 if none
Definition: BPNGDefines.h:666
Device is ok.
Definition: BPNGDefines.h:610
english
Definition: BPNGDefines.h:284
Full bug report without traces.
Definition: BPNGDefines.h:292
int8_t tslId
id for device in tsl network, continues in tsl, starts with 0 on first device
Definition: BPNGDefines.h:667
stores memory fill level of a device
Definition: BPNGDefines.h:729
Full bugreport with trace file of a specified time span.
Definition: BPNGDefines.h:297
MOST 25 data packet channel (MDP)
Definition: BPNGDefines.h:312
blue PiraT Remote
Definition: BPNGDefines.h:629
Analog in.
Definition: BPNGDefines.h:318
void(WINAPI * onLogRequest)(const char *logRecord)
Pointer to a function named onLogRequest with one parameter and no return value.
Definition: BPNGDefines.h:751
Definition: BPNGDefines.h:624
Unknown reason.
Definition: BPNGDefines.h:401
Camera channel.
Definition: BPNGDefines.h:320
const char * deviceSN
device serial number, since FW 2.2.1
Definition: BPNGDefines.h:660
BPNGLoggerStatus
Logger status.
Definition: BPNGDefines.h:608
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:632
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:704
MOST 150 control channel.
Definition: BPNGDefines.h:314
blue PiraT 2 5E device
Definition: BPNGDefines.h:627
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:625
A TSL cluster with loggers with different time zones is in undefined state. It&#39;s not defined which ti...
Definition: BPNGDefines.h:273
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:428
Internal storage of device is full. Ring buffer deactivated or full with protected trace files...
Definition: BPNGDefines.h:615
OnlineLoggerInfo key
the device
Definition: BPNGDefines.h:746
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:633
int32_t tslNetworkId
id of tsl network, -1 = no TSL, all devices with same tslNetworkId belong to the same TSL ...
Definition: BPNGDefines.h:668
blue PiraT Rapid
Definition: BPNGDefines.h:631
Local file already exists.
Definition: BPNGDefines.h:88
uint64_t end
end time/id of data span
Definition: BPNGDefines.h:705
FTP login failed.
Definition: BPNGDefines.h:68
Bit mask is incorrect and cause a overlap with at least one other signal.
Definition: BPNGDefines.h:398
LIN interface.
Definition: BPNGDefines.h:307
Format list interface.
Definition: BPNGDefines.h:529
False measure signal interface.
Definition: BPNGDefines.h:406
Recovering trace files from a previous power down failed.
Definition: BPNGDefines.h:274
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:547
const char * tslName
name(id) of tsl network
Definition: BPNGDefines.h:669
Error struct with error code and optional error message.
Definition: BPNGDefines.h:711
const char * ip
the logger&#39;s ip address, obligatory if OnlineLoggerInfo is used with IBPNGClient::setDevice() ...
Definition: BPNGDefines.h:657
Remote Control Touch.
Definition: BPNGDefines.h:628
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:658
uint8_t wlan
Flag for connection type. 0 = ethernet, 1 = wlan.
Definition: BPNGDefines.h:664
uint16_t tmpBusPort
tmp bus port
Definition: BPNGDefines.h:672
uint8_t secondPercentageFill
second ringbuffer percentage filled
Definition: BPNGDefines.h:739
MII channel for ethernet spy.
Definition: BPNGDefines.h:327
DataSpanType
Types for DataSpan.
Definition: BPNGDefines.h:693
Only log files are downloaded.
Definition: BPNGDefines.h:293
uint8_t type
set type to 0 for a id based range, set type to 1 for a time based range
Definition: BPNGDefines.h:703
Streaming feature could not be connected.
Definition: BPNGDefines.h:63
Channel interface.
Definition: BPNGDefines.h:448
Serial interface.
Definition: BPNGDefines.h:308
Failed to write local file.
Definition: BPNGDefines.h:87
MOST 25 control channel.
Definition: BPNGDefines.h:311
Reason
Definition: BPNGDefines.h:395
uint32_t secondRingBufferSize
size of the second ringbuffer in GB (only available on bluePiraT Rapid)
Definition: BPNGDefines.h:738
The TMP bus request execution failed.
Definition: BPNGDefines.h:81
uint8_t extPercentageFill
external media percentage filled
Definition: BPNGDefines.h:735
FTP server is not fould.
Definition: BPNGDefines.h:67
internal use only! don&#39;t use!
Definition: BPNGDefines.h:635
multiple devices with same IP available
Definition: BPNGDefines.h:62
uint8_t loggerStatus
current logger status,
Definition: BPNGDefines.h:663
blue PiraT Touch
Definition: BPNGDefines.h:630
TesttoolsChannel list interface.
Definition: BPNGDefines.h:488
TTY channel for QXDM.
Definition: BPNGDefines.h:326
no warning
Definition: BPNGDefines.h:270
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:734
Specified path exceeds the max. valid length (e.g. 260 for Windows systems)
Definition: BPNGDefines.h:90