BltTofApi Events description

Aus BECOM Systems Support
Zur Navigation springen Zur Suche springen

BtaEthLib

Background Process

EventID Min verbosity Message
BTA_EventIdInformation (8) 2
  • TCP control connection closed
  • UDP control connection closed (bug: should be UDP data)
10
  • ConnectionMonitorThread started
  • Connecting UDP data...
  • Connecting TCP control...
  • connectionMonitorThread terminated
  • . (Alive message sent successfully)
BTA_EventIdConnectionError (-7) 2
  • UDP data: failed to join the multicast group
  • UDP data: failed to reuse port number
  • UDP data: failed to set timeout
  • UDP data: failed to set buffer size
  • UDP data: failed to bind socket
  • Could not establish UDP data connection
  • UDP data: error in getaddrinfo
  • TCP control connecting failed (select write)
  • TCP control connection timeout (select write)
  • Could not connect TCP control connection
  • Could not set TCP control connection to non blocking
  • Could not create socket for TCP control connection
  • TCP control connection close FAILED
  • TCP control connection shutdown FAILED
  • UDP control connection close FAILED (bug: should be UDP data)
10
  • UDP data connection lost!
  • TCP control Connection lost!
BTA_EventIdConnectionEstablished (3) 2
  • UDP data connection established
  • TCP control connection established
BTA_EventIdGenericError (-1) 10
  • sendKeepAliveMsg failed
BTA_EventIdOutOfMemoryError (-10) 1
  • Could not allocate
BTA_EventIdDataInterfaceError (-3) 1
  • UDP data: Did not read expected amount of data
  • UDP data: Error parsing frame

BTAopen

EventID Min verbosity Message
BTA_EventIdConnectionError (-7) 3
  • BTAopen(): Timeout, aborting connecting to the device
  • BTAopen(): Error in BTAreadRegister
  • BTAopen(): Serial number read does not match
  • BTAopen(): Error in BTAsetFrameMode


BTAsetKeepAliveMsgInterval

EventID Min verbosity Message
BTA_EventIdSuccess (9) 1
  • BTAsetKeepAliveMsgInterval()


BTAsetControlCrcEnabled

EventID Min verbosity Message
BTA_EventIdSuccess (9) 1
  • BTAsetControlCrcEnabled()


BTAsetFrameMode

EventID Min verbosity Message
BTA_EventIdSuccess (9) 1
  • BTAsetFrameMode()


BTAsendReset

EventID Min verbosity Message
BTA_EventIdSuccess (9) 1
  • BTAsendReset()


BTAgetFrame

EventID Min verbosity Message
BTA_EventIdGenericError (-1) 1
  • BTAgetFrame: Queueing must be enabled


BTAwriteCurrentConfigToNvm

EventID Min verbosity Message
BTA_EventIdGenericError (-1) 2
  • BTAwriteCurrentConfigToNvm failed


BTArestoreDefaultConfig

EventID Min verbosity Message
BTA_EventIdGenericError (-1) 2
  • BTArestoreDefaultConfig failed


BTAwriteRegister

EventID Min verbosity Message
BTA_EventIdSuccess (9) 1
  • BTAwriteRegister()


BTAflashUpdate

EventID Min verbosity Message
(-5005, -5006) 1
  • flash update file_crc_error
(-5015, -5016, -5017, -5018, -5020) 1
  • flash update missing_fw_identifier or wrong_fw_identifier or wrong_packet_nr or header_version_conflict or data_inconsistent
(-5002, -5003, -5004, -5019) 1
  • flash update max_filesize_exceeded or out_of_memory or buffer_overrun or flash_boundary_exceeded
(-5000, -5011, -5012, -5013) 1
  • flash update idle erasing_failed or flashing_failed or verifying_failed or protocol_violation
(-5255) 1
  • flash update protocol_violation


BTAfirmwareUpdate

EventID Min verbosity Message
BTA_EventIdGenericError (-1) 2
  • BTAfirmwareUpdate: Could not open file <x>
  • BTAfirmwareUpdate: Out of memory
  • BTAfirmwareUpdate: Error reading firmware file
  • BTAfirmwareUpdate: error while doing firmware update


BtaP100Lib

BTAopen

EventID Min verbosity Message
BTA_EventIdConnectionError (-7) 1
  • BTAopen: No device found
  • P100 with specified serial number not found
BTA_EventIdGenericError (-1) 5
  • BTAopen: Could not open calibration file!
  • BTAopen: Error reading calibration file
  • BTAopen: Invalid calibration file
  • BTAopen: Error in set3DCalibArrays
BTA_EventIdConnectionEstablished (3) 5
  • BTAopen: Connected

BTAgetFrame

EventID Min verbosity Message
BTA_EventIdControlInterfaceError (-5) 5
  • BTAgetFrame: error reading register
  • BTAgetFrame: error getting frame
  • BTAgetFrame: Frame Mode not supported

BTAflashUpdate

EventID Min verbosity Message
BTA_EventIdControlInterfaceError (-5) 5
  • BTAflashUpdate: error firmware update

BTAfirmwareUpdate

EventID Min verbosity Message
BTA_EventIdControlInterfaceError (-5) 5
  • BTAfirmwareUpdate: Error reading firmware file
  • BTAfirmwareUpdate: Could not open file
  • BTAfirmwareUpdate: error while doing firmware update