Z-Wave Protocol Controller Reference
state_logging.c File Reference

Pretty printing of state and event names of zwave network management state machine. More...

#include <stdio.h>
#include "nm_state_machine.h"
#include "zwave_network_management_types.h"
#include "zwave_helper_macros.h"
#include "sl_log.h"
Include dependency graph for state_logging.c:

Macros

#define LOG_TAG   "network_management_state_logging"
 

Functions

const char * nm_state_name (zwave_network_management_state_t state)
 Return the name string of a network management state. More...
 
const char * nm_event_name (nm_event_t event)
 Return the name string of a network management event. More...
 

Detailed Description

Pretty printing of state and event names of zwave network management state machine.

License

Copyright 2021 Silicon Laboratories Inc. www.silabs.com

The licensor of this software is Silicon Laboratories Inc. Your use of this software is governed by the terms of Silicon Labs Master Software License Agreement (MSLA) available at www.silabs.com/about-us/legal/master-software-license-agreement. This software is distributed to you in Source Code format and is governed by the sections of the MSLA applicable to Source Code.

Macro Definition Documentation

◆ LOG_TAG

#define LOG_TAG   "network_management_state_logging"

Function Documentation

◆ nm_event_name()

const char * nm_event_name ( nm_event_t  ev)

Return the name string of a network management event.

Parameters
ev
Returns
const char*
Here is the caller graph for this function:

◆ nm_state_name()

const char * nm_state_name ( zwave_network_management_state_t  state)

Return the name string of a network management state.

Parameters
state
Returns
const char*
Here is the caller graph for this function: