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

OnSomeIpNewServerAep

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void OnSomeIpNewServerAep(dword aepHandle, IP_Endpoint localIPEndpoint);

Description

This callback gets called when a server-side SOME/IP Application Endpoint gets opened. Note: In case of UDP, the callback gets called for both, server and client Application Endpoints. The information provided by the localIPEndpoint parameter such as IP address and port number may be used to differentiate Application Endpoints.

Parameters

Return Values

Example

void OnSomeIpNewServerAep(dword aepHandle, ip_Endpoint localIPEndpoint)
{
  if(localIPEndpoint.PortNumber == 30500)
  {
    SomeIpTlsAuthenticateAsServer(aepHandle, "Server1", 0);
  }
}
SomeIpTlsAuthenticateAsClientWithConfigurationSomeIpTlsAuthenticateAsServerWithConfigurationOnSomeIpClientAepConnected