File tree 6 files changed +18
-7
lines changed
ArduinoIoTCloud-Callbacks
ArduinoIoTCloud-DeferredOTA
utility/ArduinoIoTCloud_Travis_CI
6 files changed +18
-7
lines changed 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
- #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
9
+ #if defined(BOARD_ESP )
10
+ #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
11
+ #endif
10
12
11
13
void onSwitchButtonChange ();
12
14
void onColorChange ();
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
- #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
9
+ #if defined(BOARD_ESP )
10
+ #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
11
+ #endif
10
12
11
13
void onLedChange ();
12
14
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
- /* 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
11
12
12
13
void initProperties () {
13
14
#if defined(BOARD_ESP )
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
- #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
9
+ #if defined(BOARD_ESP )
10
+ #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
11
+ #endif
10
12
11
13
void onLedChange ();
12
14
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
- #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
9
+ #if defined(BOARD_ESP )
10
+ #define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
11
+ #endif
10
12
11
13
void onSwitchButtonChange ();
12
14
Original file line number Diff line number Diff line change 10
10
DEFINES
11
11
******************************************************************************/
12
12
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
14
16
15
17
/******************************************************************************
16
18
GLOBAL CONSTANTS
You can’t perform that action at this time.
0 commit comments