Specification of SW-C End-to-End
Communication Protection Library
AUTOSAR Release 4.2.2
5 of 248 Document ID 428: AUTOSAR_SWS_E2ELibrary
- AUTOSAR confidential -
7.5.8 E2E_P04Protect ................................................................................... 52
7.5.9 E2E_P04Check ..................................................................................... 57
7.6 Specification of E2E Profile 5 ..................................................................... 62
7.6.1 Data Layout........................................................................................... 62
7.6.2 Counter ................................................................................................. 63
7.6.3 Data ID .................................................................................................. 64
7.6.4 Length ................................................................................................... 64
7.6.5 CRC ...................................................................................................... 64
7.6.6 Timeout detection ................................................................................. 64
7.6.7 E2E_P05Protect ................................................................................... 65
7.6.8 E2E_P05Check ..................................................................................... 70
7.7 Specification of E2E Profile 6 ..................................................................... 73
7.7.1 Data Layout........................................................................................... 74
7.7.2 Counter ................................................................................................. 74
7.7.3 Data ID .................................................................................................. 75
7.7.4 Length ................................................................................................... 76
7.7.5 CRC ...................................................................................................... 76
7.7.6 Timeout detection ................................................................................. 76
7.7.7 E2E_P06Protect ................................................................................... 76
7.7.8 E2E_P06Check ..................................................................................... 82
7.8 Specification of E2E state machine ............................................................ 86
7.8.1 Overview of the state machine .............................................................. 86
7.8.2 State machine specification .................................................................. 87
7.9 Version Check ............................................................................................ 91
8 API specification ................................................................................................ 93
8.1 Imported types............................................................................................ 93
8.2 Type definitions .......................................................................................... 93
8.2.1 E2E Profile 1 types ............................................................................... 94
8.2.2 E2E Profile 2 types ............................................................................... 98
8.2.3 E2E Profile 4 types ............................................................................. 102
8.2.4 E2E Profile 5 types ............................................................................. 105
8.2.5 E2E Profile 6 types ............................................................................. 108
8.2.6 E2E state machine types .................................................................... 111
8.3 Routine definitions .................................................................................... 113
8.3.1 E2E Profile 1 routines ......................................................................... 113
8.3.2 E2E Profile 2 routines ......................................................................... 117
8.3.3 E2E Profile 4 routines ......................................................................... 120
8.3.4 E2E Profile 5 routines ......................................................................... 123
8.3.5 E2E Profile 6 routines ......................................................................... 126
8.3.6 E2E State machine routines ............................................................... 129
8.3.7 Elementary protocol routines .............................................................. 131
8.3.8 Auxiliary Functions .............................................................................. 136
8.4 Call-back notifications .............................................................................. 137
8.5 Scheduled functions ................................................................................. 137
8.6 Expected Interfaces .................................................................................. 137
8.6.1 Mandatory Interfaces .......................................................................... 137
9 Sequence Diagrams for invoking E2E Library ................................................. 138
9.1 Sender ...................................................................................................... 138
评论1
最新资源