-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ServiceDetail messages add EVSide Se/Deserialization #94
base: main
Are you sure you want to change the base?
ServiceDetail messages add EVSide Se/Deserialization #94
Conversation
Signed-off-by: Roger Bedell <rogerbedell@hotmail.com>
Signed-off-by: Roger Bedell <rogerbedell@hotmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good 👍 I'll look for more exi streams to test with
const auto& in_parameter = in_parameter_set.Parameter.array[t]; | ||
datatypes::Parameter out_parameter; | ||
|
||
out_parameter.name = std::string(in_parameter.Name.characters, in_parameter.Name.charactersLen); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of std::string
please use CB2CPP_STRING()
. Basically its the same but here we should use the macros from cb_exi.hpp
for consistency.
out_parameter.value = in_parameter.intValue; | ||
} else if (in_parameter.finiteString_isUsed) { | ||
out_parameter.value = | ||
std::string(in_parameter.finiteString.characters, in_parameter.finiteString.charactersLen); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above
Describe your changes
ServiceDetail messages add EVSide Se/Deserialization and unit tests
Issue ticket number and link
#68
Checklist before requesting a review