Applications#

This folder contains test applications for the Open Z-Wave. Each application is placed in a subfolder.

Usage on Linux platform#

Command line arguments#

Argument

Description

–debug

Don't fork process (useful for debug purposes)

–storage <path>

Path to storage (application and stack filesystem, manufacturing tokens and retention registers)

–port <port>

Port for TCP server mode of UART module (default 4901)

–region <region>

Simulated radio region. One of [REGION_EU, REGION_US, REGION_ANZ, REGION_HK, REGION_IN, REGION_IL, REGION_RU, REGION_CN, REGION_US_LR, REGION_JP, REGION_KR, REGION_DEFAULT]

–pty

Use PTY mode of UART module

–id <ID>

Use routed ZNE with ID

–zne-port <PORT>

Port for routed ZNE

–fifo

Use FIFO based communication

–tmp-path <PATH>

Path to a temporary directory unique for a node. Used to store FIFO and Unix Domain Socket files.

Additional arguments for Emulated Tick mode#

Argument

Description

–tick-server <PATH>

Tick Server socket path

Application control#

Applications use single character commands read from standard input.

Character

Description

h

Display usage info

d

Print DSK

n

Print Node ID

l

Start Learn Mode

L

Stop Learn Mode

f

Factory reset

p

Print PTY

r

Restart application

q

Quit application

Usage on other platforms#

Please refer to documentation of platform specific implementation in platform/ directory.