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_DOWNLOAD_MAX_BLOCK_SIZE   1024
 
#define CONFIG_GOLIOTH_BLOCKWISE_UPLOAD_MAX_BLOCK_SIZE   1024
 
#define CONFIG_GOLIOTH_FW_UPDATE_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_FW_UPDATE_OBSERVATION_RETRY_MAX_DELAY_S   3600
 
#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 109 of file config.h.

◆ CONFIG_GOLIOTH_BLOCKWISE_DOWNLOAD_MAX_BLOCK_SIZE

#define CONFIG_GOLIOTH_BLOCKWISE_DOWNLOAD_MAX_BLOCK_SIZE   1024

Definition at line 60 of file config.h.

◆ CONFIG_GOLIOTH_BLOCKWISE_UPLOAD_MAX_BLOCK_SIZE

#define CONFIG_GOLIOTH_BLOCKWISE_UPLOAD_MAX_BLOCK_SIZE   1024

Definition at line 65 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 89 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 113 of file config.h.

◆ CONFIG_GOLIOTH_FW_UPDATE_OBSERVATION_RETRY_MAX_DELAY_S

#define CONFIG_GOLIOTH_FW_UPDATE_OBSERVATION_RETRY_MAX_DELAY_S   3600

Definition at line 85 of file config.h.

◆ CONFIG_GOLIOTH_FW_UPDATE_THREAD_STACK_SIZE

#define CONFIG_GOLIOTH_FW_UPDATE_THREAD_STACK_SIZE   4096

Definition at line 69 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 93 of file config.h.

◆ CONFIG_GOLIOTH_OTA_MAX_NUM_COMPONENTS

#define CONFIG_GOLIOTH_OTA_MAX_NUM_COMPONENTS   1

Definition at line 81 of file config.h.

◆ CONFIG_GOLIOTH_OTA_MAX_PACKAGE_NAME_LEN

#define CONFIG_GOLIOTH_OTA_MAX_PACKAGE_NAME_LEN   16

Definition at line 73 of file config.h.

◆ CONFIG_GOLIOTH_OTA_MAX_VERSION_LEN

#define CONFIG_GOLIOTH_OTA_MAX_VERSION_LEN   16

Definition at line 77 of file config.h.

◆ CONFIG_GOLIOTH_RPC_MAX_NUM_METHODS

#define CONFIG_GOLIOTH_RPC_MAX_NUM_METHODS   8

Definition at line 101 of file config.h.

◆ CONFIG_GOLIOTH_RPC_MAX_RESPONSE_LEN

#define CONFIG_GOLIOTH_RPC_MAX_RESPONSE_LEN   256

Definition at line 105 of file config.h.

◆ CONFIG_GOLIOTH_SETTINGS_MAX_RESPONSE_LEN

#define CONFIG_GOLIOTH_SETTINGS_MAX_RESPONSE_LEN   256

Definition at line 97 of file config.h.

◆ GOLIOTH_OVERRIDE_LIBCOAP_LOG_HANDLER

#define GOLIOTH_OVERRIDE_LIBCOAP_LOG_HANDLER   1

Definition at line 117 of file config.h.