Trident IoT Z-Wave SDK
Loading...
Searching...
No Matches
Configure your application

This page describes the basic configuration of an application.

It covers stuff like role type, device class, manufacturer ID, etc.

Manufacturer ID

The manufacturer ID can be set using the ZAF_CONFIG_MANUFACTURER_ID definition.

The manufacturer ID can be verified with the Manufacturer Specific Get / Report commands.

Role Type

The role type must be set to ensure the correct behavior in a Z-Wave network (listening, sleeping, etc.).

It can be set using the ZAF_CONFIG_APP_ROLE_TYPE definition.

Note
ZAF_CONFIG_APP_ROLE_TYPE is not yet documented properly, but it will be. It will also be renamed to ZAF_CONFIG_ROLE_TYPE to align with other definitions.

The role type can be verified with the Z-Wave Plus Info Get / Report commands.

Device Options Mask

The device options mask is the lower level representation of the role type. It adds one more type of information for the Sleeping Listening role type: a listening mode.

The device options mask can be set using the ZAF_CONFIG_DEVICE_OPTION_MASK definition.

The device options mask can be verified by inspecting the Node Information Frame.

Product ID

The product ID can be set using the ZAF_CONFIG_PRODUCT_ID definition.

The product ID can be verified with the Manufacturer Specific Get/Report commands.

Device Class

The device class consists of two values, the generic device class and the specific device class.

Note
Don't be confused by the naming (class/type). The Z-Wave specification defines it as classes, but for legacy reasons the definitions are named "type" (GENERIC_TYPE_* and SPECIFIC_TYPE_*).

The generic and specific device classes can be verified by inspecting the Node Information Frame.

Generic device class

The generic device class can be set using the ZAF_CONFIG_GENERIC_TYPE definition.

Specific device class

The specific device class can be set using the ZAF_CONFIG_SPECIFIC_TYPE definition.