Skip to content

Commit 4667aec

Browse files
authored
Repivot to IoT Central (#178)
1 parent 3730e1d commit 4667aec

10 files changed

+89
-188
lines changed

STMicroelectronics/STM32L4_L4+/app/azure_config.h

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -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
74.5 KB
Loading
59.5 KB
Loading
8.31 KB
Loading
17.5 KB
Loading
45.5 KB
Loading
68.2 KB
Loading
24.2 KB
Loading
33.5 KB
Loading

STMicroelectronics/STM32L4_L4+/readme.md

Lines changed: 72 additions & 171 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)