Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit 724f3d3

Browse files
committed
rename legacy mqtt define to clarity
1 parent af7fb2e commit 724f3d3

10 files changed

Lines changed: 18 additions & 18 deletions

File tree

MXChip/AZ3166/app/azure_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ typedef enum
2121

2222
// ----------------------------------------------------------------------------
2323
// Azure IoT Hub Connection Transport
24-
// Define this to use MQTT, else Azure RTOS SDK for Azure IoT
24+
// Define to use the legacy MQTT connection, else Azure RTOS SDK for Azure IoT
2525
// ----------------------------------------------------------------------------
26-
//#define ENABLE_MQTT
26+
//#define ENABLE_LEGACY_MQTT
2727

2828
// ----------------------------------------------------------------------------
2929
// Azure IoT Dynamic Provisioning Service

MXChip/AZ3166/app/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void azure_thread_entry(ULONG parameter)
5555
}
5656
screen_print("SNTP inited", L0);
5757

58-
#ifdef ENABLE_MQTT
58+
#ifdef ENABLE_LEGACY_MQTT
5959
if ((status = azure_iot_mqtt_entry(&nx_ip, &nx_pool[0], &nx_dns_client, sntp_time_get)))
6060
#else
6161
if ((status = azure_iot_nx_client_entry(&nx_ip, &nx_pool[0], &nx_dns_client, sntp_time)))

Microchip/ATSAME54-XPRO/app/azure_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212

1313
// ----------------------------------------------------------------------------
1414
// Azure IoT Hub Connection Transport
15-
// Define this to use MQTT, else Azure RTOS SDK for Azure IoT
15+
// Define to use the legacy MQTT connection, else Azure RTOS SDK for Azure IoT
1616
// ----------------------------------------------------------------------------
17-
//#define ENABLE_MQTT
17+
//#define ENABLE_LEGACY_MQTT
1818

1919
// ----------------------------------------------------------------------------
2020
// Azure IoT Dynamic Provisioning Service

Microchip/ATSAME54-XPRO/app/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void azure_thread_entry(ULONG parameter)
5454
return;
5555
}
5656

57-
#ifdef ENABLE_MQTT
57+
#ifdef ENABLE_LEGACY_MQTT
5858
if ((status = azure_iot_mqtt_entry(&nx_ip, &nx_pool, &nx_dns_client, sntp_time_get)))
5959
#else
6060
if ((status = azure_iot_nx_client_entry(&nx_ip, &nx_pool, &nx_dns_client, sntp_time)))

NXP/MIMXRT1050-EVKB/app/azure_config.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66

77
// ----------------------------------------------------------------------------
88
// Azure IoT Hub Connection Transport
9-
// Define this to use MQTT, else Azure RTOS SDK for Azure IoT
9+
// Define to use the legacy MQTT connection, else Azure RTOS SDK for Azure IoT
1010
// ----------------------------------------------------------------------------
11-
//#define ENABLE_MQTT
11+
//#define ENABLE_LEGACY_MQTT
1212

1313
// ----------------------------------------------------------------------------
14-
// Azure IoT Dynamic Provisioning Service
15-
// Define this to use the DPS service, otherwise direct IoT Hub
14+
// Azure IoT Hub Connection Transport
15+
// Define to use the legacy MQTT connection, else Azure RTOS SDK for Azure IoT
1616
// ----------------------------------------------------------------------------
17-
//#define ENABLE_DPS
17+
//#define ENABLE_LEGACY_MQTT
1818

1919
// ----------------------------------------------------------------------------
2020
// Azure IoT Hub config

NXP/MIMXRT1050-EVKB/app/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void azure_thread_entry(ULONG parameter)
5454
return;
5555
}
5656

57-
#ifdef ENABLE_MQTT
57+
#ifdef ENABLE_LEGACY_MQTT
5858
if ((status = azure_iot_mqtt_entry(&nx_ip, &nx_pool, &nx_dns_client, sntp_time_get)))
5959
#else
6060
if ((status = azure_iot_nx_client_entry(&nx_ip, &nx_pool, &nx_dns_client, sntp_time)))

NXP/MIMXRT1060-EVK/app/azure_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
// ----------------------------------------------------------------------------
88
// Azure IoT Hub Connection Transport
9-
// Define this to use MQTT, else Azure RTOS SDK for Azure IoT
9+
// Define to use the legacy MQTT connection, else Azure RTOS SDK for Azure IoT
1010
// ----------------------------------------------------------------------------
11-
//#define ENABLE_MQTT
11+
//#define ENABLE_LEGACY_MQTT
1212

1313
// ----------------------------------------------------------------------------
1414
// Azure IoT Dynamic Provisioning Service

NXP/MIMXRT1060-EVK/app/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void azure_thread_entry(ULONG parameter)
5454
return;
5555
}
5656

57-
#ifdef ENABLE_MQTT
57+
#ifdef ENABLE_LEGACY_MQTT
5858
if ((status = azure_iot_mqtt_entry(&nx_ip, &nx_pool, &nx_dns_client, sntp_time_get)))
5959
#else
6060
if ((status = azure_iot_nx_client_entry(&nx_ip, &nx_pool, &nx_dns_client, sntp_time)))

STMicroelectronics/STM32L4_L4+/app/azure_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ typedef enum
2121

2222
// ----------------------------------------------------------------------------
2323
// Azure IoT Hub Connection Transport
24-
// Define this to use MQTT, else Azure RTOS SDK for Azure IoT
24+
// Define to use the legacy MQTT connection, else Azure RTOS SDK for Azure IoT
2525
// ----------------------------------------------------------------------------
26-
//#define ENABLE_MQTT
26+
//#define ENABLE_LEGACY_MQTT
2727

2828
// ----------------------------------------------------------------------------
2929
// Azure IoT Dynamic Provisioning Service

STMicroelectronics/STM32L4_L4+/app/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void azure_thread_entry(ULONG parameter)
5353
return;
5454
}
5555

56-
#ifdef ENABLE_MQTT
56+
#ifdef ENABLE_LEGACY_MQTT
5757
if ((status = azure_iot_mqtt_entry(&nx_ip, &nx_pool, &nx_dns_client, sntp_time_get)))
5858
#else
5959
if ((status = azure_iot_nx_client_entry(&nx_ip, &nx_pool, &nx_dns_client, sntp_time)))

0 commit comments

Comments
 (0)