Skip to content

Commit

Permalink
[OTA] Move OTARequestorInterface to clusters directory (#15926)
Browse files Browse the repository at this point in the history
  • Loading branch information
carol-apple authored and pull[bot] committed Jun 28, 2023
1 parent feacc27 commit 1182024
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 11 deletions.
1 change: 0 additions & 1 deletion examples/ota-requestor-app/esp32/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@

#include "OTAImageProcessorImpl.h"
#include "platform/GenericOTARequestorDriver.h"
#include "platform/OTARequestorInterface.h"

using namespace ::chip;
using namespace ::chip::System;
Expand Down
2 changes: 1 addition & 1 deletion src/app/clusters/ota-requestor/OTARequestor.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
#include <app/clusters/ota-requestor/ota-requestor-server.h>
#include <app/server/Server.h>
#include <platform/OTARequestorDriver.h>
#include <platform/OTARequestorInterface.h>
#include <protocols/bdx/BdxMessages.h>

#include "BDXDownloader.h"
#include "OTARequestorInterface.h"

namespace chip {

Expand Down
2 changes: 1 addition & 1 deletion src/app/clusters/ota-requestor/ota-requestor-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

#include <app/AttributeAccessInterface.h>
#include <app/EventLogging.h>
#include <app/clusters/ota-requestor/OTARequestorInterface.h>
#include <app/clusters/ota-requestor/ota-requestor-server.h>
#include <app/util/attribute-storage.h>
#include <platform/OTARequestorInterface.h>

using namespace chip;
using namespace chip::app;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/shell/commands/Ota.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
* limitations under the License.
*/

#include <app/clusters/ota-requestor/OTARequestorInterface.h>
#include <lib/shell/Commands.h>
#include <lib/shell/Engine.h>
#include <lib/shell/commands/Help.h>
#include <lib/support/logging/CHIPLogging.h>
#include <platform/CHIPDeviceLayer.h>
#include <platform/OTAImageProcessor.h>
#include <platform/OTARequestorInterface.h>

using namespace chip::DeviceLayer;

Expand Down
2 changes: 1 addition & 1 deletion src/platform/Ameba/AmebaOTAImageProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*/

#include <app/clusters/ota-requestor/OTADownloader.h>
#include <app/clusters/ota-requestor/OTARequestorInterface.h>
#include <lib/support/logging/CHIPLogging.h>
#include <platform/OTARequestorInterface.h>

#include <platform/Ameba/AmebaOTAImageProcessor.h>

Expand Down
3 changes: 2 additions & 1 deletion src/platform/ExtendedOTARequestorDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include <app/clusters/ota-requestor/OTARequestorInterface.h>
#include <platform/ExtendedOTARequestorDriver.h>
#include <platform/OTARequestorInterface.h>

namespace chip {
namespace DeviceLayer {
Expand Down
2 changes: 1 addition & 1 deletion src/platform/GenericOTARequestorDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@

#include "GenericOTARequestorDriver.h"

#include <app/clusters/ota-requestor/OTARequestorInterface.h>
#include <platform/CHIPDeviceLayer.h>
#include <platform/OTAImageProcessor.h>
#include <platform/OTARequestorInterface.h>

namespace chip {
namespace DeviceLayer {
Expand Down
2 changes: 1 addition & 1 deletion src/platform/Linux/OTAImageProcessorImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

#include <app/clusters/ota-requestor/OTADownloader.h>
#include <platform/OTARequestorInterface.h>
#include <app/clusters/ota-requestor/OTARequestorInterface.h>

#include "OTAImageProcessorImpl.h"

Expand Down
1 change: 0 additions & 1 deletion src/platform/P6/OTAImageProcessorImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/

#include <app/clusters/ota-requestor/OTADownloader.h>
#include <platform/OTARequestorInterface.h>

#include "OTAImageProcessorImpl.h"

Expand Down
1 change: 0 additions & 1 deletion src/platform/cc13x2_26x2/OTAImageProcessorImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/

#include <app/clusters/ota-requestor/OTADownloader.h>
#include <platform/OTARequestorInterface.h>

#include "OTAImageProcessorImpl.h"

Expand Down
2 changes: 1 addition & 1 deletion src/platform/mbed/OTARequestorDriverImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include <GenericOTARequestorDriver.h>
#include <OTARequestorDriver.h>
#include <OTARequestorInterface.h>
#include <app/clusters/ota-requestor/OTARequestorInterface.h>
#include <lib/core/CHIPCallback.h>
#include <lib/core/CHIPError.h>
#include <lib/support/logging/CHIPLogging.h>
Expand Down

0 comments on commit 1182024

Please sign in to comment.