55#define _AZURE_CONFIG_H
66
77// ----------------------------------------------------------------------------
8- // Azure IoT Hub Connection Transport
9- // Define to use the legacy MQTT connection, else Azure RTOS SDK for Azure IoT
8+ // Azure IoT Dynamic Provisioning Service
9+ // Define this to use the DPS service, otherwise direct IoT Hub
1010// ----------------------------------------------------------------------------
11- // #define ENABLE_LEGACY_MQTT
11+ #define ENABLE_DPS
1212
1313// ----------------------------------------------------------------------------
14- // Azure IoT Dynamic Provisioning Service
15- // Define this to use the DPS service, otherwise direct IoT Hub
14+ // Azure IoT DPS connection config
15+ // IOT_DPS_ID_SCOPE: The DPS ID Scope
16+ // IOT_DPS_REGISTRATION_ID: The DPS device Registration Id
17+ // ----------------------------------------------------------------------------
18+ #define IOT_DPS_ID_SCOPE ""
19+ #define IOT_DPS_REGISTRATION_ID ""
20+
21+ // ----------------------------------------------------------------------------
22+ // Azure IoT Hub Connection Transport
23+ // Define to use the legacy MQTT connection, else Azure RTOS SDK for Azure IoT
1624// ----------------------------------------------------------------------------
17- //#define ENABLE_DPS
25+ //#define ENABLE_LEGACY_MQTT
1826
1927// ----------------------------------------------------------------------------
2028// Azure IoT DPS Self-Signed X509Certificate
2735// IOT_HUB_HOSTNAME: The Azure IoT Hub hostname
2836// IOT_HUB_DEVICE_ID: The Azure IoT Hub device id
2937// ----------------------------------------------------------------------------
30- #define IOT_HUB_HOSTNAME ""
31- #define IOT_HUB_DEVICE_ID ""
32-
33- // ----------------------------------------------------------------------------
34- // Azure IoT DPS connection config
35- // IOT_DPS_ID_SCOPE: The DPS ID Scope
36- // IOT_DPS_REGISTRATION_ID: The DPS device Registration Id
37- // ----------------------------------------------------------------------------
38- #define IOT_DPS_ID_SCOPE ""
39- #define IOT_DPS_REGISTRATION_ID ""
38+ //#define IOT_HUB_HOSTNAME ""
39+ //#define IOT_HUB_DEVICE_ID ""
4040
4141// ----------------------------------------------------------------------------
4242// Azure IoT device SAS key
4545// ----------------------------------------------------------------------------
4646#define IOT_DEVICE_SAS_KEY ""
4747
48- #endif // _AZURE_CONFIG_H
48+ #endif // _AZURE_CONFIG_H
0 commit comments