Meta

Error message queries and version information.

ti_last_error

Get a readable description of the most recent error.

  • client: Client handle. Returns: Pointer to a static error string. Returns "No error" when there is no error. The pointer remains valid until the next operation on the same handle.

Note: The returned string must not (and cannot) be freed by the caller.

ti_version

Get the SDK version.

Returns: Version string in the format "major.minor.patch", e.g. "1.0.0". The returned string is a static constant and must not be freed.

TI_VERSION_MAJOR

SDK major version.

TI_VERSION_MINOR

SDK minor version.

TI_VERSION_PATCH

SDK patch version.