Z-Wave Protocol Controller Reference
zpc_attribute_store.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
22#ifndef ZPC_ATTRIBUTE_STORE_H
23#define ZPC_ATTRIBUTE_STORE_H
24
25#include "sl_status.h"
26#include "attribute_store.h"
27#include "zwave_unid.h"
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
42bool is_zpc_unid(const unid_t unid);
43
52attribute_store_node_t get_zpc_network_node();
53
64attribute_store_node_t get_zpc_node_id_node();
65
76
86
87#ifdef __cplusplus
88}
89#endif
90
91#endif //ZPC_ATTRIBUTE_STORE_H
uint32_t sl_status_t
Definition: sl_status.h:139
sl_status_t zpc_attribute_store_init(void)
Initialize attribute store specifically for ZPC.
Definition: zpc_attribute_store.c:198
attribute_store_node_t get_zpc_node_id_node()
Returns the NodeID (attribute store) node of our current network / NodeID.
Definition: zpc_attribute_store.c:131
attribute_store_node_t get_zpc_network_node()
Returns the HomeID (attribute store) node of our current network.
Definition: zpc_attribute_store.c:119
bool is_zpc_unid(const unid_t unid)
Verify if a UNID is the ZPC's UNID.
Definition: zpc_attribute_store.c:106
attribute_store_node_t get_zpc_endpoint_id_node(zwave_endpoint_id_t endpoint_id)
Returns the Endpoint ID (attribute store) node of our current network / NodeID for a specified Endpoi...
Definition: zpc_attribute_store.c:143
uint8_t zwave_endpoint_id_t
Z-Wave Endpoint ID type.
Definition: zwave_node_id_definitions.h:125
char unid_t[17]
Definition: zwave_unid.h:35
SL Status Codes.
const zwave_endpoint_id_t endpoint_id