|
1 | | -/* Copyright 2023 Arm Limited and/or its affiliates |
| 1 | +/* Copyright 2023-2024 Arm Limited and/or its affiliates |
2 | 2 | |
3 | 3 | * SPDX-License-Identifier: MIT |
4 | 4 | */ |
5 | 5 |
|
6 | | -/** |
7 | | - * @brief Subscribe Publish demo tasks configuration. |
8 | | - * Subscribe publish demo task shows the basic functionality of connecting to an MQTT broker, subscribing |
9 | | - * to a topic, publishing messages to a topic and reporting the incoming messages on subscribed topic. |
10 | | - * Number of subscribe publish demo tasks to be spawned is configurable. |
11 | | - */ |
12 | | -#define appCONFIG_MQTT_NUM_PUBSUB_TASKS ( 1 ) |
13 | | -#define appCONFIG_MQTT_PUBSUB_TASK_STACK_SIZE ( 2048 ) |
14 | | -#define appCONFIG_MQTT_PUBSUB_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 ) |
15 | | - |
16 | | -/** |
17 | | - * @brief Stack size and priority for MQTT agent task. |
18 | | - * Stack size is capped to an adequate value based on requirements from MbedTLS stack |
19 | | - * for establishing a TLS connection. Task priority of MQTT agent is set to a priority |
20 | | - * higher than other MQTT application tasks, so that the agent can drain the queue |
21 | | - * as work is being produced. |
22 | | - */ |
23 | | -#define appCONFIG_MQTT_AGENT_TASK_STACK_SIZE ( 4096 ) |
24 | | -#define appCONFIG_MQTT_AGENT_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 ) |
25 | | - |
26 | | -/** |
27 | | - * @brief Stack size and priority for OTA MQTT agent task. |
28 | | - * Stack size is capped to an adequate value based on requirements from MbedTLS stack |
29 | | - * for establishing a TLS connection. Task priority of OTA MQTT agent is set to a priority |
30 | | - * higher than other MQTT application tasks, so that the agent can drain the queue |
31 | | - * as work is being produced. |
32 | | - */ |
33 | | -#define appCONFIG_OTA_MQTT_AGENT_TASK_STACK_SIZE ( 4096 ) |
34 | | -#define appCONFIG_OTA_MQTT_AGENT_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 ) |
35 | | - |
36 | 6 | /** @brief Set logging task as high priority task */ |
37 | | -#define appCONFIG_LOGGING_TASK_PRIORITY ( configMAX_PRIORITIES - 1 ) |
38 | | -#define appCONFIG_LOGGING_TASK_STACK_SIZE ( 2048 ) |
39 | | -#define appCONFIG_LOGGING_MESSAGE_QUEUE_LENGTH ( 32 ) |
| 7 | +#define appCONFIG_LOGGING_TASK_PRIORITY ( configMAX_PRIORITIES - 1 ) |
| 8 | +#define appCONFIG_LOGGING_TASK_STACK_SIZE ( 2048 ) |
| 9 | +#define appCONFIG_LOGGING_MESSAGE_QUEUE_LENGTH ( 32 ) |
0 commit comments