File tree Expand file tree Collapse file tree 6 files changed +18
-7
lines changed
ArduinoIoTCloud-Callbacks
ArduinoIoTCloud-DeferredOTA
utility/ArduinoIoTCloud_Travis_CI Expand file tree Collapse file tree 6 files changed +18
-7
lines changed 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- #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
9+ #if defined(BOARD_ESP )
10+ #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
11+ #endif
1012
1113void onSwitchButtonChange ();
1214void onColorChange ();
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- #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
9+ #if defined(BOARD_ESP )
10+ #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
11+ #endif
1012
1113void onLedChange ();
1214
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- /* BOARD_ID is only required if you are using an ESP8266 */
10- #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
9+ #if defined(BOARD_ESP )
10+ #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
11+ #endif
1112
1213void initProperties () {
1314#if defined(BOARD_ESP )
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- #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
9+ #if defined(BOARD_ESP )
10+ #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
11+ #endif
1012
1113void onLedChange ();
1214
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- #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
9+ #if defined(BOARD_ESP )
10+ #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
11+ #endif
1012
1113void onSwitchButtonChange ();
1214
Original file line number Diff line number Diff line change 1010 DEFINES
1111 ******************************************************************************/
1212
13- #define BOARD_ID "ARDUINO_IOT_CLOUD_BOARD_ID"
13+ #if defined(BOARD_ESP )
14+ #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
15+ #endif
1416
1517/******************************************************************************
1618 GLOBAL CONSTANTS
You can’t perform that action at this time.
0 commit comments