@@ -20,38 +20,38 @@ typedef enum
2020#define WIFI_MODE WPA2_PSK_AES
2121
2222// ----------------------------------------------------------------------------
23- // Azure IoT Hub Connection Transport
24- // Define to use the legacy MQTT connection, else Azure RTOS SDK for Azure IoT
23+ // Azure IoT Dynamic Provisioning Service
24+ // Define this to use the DPS service, otherwise direct IoT Hub
2525// ----------------------------------------------------------------------------
26- // #define ENABLE_LEGACY_MQTT
26+ #define ENABLE_DPS
2727
2828// ----------------------------------------------------------------------------
29- // Azure IoT Dynamic Provisioning Service
30- // Define this to use the DPS service, otherwise direct IoT Hub
29+ // Azure IoT DPS connection config
30+ // IOT_DPS_ID_SCOPE: The DPS ID Scope
31+ // IOT_DPS_REGISTRATION_ID: The DPS device Registration Id
32+ // ----------------------------------------------------------------------------
33+ #define IOT_DPS_ID_SCOPE ""
34+ #define IOT_DPS_REGISTRATION_ID ""
35+
36+ // ----------------------------------------------------------------------------
37+ // Azure IoT Hub Connection Transport
38+ // Define to use the legacy MQTT connection, else Azure RTOS SDK for Azure IoT
3139// ----------------------------------------------------------------------------
32- //#define ENABLE_DPS
40+ //#define ENABLE_LEGACY_MQTT
3341
3442// ----------------------------------------------------------------------------
3543// Azure IoT DPS Self-Signed X509Certificate
3644// Define this to connect to DPS or Iot Hub using a X509 certificate
3745// ----------------------------------------------------------------------------
38- // #define ENABLE_X509
46+ //#define ENABLE_X509
3947
4048// ----------------------------------------------------------------------------
4149// Azure IoT Hub connection config
4250// IOT_HUB_HOSTNAME: The Azure IoT Hub hostname
4351// IOT_HUB_DEVICE_ID: The Azure IoT Hub device id
4452// ----------------------------------------------------------------------------
45- #define IOT_HUB_HOSTNAME ""
46- #define IOT_HUB_DEVICE_ID ""
47-
48- // ----------------------------------------------------------------------------
49- // Azure IoT DPS connection config
50- // IOT_DPS_ID_SCOPE: The DPS ID Scope
51- // IOT_DPS_REGISTRATION_ID: The DPS device Registration Id
52- // ----------------------------------------------------------------------------
53- #define IOT_DPS_ID_SCOPE ""
54- #define IOT_DPS_REGISTRATION_ID ""
53+ //#define IOT_HUB_HOSTNAME ""
54+ //#define IOT_HUB_DEVICE_ID ""
5555
5656// ----------------------------------------------------------------------------
5757// Azure IoT device SAS key
0 commit comments