McuMgrErrorCode
Almost all requests are responded to with an Mcu Manager return code in the response payload. This value determines whether the request has been successful (rc = 0) or has failed (rc != 0).
This return code is not supposed to be very descriptive and the actual error reason must be determined based on the request and error code. Since McuManager errors are vague and often the same error code could be caused by different reasons, the best way to debug errors here is step through the handler on the device to determine the cause.
List of possible error codes may be found here.
Entries
Command is not supported.
Access to specific function, command or resource denied.
Requested SMP protocol version is not supported (too old).
Requested SMP protocol version is not supported (too new).
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.