Z-Wave Protocol Controller Reference
zwapi_utils.h File Reference

Internal utility helpers for Z-Wave API. More...

#include <stdint.h>
#include <stdbool.h>
#include "zwave_node_id_definitions.h"
Include dependency graph for zwapi_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

zwave_node_id_t zwapi_read_node_id (uint8_t *pData, uint8_t *index)
 Read the node ID from buffer based on node ID basetype. Note that this helper also advances the index. More...
 
void zwapi_write_node_id (uint8_t *pData, uint8_t *index, zwave_node_id_t node_id)
 Write the node ID in buffer based on node ID basetype. Note that this helper also advances the index. More...
 

Detailed Description

Internal utility helpers for Z-Wave API.

Function Documentation

◆ zwapi_read_node_id()

zwave_node_id_t zwapi_read_node_id ( uint8_t *  pData,
uint8_t *  index 
)

Read the node ID from buffer based on node ID basetype. Note that this helper also advances the index.

Returns
zwave_node_id_t parsed node ID
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zwapi_write_node_id()

void zwapi_write_node_id ( uint8_t *  pData,
uint8_t *  index,
zwave_node_id_t  node_id 
)

Write the node ID in buffer based on node ID basetype. Note that this helper also advances the index.

Here is the call graph for this function:
Here is the caller graph for this function: