Skip to main content
Open topic with navigation CAPL Functions » Ethernet » SOME/IP IL » OnSomeIpClientAepConnected

OnSomeIpClientAepConnected

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void OnSomeIpClientAepConnected(dword aepHandle, IP_Endpoint localIPEndpoint, IP_Endpoint remoteIPEndpoint);

Description

This callback gets called when a client-side SOME/IP Application Endpoint gets connected to a remote peer.

Parameters

Return Values

Example

void OnSomeIpClientAepConnected(dword aepHandle, ip_Endpoint localIPEndpoint, ip_Endpoint remoteIPEndpoint)
{
  if(remoteIPEndpoint.PortNumber == 30500)
  {
    SomeIpAuthenticateAsClient(aepHandle, "Server1");
  }
}
SomeIpTlsAuthenticateAsClientWithConfigurationSomeIpTlsAuthenticateAsServerWithConfigurationOnSomeIpNewServerAep