Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
img_mgmt_callbacks.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Laird Connectivity
3 * Copyright (c) 2022 Nordic Semiconductor ASA
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8#ifndef H_MCUMGR_IMG_MGMT_CALLBACKS_
9#define H_MCUMGR_IMG_MGMT_CALLBACKS_
10
11#include <stdbool.h>
12#include <stdint.h>
13#include <zcbor_common.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19/* Dummy definitions, include zephyr/mgmt/mcumgr/grp/img_mgmt/img_mgmt.h for actual definitions */
22
39
42};
43
50 bool *ok;
51 zcbor_state_t *zse;
53 const char *version;
54 const uint8_t *hash;
55 const int flags;
56};
57
62#ifdef __cplusplus
63}
64#endif
65
66#endif
__UINT32_TYPE__ uint32_t
Definition: stdint.h:90
__UINT8_TYPE__ uint8_t
Definition: stdint.h:88
Structure provided in the MGMT_EVT_OP_IMG_MGMT_IMAGE_SLOT_STATE notification callback: This callback ...
Definition: img_mgmt_callbacks.h:49
const uint8_t * hash
Definition: img_mgmt_callbacks.h:54
zcbor_state_t * zse
Definition: img_mgmt_callbacks.h:51
bool * ok
Definition: img_mgmt_callbacks.h:50
const int flags
Definition: img_mgmt_callbacks.h:55
const char * version
Definition: img_mgmt_callbacks.h:53
const uint32_t slot
Definition: img_mgmt_callbacks.h:52
Describes what to do during processing of an upload request.
Definition: img_mgmt.h:206
Structure provided in the MGMT_EVT_OP_IMG_MGMT_DFU_CHUNK notification callback: This callback functio...
Definition: img_mgmt_callbacks.h:36
struct img_mgmt_upload_req * req
Upload request information.
Definition: img_mgmt_callbacks.h:41
struct img_mgmt_upload_action * action
Action to take.
Definition: img_mgmt_callbacks.h:38
Represents an individual upload request.
Definition: img_mgmt.h:183