Skip to content

Commit 2dfc4c3

Browse files
author
Luigi Gubello
committed
Fix example
1 parent 722e25d commit 2dfc4c3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

examples/utility/ArduinoIoTCloud_Travis_CI/thingProperties.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ String str_property_6;
5454
String str_property_7;
5555
String str_property_8;
5656

57+
const int MIN_NTP_PORT = 49152;
58+
const int MAX_NTP_PORT = 65535;
5759

5860
#if defined(BOARD_HAS_WIFI)
5961
WiFiConnectionHandler ArduinoIoTPreferredConnection(SECRET_SSID, SECRET_PASS);

examples/utility/Provisioning/Provisioning.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ const int compressedCertSlot = 10;
99
const int serialNumberAndAuthorityKeyIdentifierSlot = 11;
1010
const int deviceIdSlot = 12;
1111

12+
const int MIN_NTP_PORT = 49152;
13+
const int MAX_NTP_PORT = 65535;
14+
1215
ECCX08CertClass ECCX08Cert;
1316

1417
void setup() {

0 commit comments

Comments
 (0)