mynewt-mcumgr-cli icon indicating copy to clipboard operation
mynewt-mcumgr-cli copied to clipboard

Print plain text error message rather than error code

Open Olivier-ProGlove opened this issue 6 years ago • 2 comments

I recently got Error: 1 while I was expected my mcumgr command line to work. See my issue report here: https://github.com/zephyrproject-rtos/zephyr/issues/7924#issuecomment-407478098

Luckily @nvlsianpu pointed me the statement in the documentation saying this error was expected:

Note that if you try to send the very same image that is already flashed in slot-0 then the procedure will not complete successfully since the hash values for both slots will be identical.

I would not have this issue if mcumgr would have returned a plain text error message.

Olivier-ProGlove avatar Aug 16 '18 16:08 Olivier-ProGlove

@Olivier-ProGlove I believe this should be reported to https://github.com/apache/mynewt-mcumgr (which is pointed by zephyr-project documentation). Issue is probably valid here as well - but can you open issue in repository i mentioned?

nvlsianpu avatar Aug 17 '18 07:08 nvlsianpu

Done: https://github.com/apache/mynewt-mcumgr/issues/10

Olivier-ProGlove avatar Aug 17 '18 08:08 Olivier-ProGlove