eclipse-uprotocol / up-spec

uProtocol Specifications
Apache License 2.0
31 stars 25 forks source link

Split UCode from UStatus #173

Closed stevenhartley closed 2 months ago

stevenhartley commented 2 months ago

Mechatronics folks would like to use UCode in their uService definitions and not be dependent on UStatus that includes strings. To avoid the uservice protos from having to include UStatus, we would like to pull UCode out from UStatus (this should not affect generated code but we will check to be sure).

halimragab commented 2 months ago

The main purpose of this is simplification, where embedded controllers can import UCode only and don't have to think or worry about UStatus (which includes fields that are not typically used in embedded software).