Skip to content

Commit

Permalink
Merge pull request #437 from pennam/travis-check
Browse files Browse the repository at this point in the history
Add setThingId call in Travic_CI sketch to ensure checking function existance
  • Loading branch information
pennam authored Apr 2, 2024
2 parents 46ebf04 + 48df22a commit bf6e861
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/utility/ArduinoIoTCloud_Travis_CI/thingProperties.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
#define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
#endif

#if defined(BOARD_HAS_LORA)
#define THING_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
#endif

/******************************************************************************
GLOBAL CONSTANTS
******************************************************************************/
Expand Down Expand Up @@ -114,6 +118,7 @@ void initProperties() {

#elif defined(BOARD_HAS_LORA)
void initProperties() {
ArduinoCloud.setThingId(THING_ID);

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

0 comments on commit bf6e861

Please sign in to comment.