Skip to content

feat: add image slot-info - #112

Draft
mniestroj wants to merge 2 commits into
intercreate:mainfrom
mniestroj:feat/image-slot-info
Draft

mniestroj wants to merge 2 commits into
intercreate:mainfrom
mniestroj:feat/image-slot-info

Conversation

@mniestroj

Copy link
Copy Markdown
Contributor

smpmgr image slot-info asks the server which images and slots the application can see, with their sizes (Zephyr's
CONFIG_MCUMGR_GRP_IMG_SLOT_INFO, image management command 6).

@JPHutchins JPHutchins left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, probably needs the linters run.

I don't think we need these tests since it's all covered in smp/smpclient.

`smpmgr image slot-info` asks the server which images and slots the
application can see, with their sizes (Zephyr's
CONFIG_MCUMGR_GRP_IMG_SLOT_INFO, image management command 6).

Assisted-by: Claude:claude-opus-5-5
`image slot-info` needs ImageSlotInfoRead from
intercreate/smpclient#145, which in turn needs the slot info models from
JPHutchins/smp#75. Neither is released yet, so take both from those pull
requests' commits, so that CI can run.

This is temporary: once both are released, drop it and move the
smpclient pin to the release. smp is named here only because Poetry
would otherwise take it from PyPI, where no release has slot info yet.
cbor2 moves to 6, which smp has required since 4.2.0.

Assisted-by: Claude:claude-opus-5-5

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants