|
11 | 11 | #define __SENSOR_BME280__ 1
|
12 | 12 |
|
13 | 13 | // ----------------------------------------------------------------------------
|
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 |
16 | 16 | // ----------------------------------------------------------------------------
|
17 |
| -//#define ENABLE_LEGACY_MQTT |
| 17 | +#define ENABLE_DPS |
18 | 18 |
|
19 | 19 | // ----------------------------------------------------------------------------
|
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 |
22 | 30 | // ----------------------------------------------------------------------------
|
23 |
| -//#define ENABLE_DPS |
| 31 | +//#define ENABLE_LEGACY_MQTT |
24 | 32 |
|
25 | 33 | // ----------------------------------------------------------------------------
|
26 | 34 | // Azure IoT DPS Self-Signed X509Certificate
|
|
33 | 41 | // IOT_HUB_HOSTNAME: The Azure IoT Hub hostname
|
34 | 42 | // IOT_HUB_DEVICE_ID: The Azure IoT Hub device id
|
35 | 43 | // ----------------------------------------------------------------------------
|
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 "" |
46 | 46 |
|
47 | 47 | // ----------------------------------------------------------------------------
|
48 | 48 | // Azure IoT device SAS key
|
|
0 commit comments