Skip to content

Commit bf6e861

Browse files
authored
Merge pull request #437 from pennam/travis-check
Add setThingId call in Travic_CI sketch to ensure checking function existance
2 parents 46ebf04 + 48df22a commit bf6e861

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/utility/ArduinoIoTCloud_Travis_CI/thingProperties.h

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
#define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
1616
#endif
1717

18+
#if defined(BOARD_HAS_LORA)
19+
#define THING_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
20+
#endif
21+
1822
/******************************************************************************
1923
GLOBAL CONSTANTS
2024
******************************************************************************/
@@ -114,6 +118,7 @@ void initProperties() {
114118

115119
#elif defined(BOARD_HAS_LORA)
116120
void initProperties() {
121+
ArduinoCloud.setThingId(THING_ID);
117122

118123
ArduinoCloud.addProperty(bool_property_1, 1, READWRITE, 1 * SECONDS);
119124
ArduinoCloud.addProperty(int_property_1, 2, READ, 2 * MINUTES);

0 commit comments

Comments
 (0)