[ Full content available at: https://github.com/apache/mynewt-mcumgr/pull/11 ]
I think you should be returning `MGMT_ERR_EBADSTATE` instead of `MGMT_ERR_ENOMEM`.
[ Full content available at: https://github.com/apache/mynewt-mcumgr/pull/11 ]
I think you should be returning `MGMT_ERR_EBADSTATE` instead of `MGMT_ERR_ENOMEM`.