Skip to content

Commit 19d0a2e

Browse files
authored
repivot to IoT Central - Microchip (#184)
1 parent 4667aec commit 19d0a2e

14 files changed

+83
-182
lines changed

Microchip/ATSAME54-XPRO/app/azure_config.h

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,24 @@
1111
#define __SENSOR_BME280__ 1
1212

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

1919
// ----------------------------------------------------------------------------
20-
// Azure IoT Dynamic Provisioning Service
21-
// Define this to use the DPS service, otherwise direct IoT Hub
20+
// Azure IoT DPS connection config
21+
// IOT_DPS_ID_SCOPE: The DPS ID Scope
22+
// IOT_DPS_REGISTRATION_ID: The DPS device Registration Id
23+
// ----------------------------------------------------------------------------
24+
#define IOT_DPS_ID_SCOPE ""
25+
#define IOT_DPS_REGISTRATION_ID ""
26+
27+
// ----------------------------------------------------------------------------
28+
// Azure IoT Hub Connection Transport
29+
// Define to use the legacy MQTT connection, else Azure RTOS SDK for Azure IoT
2230
// ----------------------------------------------------------------------------
23-
//#define ENABLE_DPS
31+
//#define ENABLE_LEGACY_MQTT
2432

2533
// ----------------------------------------------------------------------------
2634
// Azure IoT DPS Self-Signed X509Certificate
@@ -33,16 +41,8 @@
3341
// IOT_HUB_HOSTNAME: The Azure IoT Hub hostname
3442
// IOT_HUB_DEVICE_ID: The Azure IoT Hub device id
3543
// ----------------------------------------------------------------------------
36-
#define IOT_HUB_HOSTNAME ""
37-
#define IOT_HUB_DEVICE_ID ""
38-
39-
// ----------------------------------------------------------------------------
40-
// Azure IoT DPS connection config
41-
// IOT_DPS_ID_SCOPE: The DPS ID Scope
42-
// IOT_DPS_REGISTRATION_ID: The DPS device Registration Id
43-
// ----------------------------------------------------------------------------
44-
#define IOT_DPS_ID_SCOPE ""
45-
#define IOT_DPS_REGISTRATION_ID ""
44+
//#define IOT_HUB_HOSTNAME ""
45+
//#define IOT_HUB_DEVICE_ID ""
4646

4747
// ----------------------------------------------------------------------------
4848
// Azure IoT device SAS key
Loading
Loading
Loading
Loading
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)