Z-Wave Protocol Controller Reference
ZPC Configuration Extension

Add the ZPC-specific fixtures to the Unify config system. More...

Collaboration diagram for ZPC Configuration Extension:

Modules

 ZPC Config Fixture
 ZPC Configuration fixture.
 

Classes

struct  zpc_config_t
 

Macros

#define ZWAVE_CONFIG_REPRESENTATION   "1"
 Z-Wave. More...
 
#define ZWAVE_LONG_RANGE_CONFIG_REPRESENTATION   "2"
 Z-Wave Long Range. More...
 
#define DEFAULT_ZPC_DATASTORE_FILE   UIC_VAR_DIR "/zpc.db"
 
#define CONFIG_KEY_ZPC_DATASTORE_FILE   "zpc.datastore_file"
 

Functions

const zpc_config_tzpc_get_config ()
 Get the current configuration. This must only be called after zpc_config_init. More...
 
int zpc_config_init ()
 Register ZPC configurations in config. More...
 

Detailed Description

Add the ZPC-specific fixtures to the Unify config system.

This module is the source of all ZPC-specific configuration parameters. The source of the configuration parameters are command line arguments and the configuration file.

The after initialization the configurations parameters are constant.

Macro Definition Documentation

◆ CONFIG_KEY_ZPC_DATASTORE_FILE

#define CONFIG_KEY_ZPC_DATASTORE_FILE   "zpc.datastore_file"

◆ DEFAULT_ZPC_DATASTORE_FILE

#define DEFAULT_ZPC_DATASTORE_FILE   UIC_VAR_DIR "/zpc.db"

◆ ZWAVE_CONFIG_REPRESENTATION

#define ZWAVE_CONFIG_REPRESENTATION   "1"

Z-Wave.

◆ ZWAVE_LONG_RANGE_CONFIG_REPRESENTATION

#define ZWAVE_LONG_RANGE_CONFIG_REPRESENTATION   "2"

Z-Wave Long Range.

Function Documentation

◆ zpc_config_init()

int zpc_config_init ( )

Register ZPC configurations in config.

This must be called before uic_main.

Returns
0 on success.
Here is the call graph for this function:

◆ zpc_get_config()

const zpc_config_t * zpc_get_config ( )

Get the current configuration. This must only be called after zpc_config_init.

Here is the caller graph for this function: