Z-Wave Protocol Controller Reference
zwave_command_class_firmware_update_internals.h File Reference
#include "attribute_store.h"
Include dependency graph for zwave_command_class_firmware_update_internals.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum zwave_firmware_transfer_state zwave_firmware_transfer_state_t
 Firmware transfer state value. More...
 
typedef enum zwave_firmware_transfer_status zwave_firmware_transfer_status_t
 Firmware transfer last status/error. More...
 

Enumerations

enum  zwave_firmware_transfer_state { IDLE = 0 , ONGOING = 1 , WAITING_FOR_ACTIVATION = 2 , WAITING_FOR_REBOOT = 3 }
 Firmware transfer state value. More...
 
enum  zwave_firmware_transfer_status {
  SUCCESS = 0 , ABORTED = 1 , NOT_AUTHORIZED = 2 , INVALID_IMAGE = 3 ,
  REQUIRE_MORE_IMAGE = 4 , NOT_SUPPORTED = 5
}
 Firmware transfer last status/error. More...
 

Functions

sl_status_t set_firmware_transfer_file (attribute_store_node_t firmware_transfer_node, const char *file_name)
 Sets the Firmware data file for a Firmware Update. More...
 
sl_status_t set_firmware_transfer_last_status (attribute_store_node_t firmware_transfer_node, zwave_firmware_transfer_status_t status)
 Sets the Firmware transfer last status for a Firmware Update. More...
 
sl_status_t set_transfer_offset (attribute_store_node_t firmware_transfer_node, uint32_t transfer_offset)
 Sets the current offset for a Firmware Transfer. More...
 
uint16_t firmware_transfer_get_theoretical_max_fragment_size (attribute_store_node_t endpoint_node)
 Gets the theoretical max fragment size with a node/endpoint. More...
 
sl_status_t set_firmware_transfer_fragment_size (attribute_store_node_t firmware_transfer_node)
 Sets the Firmware transfer fragment size for a Firmware Update. More...
 
bool node_supports_firmware_activation (attribute_store_node_t endpoint_node)
 Verifies if a node supports Firmware Activation. More...
 
bool node_supports_cc (attribute_store_node_t endpoint_node)
 Verifies if a node supports Firmware CC, which indicates if the supporting node’s Command Classes functionality will continue to function normally during Firmware Update transfer. More...
 
bool is_firmware_target_valid (attribute_store_node_t endpoint_node, uint32_t firmware_target)
 Verifies if a Firmware Target value is valid for an endpoint. More...
 
bool is_firmware_update_ongoing (attribute_store_node_t endpoint_node)
 Verifies if a Firmware Update is ongoing for an endpoint. More...
 
sl_status_t postpone_firmware_update_expiry (attribute_store_node_t endpoint_node)
 Postpones the Firmware Update expiry for an Endpoint. More...