|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|


结构体 | |
| struct | upg_image_partition_ids_map |
| struct | fota_upgrade_flag_area |
| struct | upg_package_info |
| struct | upg_image_collections |
| struct | upg_resource_index |
| struct | upg_resource_head |
| struct | upg_storage_ctx |
宏定义 | |
| #define | UPG_IMAGE_ID_NV 0xCB9E063C |
| #define | UPG_IMAGE_ID_RES_INDEX 0xCB9E0826 |
| #define | UPG_IMAGE_ID_RES_DATA 0xCB9E0832 |
| #define | UPG_IMAGE_ID_KEY_AREA 0xCB8D154E |
| #define | UPG_IMAGE_ID_FOTA_INFO_AREA 0xCB8D154E |
| #define | UPG_IMAGE_HRADER_MAGIC 0x464F5451 |
| #define | UPG_FIRMWARE_MAX_NUM 20 |
| #define | UPG_FLAG_RETYR_TIMES 3 |
| #define | VERIFY_BUFF_LEN 0x1000 |
| #define | ENCRYPTION_FLAG_ENABLED 0x3C7896E1 /* 加密打开 */ |
| #define | DECOMPRESS_FLAG_ZIP 0x3C7896E1 /* 压缩镜像 */ |
| #define | DECOMPRESS_FLAG_DIFF 0x44494646 /* 差分镜像 */ |
| #define | UPG_HEAD_MAGIC 0x55AA55AA |
| #define | UPG_END_MAGIC 0xAA55AA55 |
类型定义 | |
| typedef struct upg_image_partition_ids_map | upg_image_partition_ids_map_t |
| typedef enum upg_image_status | upg_image_status_t |
| typedef enum upg_image_status_switch | upg_image_status_switch_t |
| typedef enum upg_resource_operation | upg_resource_operation_t |
| typedef struct fota_upgrade_flag_area | fota_upgrade_flag_area_t |
| typedef struct upg_package_info | upg_package_info_t |
| typedef struct upg_image_collections | upg_image_collections_t |
| typedef struct upg_resource_index | upg_resource_node_t |
| typedef struct upg_resource_head | upg_resource_index_t |
| typedef struct upg_storage_ctx | upg_storage_ctx_t |
| #define DECOMPRESS_FLAG_DIFF 0x44494646 /* 差分镜像 */ |
| #define DECOMPRESS_FLAG_ZIP 0x3C7896E1 /* 压缩镜像 */ |
| #define ENCRYPTION_FLAG_ENABLED 0x3C7896E1 /* 加密打开 */ |
| #define UPG_END_MAGIC 0xAA55AA55 |
| #define UPG_FIRMWARE_MAX_NUM 20 |
| #define UPG_FLAG_RETYR_TIMES 3 |
| #define UPG_HEAD_MAGIC 0x55AA55AA |
| #define UPG_IMAGE_HRADER_MAGIC 0x464F5451 |
| #define UPG_IMAGE_ID_FOTA_INFO_AREA 0xCB8D154E |
| #define UPG_IMAGE_ID_KEY_AREA 0xCB8D154E |
| #define UPG_IMAGE_ID_NV 0xCB9E063C |
| #define UPG_IMAGE_ID_RES_DATA 0xCB9E0832 |
| #define UPG_IMAGE_ID_RES_INDEX 0xCB9E0826 |
| #define VERIFY_BUFF_LEN 0x1000 |
| typedef struct fota_upgrade_flag_area fota_upgrade_flag_area_t |
| typedef struct upg_image_collections upg_image_collections_t |
| typedef struct upg_image_partition_ids_map upg_image_partition_ids_map_t |
| typedef enum upg_image_status_switch upg_image_status_switch_t |
| typedef enum upg_image_status upg_image_status_t |
| typedef struct upg_package_info upg_package_info_t |
| typedef struct upg_resource_head upg_resource_index_t |
| typedef struct upg_resource_index upg_resource_node_t |
| typedef enum upg_resource_operation upg_resource_operation_t |
| typedef struct upg_storage_ctx upg_storage_ctx_t |
| enum upg_image_status |