doc: mgmt: mcumgr: Clarify sha256 hash details in img_mgmt

Clarifies that a full SHA256 hash is required for the hash
in img_mgmt.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2022-11-21 09:09:43 +00:00 committed by Fabio Baltieri
commit cc6a52ebd0

View file

@ -153,12 +153,10 @@ where:
+-----------------------+---------------------------------------------------+ +-----------------------+---------------------------------------------------+
| "hash" | hash of an upload; this is used to identify | | "hash" | hash of an upload; this is used to identify |
| | an upload session, for example to allow mcumgr | | | an upload session, for example to allow mcumgr |
| | library to continue broken session | | | library to continue broken session. This must be |
| | | | | a full sha256 of the whole image being uploaded, |
| | .. note:: | | | and is optionally used for image verification |
| | By default mcumgr-cli uses here a few | | | purposes. |
| | characters of sha256 of the first uploaded |
| | chunk. |
+-----------------------+---------------------------------------------------+ +-----------------------+---------------------------------------------------+
| "bootable" | true if image has bootable flag set; | | "bootable" | true if image has bootable flag set; |
| | this field does not have to be present if false | | | this field does not have to be present if false |