Z-Wave Protocol Controller Reference
zwave_unid.c File Reference
#include <stdio.h>
#include "zwave_unid.h"
#include "sl_status.h"
#include "sl_log.h"
Include dependency graph for zwave_unid.c:

Macros

#define UNID_FORMAT   "zw-%08X-%04hX"
 

Functions

void zwave_unid_from_node_id (zwave_node_id_t node_id, unid_t unid)
 Form a UNID. More...
 
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. More...
 
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. More...
 
void zwave_unid_set_home_id (zwave_home_id_t new_home_id)
 Set the Z-Wave home ID to create UNIDs from. More...
 

Variables

static zwave_home_id_t home_id
 

Macro Definition Documentation

◆ UNID_FORMAT

#define UNID_FORMAT   "zw-%08X-%04hX"

Variable Documentation

◆ home_id

zwave_home_id_t home_id
static