Skip to content

Commit 1531015

Browse files
committed
Changed OTA type in Rainmaker examples
1 parent 972c3bb commit 1531015

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

libraries/RainMaker/examples/RMakerCustom/RMakerCustom.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void setup()
8383
my_node.addDevice(my_device);
8484

8585
//This is optional
86-
RMaker.enableOTA(OTA_USING_PARAMS);
86+
RMaker.enableOTA(OTA_USING_TOPICS);
8787
//If you want to enable scheduling, set time zone for your region using setTimeZone().
8888
//The list of available values are provided here https://rainmaker.espressif.com/docs/time-service.html
8989
// RMaker.setTimeZone("Asia/Shanghai");

libraries/RainMaker/examples/RMakerCustomAirCooler/RMakerCustomAirCooler.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ void setup()
143143
my_node.addDevice(my_device);
144144

145145
//This is optional
146-
// RMaker.enableOTA(OTA_USING_PARAMS);
146+
// RMaker.enableOTA(OTA_USING_TOPICS);
147147
//If you want to enable scheduling, set time zone for your region using setTimeZone().
148148
//The list of available values are provided here https://rainmaker.espressif.com/docs/time-service.html
149149
// RMaker.setTimeZone("Asia/Shanghai");

libraries/RainMaker/examples/RMakerSonoffDualR3/RMakerSonoffDualR3.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ void setup()
129129
my_node.addDevice(my_switch2);
130130

131131
//This is optional
132-
RMaker.enableOTA(OTA_USING_PARAMS);
132+
RMaker.enableOTA(OTA_USING_TOPICS);
133133
//If you want to enable scheduling, set time zone for your region using setTimeZone().
134134
//The list of available values are provided here https://rainmaker.espressif.com/docs/time-service.html
135135
// RMaker.setTimeZone("Asia/Shanghai");

libraries/RainMaker/examples/RMakerSwitch/RMakerSwitch.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void setup()
7272
my_node.addDevice(my_switch);
7373

7474
//This is optional
75-
RMaker.enableOTA(OTA_USING_PARAMS);
75+
RMaker.enableOTA(OTA_USING_TOPICS);
7676
//If you want to enable scheduling, set time zone for your region using setTimeZone().
7777
//The list of available values are provided here https://rainmaker.espressif.com/docs/time-service.html
7878
// RMaker.setTimeZone("Asia/Shanghai");

0 commit comments

Comments
 (0)