|
5 | 5 | #define _AZURE_CONFIG_H |
6 | 6 |
|
7 | 7 | // ---------------------------------------------------------------------------- |
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 |
10 | 10 | // ---------------------------------------------------------------------------- |
11 | | -//#define ENABLE_LEGACY_MQTT |
| 11 | +#define ENABLE_DPS |
12 | 12 |
|
13 | 13 | // ---------------------------------------------------------------------------- |
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 |
16 | 24 | // ---------------------------------------------------------------------------- |
17 | | -//#define ENABLE_DPS |
| 25 | +//#define ENABLE_LEGACY_MQTT |
18 | 26 |
|
19 | 27 | // ---------------------------------------------------------------------------- |
20 | 28 | // Azure IoT DPS Self-Signed X509Certificate |
|
27 | 35 | // IOT_HUB_HOSTNAME: The Azure IoT Hub hostname |
28 | 36 | // IOT_HUB_DEVICE_ID: The Azure IoT Hub device id |
29 | 37 | // ---------------------------------------------------------------------------- |
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 "" |
40 | 40 |
|
41 | 41 | // ---------------------------------------------------------------------------- |
42 | 42 | // Azure IoT device SAS key |
|
0 commit comments