Skip to content

Commit

Permalink
[OTA] Align StatusEnum data type with spec (#12928)
Browse files Browse the repository at this point in the history
  • Loading branch information
carol-apple authored and pull[bot] committed Jan 5, 2024
1 parent f9168bb commit 3936995
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/app/clusters/ota-requestor/OTARequestor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ void OTARequestor::OnQueryImageResponse(void * context, const QueryImageResponse
break;
case OTAQueryStatus::kNotAvailable:
break;
// TODO: Add download protocol not supported
case OTAQueryStatus::kDownloadProtocolNotSupported:
break;
// Issue #9524 should handle all response status appropriately
default:
break;
Expand Down
1 change: 1 addition & 0 deletions src/app/zap-templates/zcl/data-model/chip/chip-ota.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ limitations under the License.
<item name="UpdateAvailable" value="0x0"/>
<item name="Busy" value="0x1"/>
<item name="NotAvailable" value="0x2"/>
<item name="DownloadProtocolNotSupported" value="0x3"/>
</enum>
<enum name="OTAApplyUpdateAction" type="ENUM8">
<cluster code="0x0029"/>
Expand Down
1 change: 1 addition & 0 deletions src/controller/python/chip/clusters/Objects.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3936995

Please sign in to comment.