Class ApiLogInfo

Class Documentation

class ApiLogInfo

This class contains API log information for the command or response of one API function call.

Public Functions

ApiLogInfo()

Public Members

int majorVer

The major version of the library from which the API function is called.

int minorVer

The minor version of the library from which the API function is called.

int revision

The revision version of the library from which the API function is called.

int devId

The device ID of the device that called the API function.

int moduleId

The module ID of the module that defines the API function that is called.

int mode

The mode of the API function call (normal or API buffer).

ApiLogType::T type

The type of the API log.

unsigned int dataLen

The length of the raw data for this API function call in bytes.

unsigned short logId

An ID number that is used to match the command and response of an API function call. The command and response of the same API function call will have the same ID number.

long long timestamp

The timestamp of the API function call, represented as the number of 100-ns ticks since 1 January 1601 00:00:00 UTC. This value can be converted into a string representation based on the local system time with the TimestampToString function.