Z-Wave Protocol Controller Reference
ext_nvm_tools.h
Go to the documentation of this file.
1
// CLEANUP: Move out of zwave_api (e.g. to zpc_utils)
2
3
#ifndef NVM_TOOLS_H
4
#define NVM_TOOLS_H
5
6
#include <stdbool.h>
7
#include <stdint.h>
8
9
enum
nvm_backup_restore_operation
{
10
nvm_backup_restore_open
= 0x00,
11
nvm_backup_restore_read
= 0x01,
12
nvm_backup_restore_write
= 0x02,
13
nvm_backup_restore_close
= 0x03,
14
};
15
16
/* How many bytes we pass at a time when writing in the NVM via the SerialAPI */
17
#define NVM_WRITE_CHUNK_SIZE 64
24
bool
ZW_NVM_Backup
(
const
char
* filename,uint8_t chiptype);
31
bool
ZW_NVM_Restore
(
const
char
* filename,uint8_t chiptype);
32
33
#endif
ZW_NVM_Backup
bool ZW_NVM_Backup(const char *filename, uint8_t chiptype)
Definition:
ext_nvm_tools.c:14
nvm_backup_restore_operation
nvm_backup_restore_operation
Definition:
ext_nvm_tools.h:9
nvm_backup_restore_read
@ nvm_backup_restore_read
Definition:
ext_nvm_tools.h:11
nvm_backup_restore_open
@ nvm_backup_restore_open
Definition:
ext_nvm_tools.h:10
nvm_backup_restore_close
@ nvm_backup_restore_close
Definition:
ext_nvm_tools.h:13
nvm_backup_restore_write
@ nvm_backup_restore_write
Definition:
ext_nvm_tools.h:12
ZW_NVM_Restore
bool ZW_NVM_Restore(const char *filename, uint8_t chiptype)
Definition:
ext_nvm_tools.c:83
applications
zpc
components
zwave_api
external
ext_nvm_tools.h
Generated on Wed Mar 11 2026 13:17:12 for Z-Wave Protocol Controller Reference by
1.9.4