Sternum Linux SDK
|
Configuration structure for initializing the SDK.
This structure must be filled by the user before initializing the SDK.
#include <sternum_settings.h>
Data Fields | |
const char * | sternum_url |
Your Sternum dedicated transmission URL. More... | |
const char * | firmware_version |
String identifying client's application firmware version. More... | |
uint64_t | access_token |
Device definition id for traces transmitted from the importing application. More... | |
uint64_t | device_id |
Device id for traces transmitted from the importing application. More... | |
const uint64_t * | relay_override_device_id |
If a remote device that originated the relayed traces cannot have a random a device ID, provide an alternate device ID. More... | |
bool | is_production |
If the application is in production/development phase. More... | |
const char * | cache_file_path |
Path of the trace file cache. More... | |
size_t | max_cache_size_bytes |
The maximum amount of bytes to store on disk when caching traces. More... | |
uint64_t sternum_settings_t::access_token |
Device definition id for traces transmitted from the importing application.
const char* sternum_settings_t::cache_file_path |
Path of the trace file cache.
The cache file is used for constructing trace and storing traces before transmission. The file cache maintains persistence across multiple application executions. Each application instance must use a unique file cache.
The provided string must be either a full path or a filename.
uint64_t sternum_settings_t::device_id |
Device id for traces transmitted from the importing application.
const char* sternum_settings_t::firmware_version |
String identifying client's application firmware version.
bool sternum_settings_t::is_production |
If the application is in production/development phase.
The SDK will report this status to the cloud during initialization for diagnostic purposes.
size_t sternum_settings_t::max_cache_size_bytes |
The maximum amount of bytes to store on disk when caching traces.
Cache is automatically emptied when internet connection is available.
const uint64_t* sternum_settings_t::relay_override_device_id |
If a remote device that originated the relayed traces cannot have a random a device ID, provide an alternate device ID.
If NULL is provided, device id won't be overridden.
const char* sternum_settings_t::sternum_url |
Your Sternum dedicated transmission URL.