Z-Wave Protocol Controller Reference
zwave_unid.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
25#ifndef ZWAVE_UNID_H
26#define ZWAVE_UNID_H
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
33#include "sl_status.h"
34
35typedef char unid_t[17];
36
47
62
75
85
86#ifdef __cplusplus
87}
88#endif
91#endif //ZWAVE_UNID_H
uint32_t sl_status_t
Definition: sl_status.h:139
uint32_t zwave_home_id_t
Z-Wave HomeID type.
Definition: zwave_node_id_definitions.h:87
uint16_t zwave_node_id_t
Z-Wave NodeID type.
Definition: zwave_node_id_definitions.h:84
void zwave_unid_set_home_id(zwave_home_id_t home_id)
Set the Z-Wave home ID to create UNIDs from.
Definition: zwave_unid.c:64
void zwave_unid_from_node_id(zwave_node_id_t node_id, unid_t unid)
Form a UNID.
Definition: zwave_unid.c:25
sl_status_t zwave_unid_to_node_id(const unid_t unid, zwave_node_id_t *node_id)
Convert a UNID to a node ID.
Definition: zwave_unid.c:30
sl_status_t zwave_unid_to_home_id(const unid_t unid, zwave_home_id_t *home_id)
Convert a UNID to a Home ID.
Definition: zwave_unid.c:50
char unid_t[17]
Definition: zwave_unid.h:35
SL Status Codes.
const zwave_home_id_t home_id
const zwave_node_id_t node_id