@@ -20,38 +20,38 @@ typedef enum
20
20
#define WIFI_MODE WPA2_PSK_AES
21
21
22
22
// ----------------------------------------------------------------------------
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
25
25
// ----------------------------------------------------------------------------
26
- // #define ENABLE_LEGACY_MQTT
26
+ #define ENABLE_DPS
27
27
28
28
// ----------------------------------------------------------------------------
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
31
39
// ----------------------------------------------------------------------------
32
- //#define ENABLE_DPS
40
+ //#define ENABLE_LEGACY_MQTT
33
41
34
42
// ----------------------------------------------------------------------------
35
43
// Azure IoT DPS Self-Signed X509Certificate
36
44
// Define this to connect to DPS or Iot Hub using a X509 certificate
37
45
// ----------------------------------------------------------------------------
38
- // #define ENABLE_X509
46
+ //#define ENABLE_X509
39
47
40
48
// ----------------------------------------------------------------------------
41
49
// Azure IoT Hub connection config
42
50
// IOT_HUB_HOSTNAME: The Azure IoT Hub hostname
43
51
// IOT_HUB_DEVICE_ID: The Azure IoT Hub device id
44
52
// ----------------------------------------------------------------------------
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 ""
55
55
56
56
// ----------------------------------------------------------------------------
57
57
// Azure IoT device SAS key
0 commit comments