Z-Wave Protocol Controller Reference
ext_nvm_tools.c File Reference
#include <unistd.h>
#include <stdio.h>
#include "Serialapi.h"
#include <errno.h>
#include "nvm_tools.h"
Include dependency graph for ext_nvm_tools.c:

Functions

static void Set_Default_Callback ()
 
bool ZW_NVM_Backup (const char *filename, uint8_t chiptype)
 
bool ZW_NVM_Restore (const char *filename, uint8_t chiptype)
 

Variables

static int set_default_cb_called = 0
 

Function Documentation

◆ Set_Default_Callback()

static void Set_Default_Callback ( )
static
Here is the caller graph for this function:

◆ ZW_NVM_Backup()

bool ZW_NVM_Backup ( const char *  filename,
uint8_t  chiptype 
)

Read the NVM from a device and write it into an output file

Parameters
filenamewhere the NVM backup should be stored
chiptypeType of chip to write to ZW_GECKO_CHIP_TYPE (700 serries) or ZW_CHIP_TYPE (500 serries)
Here is the call graph for this function:

◆ ZW_NVM_Restore()

bool ZW_NVM_Restore ( const char *  filename,
uint8_t  chiptype 
)

Write the NVM from an input file to a 500 or 700 series device

Parameters
filenamefrom where the NVM backup should be restored
chiptypeType of chip to write to ZW_GECKO_CHIP_TYPE (700 serries) or ZW_CHIP_TYPE (500 serries)
Here is the call graph for this function:

Variable Documentation

◆ set_default_cb_called

int set_default_cb_called = 0
static