You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am tinkering around with the someip libs and the code generators, but now I found something I don't understand.
Btw. Great work 😄
When I try to make/set an attribute to reliable with SomeIpReliable = true within the fdepl file, the commonapi-someip-generator seems to not take this into account when generating the files.
If I modify manually the generated SomeIPStubAdapter.hpp and the SomeIPProxy.cpp and replace RT_UNRELIABLE with RT_RELIABLE, it works within my tests (checked with Wireshark).
For methods or broadcasts, this works without any changes required.
Now my questions are:
Should it work?
I am asking because I checked the source code of the generator and did not find an test case for this (attribute & reliable)
If so, what did I configure wrong? (Please see the fidl & fdepl file below)
Thanks in advance!
Test.fidl
package test
interface Service {
version { major 1 minor 0 }
enumeration ReturnStatus {
<** @description: the operation was successfully. **>
OK = 0,
<** @description: error occured while handling request. **>
OPERATION_FAILURE = 1
}
method payloadToServiceUnreliable{
in {
String message
}
out {
ReturnStatus returnStatus
}
}
method payloadToServiceReliable{
in {
String message
}
out {
ReturnStatus returnStatus
}
}
method payloadFromServiceUnreliable{
out {
String message
ReturnStatus returnStatus
}
}
method payloadFromServiceReliable{
out {
String message
ReturnStatus returnStatus
}
}
broadcast broadcastUnreliable {
out {
String message
}
}
broadcast broadcastReliable {
out {
String message
}
}
attribute String notifierUnreliable readonly
attribute String notifierReliable readonly
}
Hi,
I am tinkering around with the someip libs and the code generators, but now I found something I don't understand.
Btw. Great work 😄
When I try to make/set an attribute to reliable with SomeIpReliable = true within the fdepl file, the commonapi-someip-generator seems to not take this into account when generating the files.
If I modify manually the generated SomeIPStubAdapter.hpp and the SomeIPProxy.cpp and replace RT_UNRELIABLE with RT_RELIABLE, it works within my tests (checked with Wireshark).
For methods or broadcasts, this works without any changes required.
Now my questions are:
I am asking because I checked the source code of the generator and did not find an test case for this (attribute & reliable)
Thanks in advance!
Test.fidl
Test.fdepl
The text was updated successfully, but these errors were encountered: