nRF Connect SDK API
3.4.99
Toggle main menu visibility
Loading...
Searching...
No Matches
downloader_transport_coap.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2024 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
15
16
#ifndef __DOWNLOADER_TRANSPORT_COAP_H
17
#define __DOWNLOADER_TRANSPORT_COAP_H
18
19
#include <
net/downloader.h
>
20
#include <zephyr/net/coap.h>
21
25
struct
downloader_transport_coap_cfg
{
27
enum
coap_block_size
block_size
;
29
uint8_t
max_retransmission
;
37
uint8_t
max_reconnects
;
38
};
39
48
int
downloader_transport_coap_set_config
(
struct
downloader
*dl,
49
struct
downloader_transport_coap_cfg
*cfg);
50
51
#endif
/* __DOWNLOADER_TRANSPORT_COAP_H */
52
downloader.h
downloader_transport_coap_set_config
int downloader_transport_coap_set_config(struct downloader *dl, struct downloader_transport_coap_cfg *cfg)
Set Downloader CoAP transport settings.
downloader_transport_coap_cfg::block_size
enum coap_block_size block_size
Definition
downloader_transport_coap.h:27
downloader_transport_coap_cfg::max_retransmission
uint8_t max_retransmission
Definition
downloader_transport_coap.h:29
downloader_transport_coap_cfg::max_reconnects
uint8_t max_reconnects
Definition
downloader_transport_coap.h:37
downloader_transport_coap_cfg
CoAP transport configuration params.
Definition
downloader_transport_coap.h:25
downloader
Downloader instance.
Definition
downloader.h:231
include
net
downloader_transport_coap.h
Generated on
for nRF Connect SDK API by
1.17.0