Z-Wave Protocol Controller Reference
zwapi_protocol_mem.h File Reference

Z-Wave API for module memory manipulation. More...

#include <stdint.h>
#include "sl_status.h"
#include "zwave_node_id_definitions.h"
Include dependency graph for zwapi_protocol_mem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _NVR_FLASH_STRUCT_
 

Macros

#define NVR_SAW_CENTER_FREQ_SIZE   0x03
 
#define NVR_NVM_SIZE_SIZE   0x02
 
#define NVR_NVM_PAGE_SIZE_SIZE   0x02
 
#define NVR_UUID_SIZE   0x10
 
#define NVR_USBID_SIZE   0x02
 
#define NVR_SECURITY_PUBLIC_KEY_SIZE   0x20
 
#define NVR_SECURITY_PRIVATE_KEY_SIZE   0x20
 
#define NVR_CRC16_SIZE   0x02
 

Typedefs

typedef struct _NVR_FLASH_STRUCT_ NVR_FLASH_STRUCT
 

Functions

sl_status_t zwapi_nvr_get_value (uint8_t bOffset, uint8_t bLength, uint8_t *bRetBuffer)
 Get a value from the NVR flash page. More...
 
sl_status_t zwapi_memory_get_ids (zwave_home_id_t *home_id, zwave_node_id_t *node_id)
 Get the Home ID and Node ID of the Z-Wave module. More...
 
sl_status_t zwapi_memory_get_byte (uint16_t offset, uint8_t *byte_value)
 Read one byte from the EEPROM. More...
 
uint8_t zwapi_memory_put_byte (uint16_t offset, uint8_t bData)
 Add one byte to the EEPROM write queue. More...
 
sl_status_t zwapi_memory_get_buffer (uint16_t offset, uint8_t *buffer, uint8_t length)
 Read the number of bytes from the EEPROM. More...
 
uint8_t zwapi_memory_put_buffer (uint16_t offset, const uint8_t *buffer, uint16_t length, void(*callback_function)(void))
 Copy the number of bytes to the EEPROM. More...
 
uint8_t zwapi_memory_put_buffer_blocking (uint16_t offset, uint8_t *buffer, uint16_t length, uint16_t timeout)
 Copy the number of bytes to the EEPROM and waits for Z-Wave module callback before returning. More...
 

Detailed Description

Z-Wave API for module memory manipulation.