CAPLCallbackInterfaceinCANoeVersion1.32017-04-11ApplicationNoteAN-IND-1-012AuthorVectorInformatikGmbHRestrictionsPublicDocumentAbstractInformationandexplanationontheCAPLCallbackInterface(CCI)fordiagnosticsinCANoe,includingexamplesandreferencesTableofContents1.0Overview........................................................................................................................................22.0Background...................................................................................................................................22.1WhatistheCCI?..................................................................................................................22.2WhyusetheCCI?................................................................................................................22.3AlternativestousingtheCCI...............................................................................................22.4WhatcanyoudowiththeCCI?...........................................................................................33.0BasicconceptoftheCAPLcallbackinterfacefordiagnostics................................................33.1CAPLfunctionscalledbytheCCI........................................................................................33.2CCIfunctionscalledbyCAPL..............................................................................................33.3Additionalconfigurationstepsnecessary............................................................................43.4ConfigurationparametersprovidedbyCANoe....................................................................43.5Walkthrough:BasicCCIforISOTPonCAN.......................................................................53.5.1Testerside...........................................................................................................................53.5.2ECUsimulationside.............................................................................................................64.0Concreteimplementationsforseveralbustypesandprotocols.............................................64.1ExamplehowtousetheCCIincludefilesinanECUsimulation.........................................64.2ExamplehowtousetheCCIincludefilesinaTestModule................................................94.3AdditionalhintswhenusingtheLINCCI...........................................................................104.4AdditionalhintswhenusingVWTP2.0onCAN...............................................................105.0Additionalfunctionality(independentofbustype).................................................................115.1Sessionmanagement........................................................................................................115.2SimulatespecialECUresponsetimingbehavior...............................................................116.0Advancedfeature:Faultinjection.............................................................................................126.1Background........................................................................................................................126.2FaultinjectionwithouttheneedtousetheCCI.................................................................126.3ExampleusingOSEK_TP.DLL......................................................................