Z-Wave Protocol Controller Reference
ext_nvm_tools.h File Reference
#include <stdbool.h>
#include <stdint.h>
Include dependency graph for ext_nvm_tools.h:

Go to the source code of this file.

Macros

#define NVM_WRITE_CHUNK_SIZE   64
 

Enumerations

enum  nvm_backup_restore_operation { nvm_backup_restore_open = 0x00 , nvm_backup_restore_read = 0x01 , nvm_backup_restore_write = 0x02 , nvm_backup_restore_close = 0x03 }
 

Functions

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

Macro Definition Documentation

◆ NVM_WRITE_CHUNK_SIZE

#define NVM_WRITE_CHUNK_SIZE   64

Enumeration Type Documentation

◆ nvm_backup_restore_operation

Enumerator
nvm_backup_restore_open 
nvm_backup_restore_read 
nvm_backup_restore_write 
nvm_backup_restore_close 

Function Documentation

◆ 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: