Golioth Firmware SDK
Loading...
Searching...
No Matches
config.h File Reference
#include "golioth_port_config.h"

Go to the source code of this file.

Macros

#define CONFIG_GOLIOTH_COAP_HOST_URI   "coaps://coap.golioth.io"
 
#define CONFIG_GOLIOTH_COAP_RESPONSE_TIMEOUT_S   10
 
#define CONFIG_GOLIOTH_COAP_REQUEST_QUEUE_TIMEOUT_MS   1000
 
#define CONFIG_GOLIOTH_COAP_REQUEST_QUEUE_MAX_ITEMS   10
 
#define CONFIG_GOLIOTH_COAP_THREAD_PRIORITY   5
 
#define CONFIG_GOLIOTH_COAP_THREAD_STACK_SIZE   6144
 
#define CONFIG_GOLIOTH_COAP_KEEPALIVE_INTERVAL_S   9
 
#define CONFIG_GOLIOTH_MAX_NUM_OBSERVATIONS   8
 
#define CONFIG_GOLIOTH_BLOCKWISE_UPLOAD_BLOCK_SIZE   1024
 
#define CONFIG_GOLIOTH_BLOCKWISE_DOWNLOAD_BUFFER_SIZE   1024
 
#define CONFIG_GOLIOTH_OTA_THREAD_STACK_SIZE   4096
 
#define CONFIG_GOLIOTH_OTA_MAX_PACKAGE_NAME_LEN   16
 
#define CONFIG_GOLIOTH_OTA_MAX_VERSION_LEN   16
 
#define CONFIG_GOLIOTH_OTA_MAX_NUM_COMPONENTS   1
 
#define CONFIG_GOLIOTH_OTA_OBSERVATION_RETRY_MAX_DELAY_S   3600
 
#define CONFIG_GOLIOTH_OTA_DECOMPRESS_METHOD_ZLIB   0
 
#define CONFIG_GOLIOTH_OTA_DECOMPRESS_METHOD_HEATSHRINK   0
 
#define CONFIG_GOLIOTH_OTA_PATCH   0
 
#define CONFIG_GOLIOTH_COAP_MAX_PATH_LEN   39
 
#define CONFIG_GOLIOTH_MAX_NUM_SETTINGS   16
 
#define CONFIG_GOLIOTH_SETTINGS_MAX_RESPONSE_LEN   256
 
#define CONFIG_GOLIOTH_RPC_MAX_NUM_METHODS   8
 
#define CONFIG_GOLIOTH_RPC_MAX_RESPONSE_LEN   256
 
#define CONFIG_GOLIOTH_AUTO_LOG_TO_CLOUD   0
 
#define CONFIG_GOLIOTH_DEBUG_DEFAULT_LOG_LEVEL   GOLIOTH_DEBUG_LOG_LEVEL_INFO
 
#define GOLIOTH_OVERRIDE_LIBCOAP_LOG_HANDLER   1
 

Macro Definition Documentation

◆ CONFIG_GOLIOTH_AUTO_LOG_TO_CLOUD

#define CONFIG_GOLIOTH_AUTO_LOG_TO_CLOUD   0

Definition at line 119 of file config.h.

◆ CONFIG_GOLIOTH_BLOCKWISE_DOWNLOAD_BUFFER_SIZE

#define CONFIG_GOLIOTH_BLOCKWISE_DOWNLOAD_BUFFER_SIZE   1024

Definition at line 63 of file config.h.

◆ CONFIG_GOLIOTH_BLOCKWISE_UPLOAD_BLOCK_SIZE

#define CONFIG_GOLIOTH_BLOCKWISE_UPLOAD_BLOCK_SIZE   1024

Definition at line 59 of file config.h.

◆ CONFIG_GOLIOTH_COAP_HOST_URI

#define CONFIG_GOLIOTH_COAP_HOST_URI   "coaps://coap.golioth.io"

Definition at line 27 of file config.h.

◆ CONFIG_GOLIOTH_COAP_KEEPALIVE_INTERVAL_S

#define CONFIG_GOLIOTH_COAP_KEEPALIVE_INTERVAL_S   9

Definition at line 51 of file config.h.

◆ CONFIG_GOLIOTH_COAP_MAX_PATH_LEN

#define CONFIG_GOLIOTH_COAP_MAX_PATH_LEN   39

Definition at line 99 of file config.h.

◆ CONFIG_GOLIOTH_COAP_REQUEST_QUEUE_MAX_ITEMS

