File tree Expand file tree Collapse file tree 14 files changed +23
-23
lines changed
ArduinoIoTCloud-BlockForOTA
ArduinoIoTCloud-Callbacks
ArduinoIoTCloud-DeferredOTA
utility/ArduinoIoTCloud_Travis_CI Expand file tree Collapse file tree 14 files changed +23
-23
lines changed Original file line number Diff line number Diff line change 99#endif
1010
1111/* ESP8266 ESP32 */
12- #if defined(BOARD_HAS_SECRET_KEY )
12+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
1313 #define SECRET_DEVICE_KEY "my-device-password"
1414#endif
1515
Original file line number Diff line number Diff line change 66 #error "Please check Arduino IoT Cloud supported boards list: https://github.com/arduino-libraries/ArduinoIoTCloud/#what"
77#endif
88
9- #if defined(BOARD_HAS_SECRET_KEY )
9+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
1010 #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
1111#endif
1212
@@ -22,7 +22,7 @@ CloudLocation location;
2222CloudColor color ;
2323
2424void initProperties () {
25- #if defined(BOARD_HAS_SECRET_KEY )
25+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
2626 ArduinoCloud .setBoardId (BOARD_ID );
2727 ArduinoCloud .setSecretDeviceKey (SECRET_DEVICE_KEY );
2828#endif
Original file line number Diff line number Diff line change 44 * https://github.com/arduino-libraries/ArduinoIoTCloud/#what
55 */
66#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 "
99#endif
1010
1111/* ESP8266 ESP32 */
12- #if defined(BOARD_HAS_SECRET_KEY )
12+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
1313 #define SECRET_DEVICE_KEY "my-device-password"
1414#endif
1515
Original file line number Diff line number Diff line change 66 #error "Please check Arduino IoT Cloud supported boards list: https://github.com/arduino-libraries/ArduinoIoTCloud/#what"
77#endif
88
9- #if defined(BOARD_HAS_SECRET_KEY )
9+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
1010 #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
1111#endif
1212
@@ -21,7 +21,7 @@ int potentiometer;
2121int seconds ;
2222
2323void initProperties () {
24- #if defined(BOARD_HAS_SECRET_KEY )
24+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
2525 ArduinoCloud .setBoardId (BOARD_ID );
2626 ArduinoCloud .setSecretDeviceKey (SECRET_DEVICE_KEY );
2727#endif
Original file line number Diff line number Diff line change 99#endif
1010
1111/* ESP8266 ESP32 */
12- #if defined(BOARD_HAS_SECRET_KEY )
12+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
1313 #define SECRET_DEVICE_KEY "my-device-password"
1414#endif
1515
Original file line number Diff line number Diff line change 66 #error "Please check Arduino IoT Cloud supported boards list: https://github.com/arduino-libraries/ArduinoIoTCloud/#what"
77#endif
88
9- #if defined(BOARD_HAS_SECRET_KEY )
9+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
1010 #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
1111#endif
1212
@@ -21,7 +21,7 @@ int potentiometer;
2121int seconds ;
2222
2323void initProperties () {
24- #if defined(BOARD_HAS_SECRET_KEY )
24+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
2525 ArduinoCloud .setBoardId (BOARD_ID );
2626 ArduinoCloud .setSecretDeviceKey (SECRET_DEVICE_KEY );
2727#endif
Original file line number Diff line number Diff line change 99#endif
1010
1111/* ESP8266 ESP32 */
12- #if defined(BOARD_HAS_SECRET_KEY )
12+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
1313 #define SECRET_DEVICE_KEY "my-device-password"
1414#endif
1515
Original file line number Diff line number Diff line change 66 #error "Please check Arduino IoT Cloud supported boards list: https://github.com/arduino-libraries/ArduinoIoTCloud/#what"
77#endif
88
9- #if defined(BOARD_HAS_SECRET_KEY )
9+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
1010 #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
1111#endif
1212
1515#endif
1616
1717void initProperties () {
18- #if defined(BOARD_HAS_SECRET_KEY )
18+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
1919 ArduinoCloud .setBoardId (BOARD_ID );
2020 ArduinoCloud .setSecretDeviceKey (SECRET_DEVICE_KEY );
2121#endif
Original file line number Diff line number Diff line change 99#endif
1010
1111/* ESP8266 ESP32 */
12- #if defined(BOARD_HAS_SECRET_KEY )
12+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
1313 #define SECRET_DEVICE_KEY "my-device-password"
1414#endif
1515
Original file line number Diff line number Diff line change 66 #error "Please check Arduino IoT Cloud supported boards list: https://github.com/arduino-libraries/ArduinoIoTCloud/#what"
77#endif
88
9- #if defined(BOARD_HAS_SECRET_KEY )
9+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
1010 #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
1111#endif
1212
@@ -15,7 +15,7 @@ void onLedChange();
1515bool led ;
1616
1717void initProperties () {
18- #if defined(BOARD_HAS_SECRET_KEY )
18+ #if ! defined(BOARD_HAS_SECURE_ELEMENT )
1919 ArduinoCloud .setBoardId (BOARD_ID );
2020 ArduinoCloud .setSecretDeviceKey (SECRET_DEVICE_KEY );
2121#endif
You can’t perform that action at this time.
0 commit comments