Z-Wave Protocol Controller Reference
zpc_config_t Struct Reference

#include <zpc_config.h>

Collaboration diagram for zpc_config_t:

Public Attributes

const char * mqtt_host
 Hostname of the MQTT broker. More...
 
const char * mqtt_cafile
 Path to a file containing the PEM encoded trusted CA certificate files. More...
 
const char * mqtt_certfile
 Path to a file containing the PEM encoded certificate file for this client. More...
 
const char * mqtt_keyfile
 Path to a file containing the PEM encoded unencrypted private key for this client. More...
 
const char * mqtt_client_id
 Client ID for MQTT Client for TLS Authentication and encryption. More...
 
const char * mqtt_client_psk
 Pre shared Key for MQTT Client for TLS Authentication and encryption. More...
 
int mqtt_port
 Port of the MQTT broker. More...
 
const char * datastore_file
 File name for persistent storage. More...
 
const char * serial_port
 Name of the serial port of the Z-Wave module. More...
 
const char * serial_log_file
 If set the Serial log will be written here. More...
 
const char * zwave_rf_region
 Z-Wave RF Region setting. It can be one of the following: More...
 
int zwave_normal_tx_power_dbm
 Transmit power for the Z-Wave module. Refer to zwave_rx_init. More...
 
int zwave_measured_0dbm_power
 
int zwave_max_lr_tx_power_dbm
 Max Z-Wave Long Range Transmit power. More...
 
int default_wake_up_interval
 
uint16_t manufacturer_id
 
uint16_t product_type
 
uint16_t product_id
 
const char * device_id
 hardware version of the device where ZPC is running on. More...
 
int hardware_version
 This value represents a maximum number of missing wake up periods. More...
 
uint8_t missing_wake_up_notification
 This value represents a maximum number of accepted frame transmission failure. More...
 
uint8_t accepted_transmit_failure
 Prioritized list of protocols to use for SmartStart inclusions. More...
 
const char * inclusion_protocol_preference
 OTA cache path, writable location where we can cache OTA images. More...
 
const char * ota_cache_path
 OTA cache size in kb. More...
 
int ota_cache_size
 Should we return the NCP version and exit? More...
 
bool ncp_version
 
const char * ncp_update_filename
 If not zero length we should flash the NCP firmware and exit. More...
 
uint8_t zpc_basic_device_type
 
uint8_t zpc_generic_device_type
 Z-Wave Generic Device Type. More...
 
uint8_t zpc_specific_device_type
 Z-Wave Specific Device Type. More...
 

Member Data Documentation

◆ accepted_transmit_failure

uint8_t zpc_config_t::accepted_transmit_failure

Prioritized list of protocols to use for SmartStart inclusions.

◆ datastore_file

const char* zpc_config_t::datastore_file

File name for persistent storage.

◆ default_wake_up_interval

int zpc_config_t::default_wake_up_interval

◆ device_id

const char* zpc_config_t::device_id

hardware version of the device where ZPC is running on.

◆ hardware_version

int zpc_config_t::hardware_version

This value represents a maximum number of missing wake up periods.

◆ inclusion_protocol_preference

const char* zpc_config_t::inclusion_protocol_preference

OTA cache path, writable location where we can cache OTA images.

◆ manufacturer_id

uint16_t zpc_config_t::manufacturer_id

◆ missing_wake_up_notification

uint8_t zpc_config_t::missing_wake_up_notification

This value represents a maximum number of accepted frame transmission failure.

◆ mqtt_cafile

const char* zpc_config_t::mqtt_cafile

Path to a file containing the PEM encoded trusted CA certificate files.

◆ mqtt_certfile

const char* zpc_config_t::mqtt_certfile

Path to a file containing the PEM encoded certificate file for this client.

◆ mqtt_client_id

const char* zpc_config_t::mqtt_client_id

Client ID for MQTT Client for TLS Authentication and encryption.

◆ mqtt_client_psk

const char* zpc_config_t::mqtt_client_psk

Pre shared Key for MQTT Client for TLS Authentication and encryption.

◆ mqtt_host

const char* zpc_config_t::mqtt_host

Hostname of the MQTT broker.

◆ mqtt_keyfile

const char* zpc_config_t::mqtt_keyfile

Path to a file containing the PEM encoded unencrypted private key for this client.

◆ mqtt_port

int zpc_config_t::mqtt_port

Port of the MQTT broker.

◆ ncp_update_filename

const char* zpc_config_t::ncp_update_filename

If not zero length we should flash the NCP firmware and exit.

◆ ncp_version

bool zpc_config_t::ncp_version

◆ ota_cache_path

const char* zpc_config_t::ota_cache_path

OTA cache size in kb.

◆ ota_cache_size

int zpc_config_t::ota_cache_size

Should we return the NCP version and exit?

◆ product_id

uint16_t zpc_config_t::product_id

◆ product_type

uint16_t zpc_config_t::product_type

◆ serial_log_file

const char* zpc_config_t::serial_log_file

If set the Serial log will be written here.

◆ serial_port

const char* zpc_config_t::serial_port

Name of the serial port of the Z-Wave module.

◆ zpc_basic_device_type

uint8_t zpc_config_t::zpc_basic_device_type

The following three configuration types describes the Node type structure that will be used in the ZPC Node Information Frames.

◆ zpc_generic_device_type

uint8_t zpc_config_t::zpc_generic_device_type

Z-Wave Generic Device Type.

◆ zpc_specific_device_type

uint8_t zpc_config_t::zpc_specific_device_type

Z-Wave Specific Device Type.

◆ zwave_max_lr_tx_power_dbm

int zpc_config_t::zwave_max_lr_tx_power_dbm

Max Z-Wave Long Range Transmit power.

Default wake up interval to be used when including wake up nodes

◆ zwave_measured_0dbm_power

int zpc_config_t::zwave_measured_0dbm_power

Measured 0dBm output power for the Z-Wave module. Refer to zwave_rx_init

◆ zwave_normal_tx_power_dbm

int zpc_config_t::zwave_normal_tx_power_dbm

Transmit power for the Z-Wave module. Refer to zwave_rx_init.

◆ zwave_rf_region

const char* zpc_config_t::zwave_rf_region

Z-Wave RF Region setting. It can be one of the following:


The documentation for this struct was generated from the following file: