1
1
/* Copyright (c) Microsoft Corporation.
2
2
Licensed under the MIT License. */
3
-
3
+
4
4
#ifndef _AZURE_CONFIG_H
5
5
#define _AZURE_CONFIG_H
6
6
@@ -15,23 +15,34 @@ typedef enum
15
15
// ----------------------------------------------------------------------------
16
16
// WiFi connection information
17
17
// ----------------------------------------------------------------------------
18
- #define WIFI_SSID ""
19
- #define WIFI_PASSWORD ""
20
-
21
- // WIFI Security as defined in lib/wiced_sdk/43xxx_Wi-Fi/wwd_constants.h
22
- #define WIFI_SECURITY WPA2_PSK_AES
18
+ #define WIFI_SSID ""
19
+ #define WIFI_PASSWORD ""
20
+ #define WIFI_MODE WPA2_PSK_AES
23
21
24
22
// ----------------------------------------------------------------------------
25
23
// Azure IoT Hub Connection Transport
26
24
// Define this to use the nx client, otherwise MQTT
27
25
// ----------------------------------------------------------------------------
28
- // #define USE_NX_CLIENT_PREVIEW
26
+ //#define USE_NX_CLIENT_PREVIEW
27
+
28
+ // ----------------------------------------------------------------------------
29
+ // Azure IoT Dynamic Provisioning Service
30
+ // Define this to use the DPS service, otherwise direct IoT Hub
31
+ // ----------------------------------------------------------------------------
32
+ //#define ENABLE_DPS
33
+
34
+ // ----------------------------------------------------------------------------
35
+ // Azure IoT Hub config
36
+ // ----------------------------------------------------------------------------
37
+ #define IOT_HUB_HOSTNAME ""
38
+ #define IOT_DEVICE_ID ""
39
+ #define IOT_PRIMARY_KEY ""
29
40
30
41
// ----------------------------------------------------------------------------
31
- // Azure IoT Device information
42
+ // Azure IoT DPS config
32
43
// ----------------------------------------------------------------------------
33
- #define IOT_HUB_HOSTNAME " "
34
- #define IOT_DEVICE_ID ""
35
- #define IOT_PRIMARY_KEY ""
44
+ #define IOT_DPS_ENDPOINT "global.azure-devices-provisioning.net "
45
+ #define IOT_DPS_ID_SCOPE ""
46
+ #define IOT_DPS_REGISTRATION_ID ""
36
47
37
48
#endif // _AZURE_CONFIG_H
0 commit comments