#include <unistd.h>
#include <stdio.h>
#include "Serialapi.h"
#include <errno.h>
#include "nvm_tools.h"
◆ Set_Default_Callback()
| static void Set_Default_Callback |
( |
| ) |
|
|
static |
◆ 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
-
| filename | where the NVM backup should be stored |
| chiptype | Type of chip to write to ZW_GECKO_CHIP_TYPE (700 serries) or ZW_CHIP_TYPE (500 serries) |
◆ 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
-
| filename | from where the NVM backup should be restored |
| chiptype | Type of chip to write to ZW_GECKO_CHIP_TYPE (700 serries) or ZW_CHIP_TYPE (500 serries) |
◆ set_default_cb_called
| int set_default_cb_called = 0 |
|
static |