|
Golioth Firmware SDK
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
20#ifdef CONFIG_GOLIOTH_USER_CONFIG_INCLUDE
21#include CONFIG_GOLIOTH_USER_CONFIG_INCLUDE
24#include "golioth_port_config.h"
26#ifndef CONFIG_GOLIOTH_COAP_HOST_URI
27#define CONFIG_GOLIOTH_COAP_HOST_URI "coaps://coap.golioth.io"
30#ifndef CONFIG_GOLIOTH_COAP_RESPONSE_TIMEOUT_S
31#define CONFIG_GOLIOTH_COAP_RESPONSE_TIMEOUT_S 10
34#ifndef CONFIG_GOLIOTH_COAP_REQUEST_QUEUE_TIMEOUT_MS
35#define CONFIG_GOLIOTH_COAP_REQUEST_QUEUE_TIMEOUT_MS 1000
38#ifndef CONFIG_GOLIOTH_COAP_REQUEST_QUEUE_MAX_ITEMS
39#define CONFIG_GOLIOTH_COAP_REQUEST_QUEUE_MAX_ITEMS 10
42#ifndef CONFIG_GOLIOTH_COAP_THREAD_PRIORITY
43#define CONFIG_GOLIOTH_COAP_THREAD_PRIORITY 5
46#ifndef CONFIG_GOLIOTH_COAP_THREAD_STACK_SIZE
47#define CONFIG_GOLIOTH_COAP_THREAD_STACK_SIZE 6144
50#ifndef CONFIG_GOLIOTH_COAP_KEEPALIVE_INTERVAL_S
51#define CONFIG_GOLIOTH_COAP_KEEPALIVE_INTERVAL_S 9
54#ifndef CONFIG_GOLIOTH_MAX_NUM_OBSERVATIONS
55#define CONFIG_GOLIOTH_MAX_NUM_OBSERVATIONS 8
58#ifndef CONFIG_GOLIOTH_BLOCKWISE_DOWNLOAD_MAX_BLOCK_SIZE
60#define CONFIG_GOLIOTH_BLOCKWISE_DOWNLOAD_MAX_BLOCK_SIZE 1024
63#ifndef CONFIG_GOLIOTH_BLOCKWISE_UPLOAD_MAX_BLOCK_SIZE
65#define CONFIG_GOLIOTH_BLOCKWISE_UPLOAD_MAX_BLOCK_SIZE 1024
68#ifndef CONFIG_GOLIOTH_FW_UPDATE_THREAD_STACK_SIZE
69#define CONFIG_GOLIOTH_FW_UPDATE_THREAD_STACK_SIZE 4096
72#ifndef CONFIG_GOLIOTH_OTA_MAX_PACKAGE_NAME_LEN
73#define CONFIG_GOLIOTH_OTA_MAX_PACKAGE_NAME_LEN 16
76#ifndef CONFIG_GOLIOTH_OTA_MAX_VERSION_LEN
77#define CONFIG_GOLIOTH_OTA_MAX_VERSION_LEN 16
80#ifndef CONFIG_GOLIOTH_OTA_MAX_NUM_COMPONENTS
81#define CONFIG_GOLIOTH_OTA_MAX_NUM_COMPONENTS 1
84#ifndef CONFIG_GOLIOTH_FW_UPDATE_OBSERVATION_RETRY_MAX_DELAY_S
85#define CONFIG_GOLIOTH_FW_UPDATE_OBSERVATION_RETRY_MAX_DELAY_S 3600
88#ifndef CONFIG_GOLIOTH_COAP_MAX_PATH_LEN
89#define CONFIG_GOLIOTH_COAP_MAX_PATH_LEN 39
92#ifndef CONFIG_GOLIOTH_MAX_NUM_SETTINGS
93#define CONFIG_GOLIOTH_MAX_NUM_SETTINGS 16
96#ifndef CONFIG_GOLIOTH_SETTINGS_MAX_RESPONSE_LEN
97#define CONFIG_GOLIOTH_SETTINGS_MAX_RESPONSE_LEN 256
100#ifndef CONFIG_GOLIOTH_RPC_MAX_NUM_METHODS
101#define CONFIG_GOLIOTH_RPC_MAX_NUM_METHODS 8
104#ifndef CONFIG_GOLIOTH_RPC_MAX_RESPONSE_LEN
105#define CONFIG_GOLIOTH_RPC_MAX_RESPONSE_LEN 256
108#ifndef CONFIG_GOLIOTH_AUTO_LOG_TO_CLOUD
109#define CONFIG_GOLIOTH_AUTO_LOG_TO_CLOUD 0
112#ifndef CONFIG_GOLIOTH_DEBUG_DEFAULT_LOG_LEVEL
113#define CONFIG_GOLIOTH_DEBUG_DEFAULT_LOG_LEVEL GOLIOTH_DEBUG_LOG_LEVEL_INFO
116#ifndef GOLIOTH_OVERRIDE_LIBCOAP_LOG_HANDLER
117#define GOLIOTH_OVERRIDE_LIBCOAP_LOG_HANDLER 1