|
43 | 43 | /** |
44 | 44 | * @brief The thing name of the device. |
45 | 45 | */ |
46 | | -#define otademoconfigCLIENT_IDENTIFIER ( CONFIG_GRI_THING_NAME ) |
| 46 | +#define otademoconfigCLIENT_IDENTIFIER ( CONFIG_GRI_THING_NAME ) |
47 | 47 |
|
48 | 48 | /** |
49 | 49 | * @brief The maximum size of the file paths used in the demo. |
50 | 50 | */ |
51 | | -#define otademoconfigMAX_FILE_PATH_SIZE ( CONFIG_GRI_OTA_DEMO_MAX_FILE_PATH_SIZE ) |
| 51 | +#define otademoconfigMAX_FILE_PATH_SIZE ( CONFIG_GRI_OTA_DEMO_MAX_FILE_PATH_SIZE ) |
52 | 52 |
|
53 | 53 | /** |
54 | 54 | * @brief The maximum size of the stream name required for downloading update file |
55 | 55 | * from streaming service. |
56 | 56 | */ |
57 | | -#define otademoconfigMAX_STREAM_NAME_SIZE ( CONFIG_GRI_OTA_DEMO_MAX_STREAM_NAME_SIZE ) |
| 57 | +#define otademoconfigMAX_STREAM_NAME_SIZE ( CONFIG_GRI_OTA_DEMO_MAX_STREAM_NAME_SIZE ) |
58 | 58 |
|
59 | 59 | /** |
60 | 60 | * @brief The delay used in the OTA demo task to periodically output the OTA |
61 | 61 | * statistics like number of packets received, dropped, processed and queued per connection. |
62 | 62 | */ |
63 | | -#define otademoconfigTASK_DELAY_MS ( CONFIG_GRI_OTA_DEMO_TASK_DELAY_MS ) |
| 63 | +#define otademoconfigTASK_DELAY_MS ( CONFIG_GRI_OTA_DEMO_TASK_DELAY_MS ) |
64 | 64 |
|
65 | 65 | /** |
66 | 66 | * @brief The maximum time for which OTA demo waits for an MQTT operation to be complete. |
67 | 67 | * This involves receiving an acknowledgment for broker for SUBSCRIBE, UNSUBSCRIBE and non |
68 | 68 | * QOS0 publishes. |
69 | 69 | */ |
70 | | -#define otademoconfigMQTT_TIMEOUT_MS ( CONFIG_GRI_OTA_DEMO_MQTT_TIMEOUT_MS ) |
| 70 | +#define otademoconfigMQTT_TIMEOUT_MS ( CONFIG_GRI_OTA_DEMO_MQTT_TIMEOUT_MS ) |
71 | 71 |
|
72 | 72 | /** |
73 | 73 | * @brief The task priority of OTA agent task. |
74 | 74 | */ |
75 | | -#define otademoconfigAGENT_TASK_PRIORITY ( CONFIG_GRI_OTA_DEMO_AGENT_TASK_PRIORITY ) |
| 75 | +#define otademoconfigAGENT_TASK_PRIORITY ( CONFIG_GRI_OTA_DEMO_AGENT_TASK_PRIORITY ) |
76 | 76 |
|
77 | 77 | /** |
78 | 78 | * @brief The stack size of OTA agent task. |
79 | 79 | */ |
80 | | -#define otademoconfigAGENT_TASK_STACK_SIZE ( CONFIG_GRI_OTA_DEMO_AGENT_TASK_STACK_SIZE ) |
| 80 | +#define otademoconfigAGENT_TASK_STACK_SIZE ( CONFIG_GRI_OTA_DEMO_AGENT_TASK_STACK_SIZE ) |
81 | 81 |
|
82 | 82 | /** |
83 | 83 | * @brief The task priority of the OTA demo task. |
84 | 84 | */ |
85 | | -#define otademoconfigDEMO_TASK_PRIORITY ( CONFIG_GRI_OTA_DEMO_DEMO_TASK_PRIORITY ) |
| 85 | +#define otademoconfigDEMO_TASK_PRIORITY ( CONFIG_GRI_OTA_DEMO_DEMO_TASK_PRIORITY ) |
86 | 86 |
|
87 | 87 | /** |
88 | 88 | * @brief The task stack size of the OTA demo task. |
89 | 89 | */ |
90 | | -#define otademoconfigDEMO_TASK_STACK_SIZE ( CONFIG_GRI_OTA_DEMO_DEMO_TASK_STACK_SIZE ) |
| 90 | +#define otademoconfigDEMO_TASK_STACK_SIZE ( CONFIG_GRI_OTA_DEMO_DEMO_TASK_STACK_SIZE ) |
91 | 91 |
|
92 | 92 | /** |
93 | 93 | * @brief The number of OTA data buffer. |
94 | 94 | */ |
95 | | -#define otademoconfigMAX_NUM_OTA_DATA_BUFFERS ( CONFIG_GRI_OTA_MAX_NUM_DATA_BUFFERS ) |
| 95 | +#define otademoconfigMAX_NUM_OTA_DATA_BUFFERS ( CONFIG_GRI_OTA_MAX_NUM_DATA_BUFFERS ) |
96 | 96 |
|
97 | 97 | /** |
98 | 98 | * @brief The version for the firmware which is running. OTA agent uses this |
99 | 99 | * version number to perform anti-rollback validation. The firmware version for the |
100 | 100 | * download image should be higher than the current version, otherwise the new image is |
101 | 101 | * rejected in self test phase. |
102 | 102 | */ |
103 | | -#define APP_VERSION_MAJOR ( CONFIG_GRI_OTA_DEMO_APP_VERSION_MAJOR ) |
104 | | -#define APP_VERSION_MINOR ( CONFIG_GRI_OTA_DEMO_APP_VERSION_MINOR ) |
105 | | -#define APP_VERSION_BUILD ( CONFIG_GRI_OTA_DEMO_APP_VERSION_BUILD ) |
| 103 | +#define APP_VERSION_MAJOR ( CONFIG_GRI_OTA_DEMO_APP_VERSION_MAJOR ) |
| 104 | +#define APP_VERSION_MINOR ( CONFIG_GRI_OTA_DEMO_APP_VERSION_MINOR ) |
| 105 | +#define APP_VERSION_BUILD ( CONFIG_GRI_OTA_DEMO_APP_VERSION_BUILD ) |
106 | 106 |
|
107 | 107 | /* *INDENT-OFF* */ |
108 | 108 | #ifdef __cplusplus |
|
0 commit comments