Z-Wave Protocol Controller Reference
Z-Wave Tx Route cache

Caches route data with NodeID destinations. More...

Collaboration diagram for Z-Wave Tx Route cache:

Functions

void zwave_tx_route_cache_init ()
 Initializes and clear the route cache. More...
 
void zwave_tx_route_cache_set_number_of_repeaters (zwave_node_id_t destination_node_id, uint8_t number_of_repeaters)
 Construct a new zwave tx route cache set number of repeaters object. More...
 
uint8_t zwave_tx_route_cache_get_number_of_repeaters (zwave_node_id_t destination_node_id)
 Returns the cached number of repeaters for a destination NodeID. More...
 

Detailed Description

Caches route data with NodeID destinations.

The Z-Wave Tx route cache allows to cache routing information, for example how many hops were last used with a destination.

Function Documentation

◆ zwave_tx_route_cache_get_number_of_repeaters()

uint8_t zwave_tx_route_cache_get_number_of_repeaters ( zwave_node_id_t  destination_node_id)

Returns the cached number of repeaters for a destination NodeID.

Parameters
destination_node_idThe NodeID we are communicating with
Returns
uint8_t value for the number of repeaters. Returns 0 if unknown.

◆ zwave_tx_route_cache_init()

void zwave_tx_route_cache_init ( )

Initializes and clear the route cache.

◆ zwave_tx_route_cache_set_number_of_repeaters()

void zwave_tx_route_cache_set_number_of_repeaters ( zwave_node_id_t  destination_node_id,
uint8_t  number_of_repeaters 
)

Construct a new zwave tx route cache set number of repeaters object.

Parameters
destination_node_idThe NodeID we are communicating with
number_of_repeatersThe number of repeaters that were used in the last communication