19#ifndef ZEPHYR_INCLUDE_MGMT_HAWKBIT_CONFIG_H_
20#define ZEPHYR_INCLUDE_MGMT_HAWKBIT_CONFIG_H_
76 .server_domain = domain_str,
96 .server_addr = addr_str,
97 .server_domain =
NULL,
117 .server_domain =
NULL,
137 .server_domain =
NULL,
157 .server_domain =
NULL,
int32_t hawkbit_get_action_id(void)
Get the hawkBit action id.
static int hawkbit_set_server_domain(char *domain_str)
Set the hawkBit server hostname.
Definition config.h:72
static uint16_t hawkbit_get_server_port(void)
Get the hawkBit server port.
Definition config.h:191
uint32_t hawkbit_get_poll_interval(void)
Get the hawkBit poll interval.
static int hawkbit_set_tls_tag(sec_tag_t tag)
Set the hawkBit TLS tag.
Definition config.h:153
int hawkbit_set_config(struct hawkbit_runtime_config *config)
Set the hawkBit server configuration settings.
static sec_tag_t hawkbit_get_tls_tag(void)
Get the hawkBit TLS tag.
Definition config.h:211
static int hawkbit_set_server_port(uint16_t port)
Set the hawkBit server port.
Definition config.h:113
static int hawkbit_set_ddi_security_token(char *token)
Set the hawkBit security token.
Definition config.h:133
static int hawkbit_set_server_addr(char *addr_str)
Set the hawkBit server address.
Definition config.h:93
struct hawkbit_runtime_config hawkbit_get_config(void)
Get the hawkBit server configuration settings.
static char * hawkbit_get_server_addr(void)
Get the hawkBit server address.
Definition config.h:171
static char * hawkbit_get_ddi_security_token(void)
Get the hawkBit security token.
Definition config.h:201
static char * hawkbit_get_server_domain(void)
Get the hawkBit server hostname.
Definition config.h:181
int sec_tag_t
Secure tag, a reference to TLS credential.
Definition tls_credentials.h:78
#define NULL
Definition iar_missing_defs.h:20
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__INT32_TYPE__ int32_t
Definition stdint.h:74
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
hawkBit configuration structure.
Definition config.h:31
sec_tag_t tls_tag
TLS tag.
Definition config.h:44
uint16_t server_port
Server port.
Definition config.h:40
char * server_domain
Server domain name.
Definition config.h:38
char * auth_token
Security token.
Definition config.h:42
char * server_addr
Server address (domain name or IP address if CONFIG_HAWKBIT_USE_DOMAIN_NAME is enabled)
Definition config.h:36
TLS credentials management.