Utils_config

Overview

Represents the configuration file of the utils subsystem.

Vendors can set their desired items in the configuration file.

Since:

1.0

Version:

1.0

Summary

Files

File Name

Description

utils_config.h

Represents the configuration file of the utils subsystem.

Macros

Macro Name and Value

Description

FEATURE_KV_CACHE

Specifies whether the KV store supports cache.

MAX_CACHE_SIZE   10

Indicates the number of data items that can be stored in the KV store cache.

MAX_KV_SUM   50

Indicates the number of data items that can be stored for each application.

Details

Macro Definition Documentation

FEATURE_KV_CACHE

  1. #define FEATURE_KV_CACHE

Description:

Specifies whether the KV store supports cache.

If this variable is defined, the KV store supports cache. Vendors determine whether to enable this feature. It is enabled by default.

MAX_CACHE_SIZE

  1. #define MAX_CACHE_SIZE 10

Description:

Indicates the number of data items that can be stored in the KV store cache.

Default value: 10

MAX_KV_SUM

  1. #define MAX_KV_SUM 50

Description:

Indicates the number of data items that can be stored for each application.

Default value: 50