Go to the documentation of this file. 24 #ifndef TELEMETRY_CONFIG_H 25 #define TELEMETRY_CONFIG_H 27 #include <csp/csp_autoconfig.h> 30 #ifndef YOTTA_CFG_TELEMETRY_CSP_ADDRESS 31 #define TELEMETRY_CSP_ADDRESS 1 33 #define TELEMETRY_CSP_ADDRESS YOTTA_CFG_TELEMETRY_CSP_ADDRESS 37 #ifndef YOTTA_CFG_TELEMETRY_MESSAGE_QUEUE_SIZE 38 #define MESSAGE_QUEUE_SIZE 10 40 #define MESSAGE_QUEUE_SIZE YOTTA_CFG_TELEMETRY_MESSAGE_QUEUE_SIZE 44 #ifndef YOTTA_CFG_TELEMETRY_CSP_PORT 45 #define TELEMETRY_CSP_PORT 20 47 #define TELEMETRY_CSP_PORT YOTTA_CFG_TELEMETRY_CSP_PORT 52 #ifndef YOTTA_CFG_TELEMETRY_SUBSCRIBERS_MAX_NUM 53 #define TELEMETRY_SUBSCRIBERS_MAX_NUM ((CSP_CONN_MAX / 2) - 1) 55 #define TELEMETRY_SUBSCRIBERS_MAX_NUM YOTTA_CFG_TELEMETRY_SUBSCRIBERS_MAX_NUM 62 #if ((TELEMETRY_SUBSCRIBERS_MAX_NUM * 2) + 1) > CSP_CONN_MAX 63 #warning "Number of telemetry subscribers exceeds number of available CSP connections" 67 #ifndef YOTTA_CFG_TELEMETERY_SUBSCRIBERS_READ_ATTEPMTS 68 #define TELEMETRY_SUBSCRIBER_READ_ATTEMPTS 10 70 #define TELEMETRY_SUBSCRIBER_READ_ATTEMPTS YOTTA_CFG_TELEMETRY_SUBSCRIBERS_READ_ATTEMPTS 74 #ifndef YOTTA_CFG_TELEMETRY_RX_THREAD_STACK_SIZE 75 #define TELEMETRY_RX_THREAD_STACK_SIZE 1000 77 #define TELEMETRY_RX_THREAD_STACK_SIZE YOTTA_CFG_TELEMETRY_RX_THREAD_STACK_SIZE 81 #ifndef YOTTA_CFG_TELEMETRY_RX_THREAD_PRIORITY 82 #define TELEMETRY_RX_THREAD_PRIORITY 2 84 #define TELEMETRY_RX_THREAD_PRIORITY YOTTA_CFG_TELEMETRY_RX_THREAD_PRIORITY