OTA Bootload Types
Data Structures | |
struct | EmberZclOtaBootloadClientServerInfo_t |
struct | EmberZclOtaBootloadHardwareVersionRange_t |
struct | EmberZclOtaBootloadFileSpec_t |
struct | EmberZclOtaBootloadFileHeaderInfo_t |
struct | EmberZclOtaBootloadStorageInfo_t |
struct | EmberZclOtaBootloadStorageFileInfo_t |
Macros | |
#define | EMBER_ZCL_OTA_BOOTLOAD_FILE_MAGIC_NUMBER 0x0BEEF11E |
#define | EMBER_ZCL_OTA_BOOTLOAD_FILE_MAGIC_NUMBER_SIZE 4 |
#define | EMBER_ZCL_OTA_BOOTLOAD_FILE_VERSION 0x0200 |
#define | EMBER_ZCL_OTA_BOOTLOAD_HEADER_STRING_SIZE 32 |
#define | EMBER_ZCL_OTA_BOOTLOAD_HEADER_MAX_SIZE 93 |
#define | EMBER_ZCL_OTA_BOOTLOAD_FILE_VERSION_NULL ((EmberZclOtaBootloadFileVersion_t)-1) |
#define | EMBER_ZCL_OTA_BOOTLOAD_HARDWARE_VERSION_NULL ((EmberZclOtaBootloadHardwareVersion_t)-1) |
Typedefs | |
typedef uint32_t | EmberZclOtaBootloadFileVersion_t |
typedef uint16_t | EmberZclOtaBootloadHardwareVersion_t |
typedef void(* | EmberZclOtaBootloadStorageDeleteCallback) (EmberZclOtaBootloadStorageStatus_t) |
Variables | |
const EmberZclOtaBootloadFileSpec_t | emberZclOtaBootloadFileSpecNull |
Macro Definition Documentation
#define EMBER_ZCL_OTA_BOOTLOAD_FILE_MAGIC_NUMBER 0x0BEEF11E |
This is the magic 32-bit number that appears at the beginning of every OTA file.
#define EMBER_ZCL_OTA_BOOTLOAD_FILE_MAGIC_NUMBER_SIZE 4 |
This is the size of the magic 32-bit number that appears at the beginning of every OTA file.
#define EMBER_ZCL_OTA_BOOTLOAD_FILE_VERSION 0x0200 |
This is the version of OTA files that work with ZCLIP.
#define EMBER_ZCL_OTA_BOOTLOAD_FILE_VERSION_NULL ((EmberZclOtaBootloadFileVersion_t)-1) |
Distinguished value that represents a null (invalid) OTA file version.
#define EMBER_ZCL_OTA_BOOTLOAD_HARDWARE_VERSION_NULL ((EmberZclOtaBootloadHardwareVersion_t)-1) |
Distinguished value that represents a null (invalid) OTA file hardware version.
#define EMBER_ZCL_OTA_BOOTLOAD_HEADER_MAX_SIZE 93 |
This is the maximum number of bytes contained in an OTA file header.
These fields are required.
- 4-byte file identifier (see EMBER_ZCL_OTA_BOOTLOAD_FILE_MAGIC_NUMBER)
- 2-byte header version
- 2-byte header length
- 2-byte header field control
- 2-byte manufacturer code
- 2-byte file type
- 4-byte file version
- 2-byte communication stack version
- 32-byte header string (see EMBER_ZCL_OTA_BOOTLOAD_HEADER_STRING_SIZE)
- 4-byte file size
- 1-byte security credential version
These fields are optional.
- 32-byte destination UID
- 2-byte minimum hardware version
- 2-byte maximum hardware version
#define EMBER_ZCL_OTA_BOOTLOAD_HEADER_STRING_SIZE 32 |
This is the size of the OTA file header string in bytes. This size includes the byte for the NUL-terminator, which must be included in a header string.
Typedef Documentation
typedef uint32_t EmberZclOtaBootloadFileVersion_t |
OTA file version.
typedef uint16_t EmberZclOtaBootloadHardwareVersion_t |
OTA file hardware version.
typedef void(* EmberZclOtaBootloadStorageDeleteCallback) (EmberZclOtaBootloadStorageStatus_t) |
Enumeration Type Documentation
OTA file status.
OTA file type.
OTA storage status.
Variable Documentation
const EmberZclOtaBootloadFileSpec_t emberZclOtaBootloadFileSpecNull |
This is a distinguished value that represents a null (invalid) OTA file specification.
This is provided as a utility to applications that wish to use a file specification value that is uninitialized or invalid.