-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #156 from arduino-libraries/enable-ota-gsm-all-the…
…-time Automatically configure SSU/OTA logic for MKR GSM 1400
- Loading branch information
Showing
5 changed files
with
87 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,15 +15,17 @@ | |
a commercial license, send an email to [email protected]. | ||
*/ | ||
|
||
#ifndef ARDUINO_OTA_STORAGE_MKRGSM_H_ | ||
#define ARDUINO_OTA_STORAGE_MKRGSM_H_ | ||
#ifndef ARDUINO_OTA_STORAGE_SSU_H_ | ||
#define ARDUINO_OTA_STORAGE_SSU_H_ | ||
|
||
/****************************************************************************** | ||
* INCLUDE | ||
******************************************************************************/ | ||
|
||
#include <ArduinoIoTCloud_Config.h> | ||
#if OTA_STORAGE_MKRGSM | ||
#if OTA_STORAGE_SSU | ||
|
||
#include <SSU.h> | ||
|
||
#include "OTAStorage.h" | ||
|
||
|
@@ -33,11 +35,11 @@ | |
* CLASS DECLARATION | ||
******************************************************************************/ | ||
|
||
class OTAStorage_MKRGSM : public OTAStorage | ||
class OTAStorage_SSU : public OTAStorage | ||
{ | ||
public: | ||
|
||
virtual ~OTAStorage_MKRGSM() { } | ||
virtual ~OTAStorage_SSU() { } | ||
|
||
|
||
virtual bool init () override; | ||
|
@@ -54,6 +56,6 @@ class OTAStorage_MKRGSM : public OTAStorage | |
|
||
}; | ||
|
||
#endif /* OTA_STORAGE_MKRGSM */ | ||
#endif /* OTA_STORAGE_SSU */ | ||
|
||
#endif /* ARDUINO_OTA_STORAGE_MKRGSM_H_ */ | ||
#endif /* ARDUINO_OTA_STORAGE_SSU_H_ */ |