forked from ApexAI/vsomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented static UDP & TCP routing.
Added configuration files for testing TCP/UDP communication. Replaced buffer queue handling by passing shared pointer to avoid buffer overwrites. Extended clients sample: Sending is now done in an extra thread as sleeping in a callback is a bad idea if the client hosts the routing manager ;-). TODO: Re-enable Magic Cookies for TCP Finalitze Service Discovery
- Loading branch information
1 parent
3e8509d
commit ecd8282
Showing
45 changed files
with
839 additions
and
536 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
/build/* | ||
/build*/* | ||
/.settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<!-- vsomeip test configuration file --> | ||
<someip> | ||
<address>192.168.56.101</address> | ||
<logging> | ||
<level>trace</level> | ||
<console>true</console> | ||
<file> | ||
<enable>false</enable> | ||
<path>/tmp/vsomeip.log</path> | ||
</file> | ||
<dlt>false</dlt> | ||
</logging> | ||
<services> | ||
<servicegroup> | ||
<name>remote</name> | ||
<address>192.168.56.102</address> | ||
<service> | ||
<service-id>0x1234</service-id> | ||
<instance-id>0x5678</instance-id> | ||
<ports> | ||
<reliable>30509</reliable> | ||
</ports> | ||
</service> | ||
</servicegroup> | ||
</services> | ||
<routing> | ||
<host>client-sample</host> | ||
</routing> | ||
<service-discovery> | ||
<enabled>false</enabled> | ||
<protocol>udp</protocol> | ||
<address>224.244.224.245</address> | ||
<port>30490</port> | ||
</service-discovery> | ||
<applications> | ||
<application> | ||
<name>client-sample</name> | ||
<id>0x1343</id> | ||
</application> | ||
<application> | ||
<name>second-client-sample</name> | ||
<id>0x1344</id> | ||
</application> | ||
<application> | ||
<name>third-client-sample</name> | ||
<id>0x1345</id> | ||
</application> | ||
<application> | ||
<name>fourth-client-sample</name> | ||
<id>0x1346</id> | ||
</application> | ||
</applications> | ||
</someip> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<!-- vsomeip test configuration file --> | ||
<someip> | ||
<address>192.168.56.101</address> | ||
<logging> | ||
<level>trace</level> | ||
<console>true</console> | ||
<file> | ||
<enable>false</enable> | ||
<path>/tmp/vsomeip.log</path> | ||
</file> | ||
<dlt>false</dlt> | ||
</logging> | ||
<services> | ||
<servicegroup> | ||
<name>remote</name> | ||
<address>192.168.56.102</address> | ||
<service> | ||
<service-id>0x1234</service-id> | ||
<instance-id>0x5678</instance-id> | ||
<ports> | ||
<unreliable>30507</unreliable> | ||
</ports> | ||
</service> | ||
</servicegroup> | ||
</services> | ||
<routing> | ||
<host>second-client-sample</host> | ||
</routing> | ||
<service-discovery> | ||
<enabled>false</enabled> | ||
<protocol>udp</protocol> | ||
<address>224.244.224.245</address> | ||
<port>30490</port> | ||
</service-discovery> | ||
<applications> | ||
<application> | ||
<name>client-sample</name> | ||
<id>0x1343</id> | ||
</application> | ||
<application> | ||
<name>second-client-sample</name> | ||
<id>0x1344</id> | ||
</application> | ||
<application> | ||
<name>third-client-sample</name> | ||
<id>0x1345</id> | ||
</application> | ||
<application> | ||
<name>fourth-client-sample</name> | ||
<id>0x1346</id> | ||
</application> | ||
</applications> | ||
</someip> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<!-- vsomeip test configuration file --> | ||
<someip> | ||
<address>192.168.56.102</address> | ||
<logging> | ||
<level>trace</level> | ||
<console>true</console> | ||
<file> | ||
<enable>false</enable> | ||
<path>/tmp/vsomeip.log</path> | ||
</file> | ||
<dlt>false</dlt> | ||
</logging> | ||
<services> | ||
<servicegroup> | ||
<name>default</name> | ||
<delays> | ||
<initial> | ||
<min>10</min> | ||
<max>100</max> | ||
</initial> | ||
<repetition-base>200</repetition-base> | ||
<repetition-max>3</repetition-max> | ||
<cyclic-offer>2000</cyclic-offer> | ||
<cyclic-request>2001</cyclic-request> | ||
</delays> | ||
<service> | ||
<service-id>0x1234</service-id> | ||
<instance-id>0x5678</instance-id> | ||
<ports> | ||
<unreliable>30507</unreliable> | ||
</ports> | ||
</service> | ||
</servicegroup> | ||
</services> | ||
<routing> | ||
<host>service-sample</host> | ||
</routing> | ||
<service-discovery> | ||
<enabled>false</enabled> | ||
<host>client-sample</host> | ||
<protocol>udp</protocol> | ||
<address>224.244.224.245</address> | ||
<port>30490</port> | ||
</service-discovery> | ||
<applications> | ||
<application> | ||
<name>service-sample</name> | ||
<id>0x1277</id> | ||
</application> | ||
</applications> | ||
</someip> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.