nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
downloader Struct Reference

Downloader instance. More...

#include <downloader.h>

Public Member Functions

 K_KERNEL_STACK_MEMBER (thread_stack, CONFIG_DOWNLOADER_STACK_SIZE)
 

Data Fields

struct downloader_cfg cfg
 
struct downloader_host_cfg host_cfg
 
char hostname [CONFIG_DOWNLOADER_MAX_HOSTNAME_SIZE]
 
char file [CONFIG_DOWNLOADER_MAX_FILENAME_SIZE]
 
size_t file_size
 
size_t progress
 
size_t buf_offset
 
bool complete
 
const struct dl_transporttransport
 
uint8_t transport_internal [CONFIG_DOWNLOADER_TRANSPORT_PARAMS_SIZE]
 
struct k_sem event_sem
 
struct k_mutex mutex
 
enum downloader_state state
 
struct k_thread thread
 
k_tid_t tid
 

Detailed Description

Downloader instance.

Members are set internally by the downloader.


The documentation for this struct was generated from the following file: