|
Zephyr Project API 4.3.0
A Scalable Open Source RTOS
|
hawkBit configuration API. More...
Data Structures | |
| struct | hawkbit_runtime_config |
| hawkBit configuration structure. More... | |
Functions | |
| int | hawkbit_set_config (struct hawkbit_runtime_config *config) |
| Set the hawkBit server configuration settings. | |
| struct hawkbit_runtime_config | hawkbit_get_config (void) |
| Get the hawkBit server configuration settings. | |
| static int | hawkbit_set_server_domain (char *domain_str) |
| Set the hawkBit server hostname. | |
| static int | hawkbit_set_server_addr (char *addr_str) |
| Set the hawkBit server address. | |
| static int | hawkbit_set_server_port (uint16_t port) |
| Set the hawkBit server port. | |
| static int | hawkbit_set_ddi_security_token (char *token) |
| Set the hawkBit security token. | |
| static int | hawkbit_set_tls_tag (sec_tag_t tag) |
| Set the hawkBit TLS tag. | |
| static char * | hawkbit_get_server_addr (void) |
| Get the hawkBit server address. | |
| static char * | hawkbit_get_server_domain (void) |
| Get the hawkBit server hostname. | |
| static uint16_t | hawkbit_get_server_port (void) |
| Get the hawkBit server port. | |
| static char * | hawkbit_get_ddi_security_token (void) |
| Get the hawkBit security token. | |
| static sec_tag_t | hawkbit_get_tls_tag (void) |
| Get the hawkBit TLS tag. | |
| int32_t | hawkbit_get_action_id (void) |
| Get the hawkBit action id. | |
| uint32_t | hawkbit_get_poll_interval (void) |
| Get the hawkBit poll interval. | |
hawkBit configuration API.
| int32_t hawkbit_get_action_id | ( | void | ) |
#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/mgmt/hawkbit/config.h>
Get the hawkBit action id.
| struct hawkbit_runtime_config hawkbit_get_config | ( | void | ) |
#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/mgmt/hawkbit/config.h>
Get the hawkBit server configuration settings.
|
inlinestatic |
#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/mgmt/hawkbit/config.h>
Get the hawkBit security token.
| uint32_t hawkbit_get_poll_interval | ( | void | ) |
#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/mgmt/hawkbit/config.h>
Get the hawkBit poll interval.
|
inlinestatic |
#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/mgmt/hawkbit/config.h>
Get the hawkBit server address.
|
inlinestatic |
#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/mgmt/hawkbit/config.h>
Get the hawkBit server hostname.
|
inlinestatic |
#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/mgmt/hawkbit/config.h>
Get the hawkBit server port.
|
inlinestatic |
#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/mgmt/hawkbit/config.h>
Get the hawkBit TLS tag.
| int hawkbit_set_config | ( | struct hawkbit_runtime_config * | config | ) |
#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/mgmt/hawkbit/config.h>
Set the hawkBit server configuration settings.
| config | Configuration settings to set. |
| 0 | on success. |
| -EAGAIN | if probe is currently running. |
| -EINVAL | if config parameters are invalid. |
|
inlinestatic |
#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/mgmt/hawkbit/config.h>
Set the hawkBit security token.
| token | Security token to set. |
| 0 | on success. |
| -EAGAIN | if probe is currently running. |
|
inlinestatic |
#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/mgmt/hawkbit/config.h>
Set the hawkBit server address.
| addr_str | Server address to set. |
| 0 | on success. |
| -EAGAIN | if probe is currently running. |
| -EINVAL | if config parameters are invalid. |
|
inlinestatic |
#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/mgmt/hawkbit/config.h>
Set the hawkBit server hostname.
| domain_str | Server hostname to set. |
| 0 | on success. |
| -EINVAL | if string length mismatch for server_domain |
| -EAGAIN | if probe is currently running. |
|
inlinestatic |
#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/mgmt/hawkbit/config.h>
Set the hawkBit server port.
| port | Server port to set. |
| 0 | on success. |
| -EAGAIN | if probe is currently running. |
|
inlinestatic |
#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/mgmt/hawkbit/config.h>
Set the hawkBit TLS tag.
| tag | TLS tag to set. |
| 0 | on success. |
| -EAGAIN | if probe is currently running. |