|
25 | 25 | * These first few are topic extensions to the dynamic base topic that includes |
26 | 26 | * the Thing name. |
27 | 27 | */ |
28 | | -#define MQTT_API_THINGS "$aws/things/" /*!< Topic prefix for thing APIs. */ |
29 | | -#define MQTT_API_STREAMS "/streams/" /*!< Stream API identifier. */ |
30 | | -#define MQTT_API_DATA_CBOR "/data/cbor" /*!< Stream API suffix. */ |
31 | | -#define MQTT_API_GET_CBOR "/get/cbor" /*!< Stream API suffix. */ |
32 | | -#define MQTT_API_DATA_JSON "/data/json" /*!< JSON DATA Stream API suffix. */ |
33 | | -#define MQTT_API_GET_JSON "/get/json" /*!< JSON GET Stream API suffix. */ |
| 28 | +#define MQTT_API_THINGS "$aws/things/" /*!< Topic prefix for thing APIs. */ |
| 29 | +#define MQTT_API_STREAMS "/streams/" /*!< Stream API identifier. */ |
| 30 | +#define MQTT_API_DATA_CBOR "/data/cbor" /*!< Stream API suffix. */ |
| 31 | +#define MQTT_API_GET_CBOR "/get/cbor" /*!< Stream API suffix. */ |
| 32 | +#define MQTT_API_DATA_JSON "/data/json" /*!< JSON DATA Stream API suffix. */ |
| 33 | +#define MQTT_API_GET_JSON "/get/json" /*!< JSON GET Stream API suffix. */ |
34 | 34 |
|
35 | 35 | /** |
36 | 36 | * @ingroup mqtt_file_downloader_const_types |
37 | 37 | * Maximum stream name length. |
38 | 38 | */ |
39 | | -#define STREAM_NAME_MAX_LEN 44U |
| 39 | +#define STREAM_NAME_MAX_LEN 44U |
40 | 40 |
|
41 | 41 | /** |
42 | 42 | * @ingroup mqtt_file_downloader_const_types |
43 | 43 | * Length of NULL character. Used in calculating lengths of MQTT topics. |
44 | 44 | */ |
45 | | -#define NULL_CHAR_LEN 1U |
| 45 | +#define NULL_CHAR_LEN 1U |
46 | 46 |
|
47 | 47 | /** |
48 | 48 | * @ingroup mqtt_file_downloader_const_types |
49 | 49 | * Maximum thing name length. |
50 | 50 | */ |
51 | | -#define MAX_THINGNAME_LEN 128U |
| 51 | +#define MAX_THINGNAME_LEN 128U |
52 | 52 |
|
53 | 53 | /** |
54 | 54 | * @ingroup mqtt_file_downloader_const_types |
55 | 55 | * Stream Request Buffer Size |
56 | 56 | */ |
57 | | -#define GET_STREAM_REQUEST_BUFFER_SIZE 256U |
58 | | - |
59 | | -/** |
60 | | - * @ingroup mqtt_file_downloader_const_types |
61 | | - * @brief Configure the Maximum size of the data payload. |
62 | | - */ |
63 | | -#define mqttFileDownloader_CONFIG_BLOCK_SIZE 256U |
| 57 | +#define GET_STREAM_REQUEST_BUFFER_SIZE 256U |
64 | 58 |
|
65 | 59 | /** |
66 | 60 | * @brief Macro to calculate string length. |
|
0 commit comments