adas_initialize()

Updated: April 19, 2023

Perform one-time initialization of the ADAS library

Synopsis:

#include <adas/adas_api.h>
adas_error_t adas_initialize(const char *configuration)

Arguments:

configuration
The path of the JSON-encoded configuration file.

Library:

libadas

Description:

This must be the first function you call before using the library. The configuration file specifies how your application wants to use the library.

Returns:

ADAS_EOK when the function successfully completes, otherwise another adas_error_t value that provides the reason that the call failed.