Z-Wave Protocol Controller Reference
zpc_attribute_store_test_helper.h File Reference

Test helper for using the zpc attribute store. More...

#include "attribute_store.h"
#include "zwave_controller_types.h"
#include "zwave_unid.h"
Include dependency graph for zpc_attribute_store_test_helper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

const zwave_home_id_t home_id
 
const zwave_node_id_t zpc_node_id
 
const zwave_node_id_t zpc_endpoint_id
 
const zwave_node_id_t node_id
 
const zwave_endpoint_id_t endpoint_id
 
attribute_store_node_t zpc_node_id_node
 
attribute_store_node_t zpc_endpoint_id_node
 
attribute_store_node_t home_id_node
 
attribute_store_node_t node_id_node
 
attribute_store_node_t endpoint_id_node
 
unid_t zpc_unid
 
unid_t supporting_node_unid
 
void zpc_attribute_store_test_helper_create_network ()
 Create test network. More...
 

Detailed Description

Test helper for using the zpc attribute store.

This component contains various helpers for when writing tests using the attribute store

Function Documentation

◆ zpc_attribute_store_test_helper_create_network()

void zpc_attribute_store_test_helper_create_network ( )

Create test network.

Create a test network consiting of

  • root
    • home_id_node
      • zpc_node_id_node (NODE)
        • zpc_endpoint_id_node (ENDPOINT)
      • node_id_node (NODE)
        • endpoint_id_node (ENDPOINT)

Variable Documentation

◆ endpoint_id

const zwave_endpoint_id_t endpoint_id
extern

The supporting node endpoint ID

◆ endpoint_id_node

attribute_store_node_t endpoint_id_node
extern

The Supporting Node Endpoint Attribute ID

◆ home_id

const zwave_home_id_t home_id
extern

The Z-Wave Home ID

◆ home_id_node

attribute_store_node_t home_id_node
extern

The Home ID Attribute ID

◆ node_id

const zwave_node_id_t node_id
extern

The Node ID of the supporting node

◆ node_id_node

attribute_store_node_t node_id_node
extern

The Supporting Node Attribute ID

◆ supporting_node_unid

unid_t supporting_node_unid
extern

◆ zpc_endpoint_id

const zwave_node_id_t zpc_endpoint_id
extern

The ZPC's endpoint ID

◆ zpc_endpoint_id_node

attribute_store_node_t zpc_endpoint_id_node
extern

The ZPC Node Attribute ID

◆ zpc_node_id

const zwave_node_id_t zpc_node_id
extern

The ZPC Node ID

◆ zpc_node_id_node

attribute_store_node_t zpc_node_id_node
extern

The ZPC Endpoint Attribute ID

◆ zpc_unid

unid_t zpc_unid
extern