#define CONFIG_GOLIOTH_COAP_REQUEST_QUEUE_MAX_ITEMS   10

Definition at line 39 of file config.h.

◆ CONFIG_GOLIOTH_COAP_REQUEST_QUEUE_TIMEOUT_MS

#define CONFIG_GOLIOTH_COAP_REQUEST_QUEUE_TIMEOUT_MS   1000

Definition at line 35 of file config.h.

◆ CONFIG_GOLIOTH_COAP_RESPONSE_TIMEOUT_S

#define CONFIG_GOLIOTH_COAP_RESPONSE_TIMEOUT_S   10

Definition at line 31 of file config.h.

◆ CONFIG_GOLIOTH_COAP_THREAD_PRIORITY

#define CONFIG_GOLIOTH_COAP_THREAD_PRIORITY   5

Definition at line 43 of file config.h.

◆ CONFIG_GOLIOTH_COAP_THREAD_STACK_SIZE

#define CONFIG_GOLIOTH_COAP_THREAD_STACK_SIZE   6144

Definition at line 47 of file config.h.

◆ CONFIG_GOLIOTH_DEBUG_DEFAULT_LOG_LEVEL

#define CONFIG_GOLIOTH_DEBUG_DEFAULT_LOG_LEVEL   GOLIOTH_DEBUG_LOG_LEVEL_INFO

Definition at line 123 of file config.h.

◆ CONFIG_GOLIOTH_MAX_NUM_OBSERVATIONS

#define CONFIG_GOLIOTH_MAX_NUM_OBSERVATIONS   8

Definition at line 55 of file config.h.

◆ CONFIG_GOLIOTH_MAX_NUM_SETTINGS

#define CONFIG_GOLIOTH_MAX_NUM_SETTINGS   16

Definition at line 103 of file config.h.

◆ CONFIG_GOLIOTH_OTA_DECOMPRESS_METHOD_HEATSHRINK

#define CONFIG_GOLIOTH_OTA_DECOMPRESS_METHOD_HEATSHRINK   0

Definition at line 91 of file config.h.

◆ CONFIG_GOLIOTH_OTA_DECOMPRESS_METHOD_ZLIB

#define CONFIG_GOLIOTH_OTA_DECOMPRESS_METHOD_ZLIB   0

Definition at line 87 of file config.h.

◆ CONFIG_GOLIOTH_OTA_MAX_NUM_COMPONENTS

#define CONFIG_GOLIOTH_OTA_MAX_NUM_COMPONENTS   1

Definition at line 79 of file config.h.

◆ CONFIG_GOLIOTH_OTA_MAX_PACKAGE_NAME_LEN

#define CONFIG_GOLIOTH_OTA_MAX_PACKAGE_NAME_LEN   16

Definition at line 71 of file config.h.

◆ CONFIG_GOLIOTH_OTA_MAX_VERSION_LEN

#define CONFIG_GOLIOTH_OTA_MAX_VERSION_LEN   16

Definition at line 75 of file config.h.

◆ CONFIG_GOLIOTH_OTA_OBSERVATION_RETRY_MAX_DELAY_S

#define CONFIG_GOLIOTH_OTA_OBSERVATION_RETRY_MAX_DELAY_S   3600

Definition at line 83 of file config.h.

◆ CONFIG_GOLIOTH_OTA_PATCH

#define CONFIG_GOLIOTH_OTA_PATCH   0

Definition at line 95 of file config.h.

◆ CONFIG_GOLIOTH_OTA_THREAD_STACK_SIZE

#define CONFIG_GOLIOTH_OTA_THREAD_STACK_SIZE   4096

Definition at line 67 of file config.h.

◆ CONFIG_GOLIOTH_RPC_MAX_NUM_METHODS

#define CONFIG_GOLIOTH_RPC_MAX_NUM_METHODS   8

Definition at line 111 of file config.h.

◆ CONFIG_GOLIOTH_RPC_MAX_RESPONSE_LEN

#define CONFIG_GOLIOTH_RPC_MAX_RESPONSE_LEN   256

Definition at line 115 of file config.h.

◆ CONFIG_GOLIOTH_SETTINGS_MAX_RESPONSE_LEN

#define CONFIG_GOLIOTH_SETTINGS_MAX_RESPONSE_LEN   256

Definition at line 107 of file config.h.

◆ GOLIOTH_OVERRIDE_LIBCOAP_LOG_HANDLER

#define GOLIOTH_OVERRIDE_LIBCOAP_LOG_HANDLER   1

Definition at line 127 of file config.h.