xmos / lib_device_control

xCORE device control library
Other
2 stars 16 forks source link

Add an error code to signify an application error #84

Open oscarbailey-xmos opened 4 years ago

oscarbailey-xmos commented 4 years ago

https://github.com/xmos/lib_device_control/blob/master/lib_device_control/api/control.h#L21 Currently, the control_ret_values enum only contains error messages related to the transport layer. If an application fails, it must return a "CONTROL_SUCCESS" code even if the execution of the command may have failed for an application-specific reason.

PR to implement this: https://github.com/xmos/lib_device_control/pull/63