We are using the C API for creating and restoring a backup with network topology (full restore). We are using the example provided in the code samples section (https://razberry.z-wave.me/fileadmin/z-way-test.tgz), and we modified the main.c file for getting a full recovery:
Code: Select all
ZWError r = zway_controller_config_restore(zway, data, length, TRUE);
- Vendors Product ID: 1024 / 1
- SDK Version: 6.51.03
- Serial API Version: 05.00
Then, we tested the same code with the new Razberry model, which is:
- Vendors Product ID: 1024 / 2
- SDK Version: 6.51.06
- Serial API Version: 05.04
When we create the backup the process works correctly, but when we try to restore the backup is crashing. If we deactivate the full restore option, the process works successfully:
Code: Select all
[2017-02-27 14:14:52.898] [I] Restoring controller from ./config/zddx/fca37449-DevicesData.xml
[2017-02-27 14:14:52.946] [I] Adding job: Reset the controller
[2017-02-27 14:14:52.946] [D] SETDATA controller.data.controllerState = 20 (0x00000014)
[2017-02-27 14:14:52.946] [E] SDK is not supported. Upgrade your stick or contact Z-Way developers for more information
[2017-02-27 14:14:52.946] [D] SETDATA controller.data.controllerState = 0 (0x00000000)
Error restoring configuration! (err = Function class not supported by the hardware)
Thank you and regards.