Open topic with navigation CAPL Functions » Ethernet » AUTOSAR Eth IL » Syntax for Predefined Service Discovery (SD) Access PathsDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Syntax for Predefined Service Discovery (SD) Access Paths
Valid for: CANoe DE • CANoe4SW DEExamples
- Flags
AREthSetValueDWord(msg, "Flags", 0xC0); //set reboot (0x80) and unicast (0x40) flag
- Reserved
AREthSetValueDWord(msg, "Reserved", 0x00);
Entry[n]
-
FindService, OfferService, RequestService, RequestServiceAck
- Index1stOptions
- Index2ndOptions
- NumberOfOptions1
- NumberOfOptions2
- ServiceID
- InstanceID
- MajorVersion
- TTL
- MinorVersion
- Example:
AREthSetValueDWord(msg, "Entry[9].FindService.ServiceID", 0x000A);
-
FindEventgroup, Publish, Subscribe, SubscribeAck
- Index1stOptions
- Index2ndOptions
- NumberOfOptions1
- NumberOfOptions2
- ServiceID
- InstanceID
- MajorVersion
- TTL
- Reserved
- EventgroupID
- Example:
dword evgID = AREthGetValueDWord(msg, "Entry[0].SubscribeAck.EventgroupID");
Option[n]
-
Configuration
- Reserved
- String[n]
- Example:
AREthSetValueString(msg, "Option[2].Configuration.String[1]", "def=123");
-
LoadBalancing
- Reserved
- Priority
- Weight
- Example:
dword prio = AREthGetValueDWord(msg, "Option[5].LoadBalancing.Priority");
-
Protection
- Reserved
- ID
- AliveCounter
- CRC
- Example:
dword res = AREthGetValueDWord(msg, "Option[0].Protection.Reserved");
-
IPv4Endpoint
- Reserved
- IPv4Address
- Reserved_2
- L4Proto
- PortNumber
- Example:
AREthSetValueDWord(msg, "Option[0].IPv4Endpoint.PortNumber", 30490);
-
IPv6Endpoint
- Reserved
- IPv6Address[16]
- Reserved_2
- L4Proto
- PortNumber
- Example:
dword prot = AREthGetValueDWord(msg, "Option[4].IPv6Endpoint.L4Proto");
-
IPv4Multicast
- Reserved
- IPv4Address
- Reserved_2
- L4Proto
- PortNumber
- Example:
AREthSetValueDWord(msg, "Option[0].IPv4Multicast.PortNumber", 30490);
-
IPv6Multicast
- Reserved
- IPv6Address[16]
- Reserved_2
- L4Proto
- PortNumber
- Example:
AREthSetValueDWord(msg, "Option[6].IPv6Multicast.IPv6Address[9]", 0xFE);