BltTofApi Events description

From BlueWiki

Jump to: navigation, search

Contents

1 BtaEthLib

1.1 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

1.2 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


1.3 BTAsetKeepAliveMsgInterval

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


1.4 BTAsetControlCrcEnabled

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


1.5 BTAsetFrameMode

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


1.6 BTAsendReset

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


1.7 BTAgetFrame

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


1.8 BTAwriteCurrentConfigToNvm

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


1.9 BTArestoreDefaultConfig

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


1.10 BTAwriteRegister

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


1.11 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


1.12 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


2 BtaP100Lib

2.1 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

2.2 BTAgetFrame

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

2.3 BTAflashUpdate

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

2.4 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
Personal tools