1 /*
2  * This file has been generated from the cddl-gen submodule.
3  * Commit 9f77837f9950da1633d22abf6181a830521a6688
4  */
5 
6 /*
7  * Copyright (c) 2021 Nordic Semiconductor ASA
8  *
9  * SPDX-License-Identifier: Apache-2.0
10  */
11 
12 /*
13  * Generated with cddl_gen.py (https://github.com/NordicSemiconductor/cddl-gen)
14  * at: 2021-08-02 17:09:42
15  * Generated with a default_max_qty of 3
16  */
17 
18 #ifndef SERIAL_RECOVERY_CBOR_H__
19 #define SERIAL_RECOVERY_CBOR_H__
20 
21 #include <stdint.h>
22 #include <stdbool.h>
23 #include <stddef.h>
24 #include <string.h>
25 #include "cbor_decode.h"
26 #include "types_serial_recovery_cbor.h"
27 
28 #if DEFAULT_MAX_QTY != 3
29 #error "The type file was generated with a different default_max_qty than this file"
30 #endif
31 
32 
33 bool cbor_decode_Upload(
34 		const uint8_t *payload, uint32_t payload_len,
35 		struct Upload *result,
36 		uint32_t *payload_len_out);
37 
38 
39 #endif /* SERIAL_RECOVERY_CBOR_H__ */
40