File tree 14 files changed +23
-23
lines changed
ArduinoIoTCloud-BlockForOTA
ArduinoIoTCloud-Callbacks
ArduinoIoTCloud-DeferredOTA
utility/ArduinoIoTCloud_Travis_CI
14 files changed +23
-23
lines changed Original file line number Diff line number Diff line change 9
9
#endif
10
10
11
11
/* ESP8266 ESP32 */
12
- #if defined(BOARD_HAS_SECRET_KEY )
12
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
13
13
#define SECRET_DEVICE_KEY "my-device-password"
14
14
#endif
15
15
Original file line number Diff line number Diff line change 6
6
#error "Please check Arduino IoT Cloud supported boards list: https://github.com/arduino-libraries/ArduinoIoTCloud/#what"
7
7
#endif
8
8
9
- #if defined(BOARD_HAS_SECRET_KEY )
9
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
10
10
#define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
11
11
#endif
12
12
@@ -22,7 +22,7 @@ CloudLocation location;
22
22
CloudColor color ;
23
23
24
24
void initProperties () {
25
- #if defined(BOARD_HAS_SECRET_KEY )
25
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
26
26
ArduinoCloud .setBoardId (BOARD_ID );
27
27
ArduinoCloud .setSecretDeviceKey (SECRET_DEVICE_KEY );
28
28
#endif
Original file line number Diff line number Diff line change 4
4
* https://github.com/arduino-libraries/ArduinoIoTCloud/#what
5
5
*/
6
6
#if defined(BOARD_HAS_WIFI )
7
- #define SECRET_WIFI_SSID "YOUR_WIFI_NETWORK_NAME "
8
- #define SECRET_WIFI_PASS "YOUR_WIFI_PASSWORD "
7
+ #define SECRET_WIFI_SSID "-_- "
8
+ #define SECRET_WIFI_PASS "smea86861518 "
9
9
#endif
10
10
11
11
/* ESP8266 ESP32 */
12
- #if defined(BOARD_HAS_SECRET_KEY )
12
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
13
13
#define SECRET_DEVICE_KEY "my-device-password"
14
14
#endif
15
15
Original file line number Diff line number Diff line change 6
6
#error "Please check Arduino IoT Cloud supported boards list: https://github.com/arduino-libraries/ArduinoIoTCloud/#what"
7
7
#endif
8
8
9
- #if defined(BOARD_HAS_SECRET_KEY )
9
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
10
10
#define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
11
11
#endif
12
12
@@ -21,7 +21,7 @@ int potentiometer;
21
21
int seconds ;
22
22
23
23
void initProperties () {
24
- #if defined(BOARD_HAS_SECRET_KEY )
24
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
25
25
ArduinoCloud .setBoardId (BOARD_ID );
26
26
ArduinoCloud .setSecretDeviceKey (SECRET_DEVICE_KEY );
27
27
#endif
Original file line number Diff line number Diff line change 9
9
#endif
10
10
11
11
/* ESP8266 ESP32 */
12
- #if defined(BOARD_HAS_SECRET_KEY )
12
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
13
13
#define SECRET_DEVICE_KEY "my-device-password"
14
14
#endif
15
15
Original file line number Diff line number Diff line change 6
6
#error "Please check Arduino IoT Cloud supported boards list: https://github.com/arduino-libraries/ArduinoIoTCloud/#what"
7
7
#endif
8
8
9
- #if defined(BOARD_HAS_SECRET_KEY )
9
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
10
10
#define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
11
11
#endif
12
12
@@ -21,7 +21,7 @@ int potentiometer;
21
21
int seconds ;
22
22
23
23
void initProperties () {
24
- #if defined(BOARD_HAS_SECRET_KEY )
24
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
25
25
ArduinoCloud .setBoardId (BOARD_ID );
26
26
ArduinoCloud .setSecretDeviceKey (SECRET_DEVICE_KEY );
27
27
#endif
Original file line number Diff line number Diff line change 9
9
#endif
10
10
11
11
/* ESP8266 ESP32 */
12
- #if defined(BOARD_HAS_SECRET_KEY )
12
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
13
13
#define SECRET_DEVICE_KEY "my-device-password"
14
14
#endif
15
15
Original file line number Diff line number Diff line change 6
6
#error "Please check Arduino IoT Cloud supported boards list: https://github.com/arduino-libraries/ArduinoIoTCloud/#what"
7
7
#endif
8
8
9
- #if defined(BOARD_HAS_SECRET_KEY )
9
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
10
10
#define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
11
11
#endif
12
12
15
15
#endif
16
16
17
17
void initProperties () {
18
- #if defined(BOARD_HAS_SECRET_KEY )
18
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
19
19
ArduinoCloud .setBoardId (BOARD_ID );
20
20
ArduinoCloud .setSecretDeviceKey (SECRET_DEVICE_KEY );
21
21
#endif
Original file line number Diff line number Diff line change 9
9
#endif
10
10
11
11
/* ESP8266 ESP32 */
12
- #if defined(BOARD_HAS_SECRET_KEY )
12
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
13
13
#define SECRET_DEVICE_KEY "my-device-password"
14
14
#endif
15
15
Original file line number Diff line number Diff line change 6
6
#error "Please check Arduino IoT Cloud supported boards list: https://github.com/arduino-libraries/ArduinoIoTCloud/#what"
7
7
#endif
8
8
9
- #if defined(BOARD_HAS_SECRET_KEY )
9
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
10
10
#define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
11
11
#endif
12
12
@@ -15,7 +15,7 @@ void onLedChange();
15
15
bool led ;
16
16
17
17
void initProperties () {
18
- #if defined(BOARD_HAS_SECRET_KEY )
18
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
19
19
ArduinoCloud .setBoardId (BOARD_ID );
20
20
ArduinoCloud .setSecretDeviceKey (SECRET_DEVICE_KEY );
21
21
#endif
Original file line number Diff line number Diff line change 9
9
#endif
10
10
11
11
/* ESP8266 ESP32 */
12
- #if defined(BOARD_HAS_SECRET_KEY )
12
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
13
13
#define SECRET_DEVICE_KEY "my-device-password"
14
14
#endif
15
15
Original file line number Diff line number Diff line change 6
6
#error "Please check Arduino IoT Cloud supported boards list: https://github.com/arduino-libraries/ArduinoIoTCloud/#what"
7
7
#endif
8
8
9
- #if defined(BOARD_HAS_SECRET_KEY )
9
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
10
10
#define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
11
11
#endif
12
12
@@ -26,7 +26,7 @@ CloudSchedule monthly;
26
26
CloudSchedule yearly ;
27
27
28
28
void initProperties () {
29
- #if defined(BOARD_HAS_SECRET_KEY )
29
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
30
30
ArduinoCloud .setBoardId (BOARD_ID );
31
31
ArduinoCloud .setSecretDeviceKey (SECRET_DEVICE_KEY );
32
32
#endif
Original file line number Diff line number Diff line change 9
9
#endif
10
10
11
11
/* ESP8266 ESP32*/
12
- #if defined(BOARD_HAS_SECRET_KEY )
12
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
13
13
#define SECRET_DEVICE_KEY "my-device-password"
14
14
#endif
15
15
Original file line number Diff line number Diff line change 10
10
DEFINES
11
11
******************************************************************************/
12
12
13
- #if defined(BOARD_HAS_SECRET_KEY )
13
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
14
14
#define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
15
15
#endif
16
16
@@ -86,7 +86,7 @@ void onStringPropertyChange();
86
86
******************************************************************************/
87
87
#if defined(HAS_TCP )
88
88
void initProperties () {
89
- #if defined(BOARD_HAS_SECRET_KEY )
89
+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
90
90
ArduinoCloud .setBoardId (BOARD_ID );
91
91
ArduinoCloud .setSecretDeviceKey (SECRET_DEVICE_KEY );
92
92
#endif
You can’t perform that action at this time.
0 commit comments