Source, dest port of SD messages #708
-
|
Hello community, I am a beginner in vsomeip. In udp_server_endpoint_impl.cpp, the unicast socket is always bound to the configuration's SD port. Therefore, the source port of the SD messages (e.g., FIND, OFFER, etc.) sent via multicast is the same as the SD port (=destination port). Is my understanding above correct? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Have a look at https://www.autosar.org/fileadmin/standards/R22-11/FO/AUTOSAR_PRS_SOMEIPServiceDiscoveryProtocol.pdf In that document PRS_SOMEIPSD_00600 and PRS_SOMEIPSD_00601 say that UDP datagrams shall use SD_PORT and then goes on to describe SD_PORT as the "UDP Port for SD Messages (30490 as default)". NB: PRS_SOMEIPSD_00602 appears to modify this "shall" behaviour of PRS_SOMEIPSD_00600 in the presence of "SD Endpoint Option". |
Beta Was this translation helpful? Give feedback.
@liveeasily Did that answer your question? If so please mark this as "Answered".