`
`Communication
`Specification
`
`OSEK/VDX
`
`Communication
`
`Version 2.2.2
`
`18th December 2000
`
`This document is an official release and replaces all previously distributed documents. The OSEK group retains
`the right to make changes to this document without notice and does not accept liability for errors.
`All rights reserved. No part of this document may be reproduced, in any form or by any means, without
`permission in writing from the OSEK/VDX steering committee.
`
`OSEK/VDX COM 2.2.2
`
` by OSEK
`
`- 1 -
`
`Page 1 of 185
`
`PETITIONERS' EXHIBIT 1012
`
`
`
`OSEK/VDX
`
`Communication
`Specification
`
`Table of Contents
`INTRODUCTION ....................................................................................................................................11
`
`1
`
`1.1 REQUIREMENTS...................................................................................................................................... 12
`1.2 CONTENT AND STRUCTURE OF THE DOCUMENT ...................................................................................... 13
`1.2.1
`Communication protocol layers...................................................................................................13
`1.2.2
`System generation requirements ..................................................................................................13
`1.2.3
`Communication conformance class .............................................................................................13
`1.2.4
`Changes between OSEK COM 2.1 r1 and this specification .......................................................13
`1.3 COMMUNICATION CONCEPT.................................................................................................................... 14
`
`2
`
`INTERACTION LAYER.........................................................................................................................16
`
`INTERACTION LAYER OVERVIEW............................................................................................................. 16
`2.1
`2.1.1
`Interaction layer operation ..........................................................................................................16
`2.1.2
`Communication model .................................................................................................................16
`2.1.3 Message concept ..........................................................................................................................17
`2.1.4
`Queued and Unqueued messages.................................................................................................17
`2.1.5 Messages copies...........................................................................................................................18
`2.1.6
`Direct and periodical transmission modes...................................................................................18
`2.1.7 Message addressing .....................................................................................................................18
`2.1.8 Message lengths ...........................................................................................................................19
`2.1.9
`Application programming interface.............................................................................................19
`2.1.10 Notifications.................................................................................................................................20
`2.1.11 Deadline monitoring ....................................................................................................................20
`2.1.12 Portability support .......................................................................................................................21
`INTERACTION LAYER SPECIFICATION ...................................................................................................... 22
`2.2
`2.2.1
`Definitions....................................................................................................................................22
`2.2.2
`Initialisation and shutdown..........................................................................................................23
`2.2.3
`Communication model .................................................................................................................24
`2.2.4 Messages......................................................................................................................................25
`2.2.5
`Addressing schemes .....................................................................................................................27
`2.2.6
`Data consistency model ...............................................................................................................28
`2.2.7 Message transmission ..................................................................................................................29
`2.2.8 Message reception .......................................................................................................................34
`2.2.9
`Communication deadline monitoring...........................................................................................38
`2.2.10 Notification mechanisms ..............................................................................................................43
`2.2.11
`Interface to OSEK Indirect Network Management ......................................................................50
`2.2.12 Application programming interface.............................................................................................51
`2.2.13 Usage of OSEK COM services.....................................................................................................71
`2.2.14 Mapping of interaction layer to network layer services...............................................................72
`
`3
`
`NETWORK LAYER................................................................................................................................73
`
`3.1 NETWORK LAYER OVERVIEW.................................................................................................................. 73
`3.1.1
`Network Layer operation .............................................................................................................73
`3.1.2
`Unacknowledged Unsegmented Data Transfer............................................................................73
`3.1.3
`Unacknowledged Segmented Data Transfer................................................................................74
`3.1.4
`Network layer timing constraints .................................................................................................78
`3.1.5
`Interleaving of messages..............................................................................................................78
`3.2 NETWORK LAYER SPECIFICATION ........................................................................................................... 79
`3.2.1
`Definitions....................................................................................................................................79
`3.2.2
`Generality ....................................................................................................................................80
`3.2.3
`Unacknowledged Unsegmented Data Transfer............................................................................80
`3.2.4
`Unacknowledged Segmented Data Transfer................................................................................87
`
`4
`
`DATA LINK LAYER INTERFACE ....................................................................................................115
`
`4.1 DATA LINK LAYER OVERVIEW............................................................................................................... 115
`4.2 DATA LINK LAYER SPECIFICATION ........................................................................................................ 116
`4.2.1
`Definitions..................................................................................................................................116
`4.2.2
`Services for the network layer....................................................................................................117
`
`OSEK/VDX COM 2.2.2
`
` by OSEK
`
`- 2 -
`
`Page 2 of 185
`
`
`
`OSEK/VDX
`
`Communication
`Specification
`
`4.2.3
`4.2.4
`
`Services for the network management ....................................................................................... 119
`Services for the network layer and network management ......................................................... 121
`
`5
`
`SYSTEM GENERATION REQUIREMENTS.................................................................................... 123
`
`5.1 CONFORMANCE CLASS ......................................................................................................................... 124
`5.1.1
`Entity requirements.................................................................................................................... 124
`5.1.2
`Entity attributes requirements.................................................................................................... 124
`5.2 UNQUEUED MESSAGE........................................................................................................................... 125
`5.2.1
`Entity requirements.................................................................................................................... 127
`5.2.2
`Entity attributes requirements.................................................................................................... 127
`5.2.3
`Entity association requirements................................................................................................. 127
`5.3 QUEUED MESSAGE ............................................................................................................................... 130
`5.3.1
`Entity requirements.................................................................................................................... 131
`5.3.2
`Entity attributes requirements.................................................................................................... 131
`5.3.3
`Entity association requirements................................................................................................. 132
`5.4 MESSAGE ACCESSOR ............................................................................................................................ 135
`5.4.1
`Entity requirements.................................................................................................................... 135
`5.4.2
`Entity attributes requirements.................................................................................................... 136
`5.4.3
`Entity association requirements................................................................................................. 136
`5.5 DIRECT TRANSMISSION MODE SPECIFICATION....................................................................................... 138
`5.5.1
`Entity requirements.................................................................................................................... 138
`5.5.2
`Entity attributes requirements.................................................................................................... 138
`5.5.3
`Entity association requirements................................................................................................. 138
`PERIODICAL TRANSMISSION MODE SPECIFICATION................................................................................ 139
`5.6
`5.6.1
`Entity requirements.................................................................................................................... 139
`5.6.2
`Entity attributes requirements.................................................................................................... 139
`5.6.3
`Entity association requirements................................................................................................. 140
`5.7 MIXED TRANSMISSION MODE SPECIFICATION........................................................................................ 141
`5.7.1
`Entity requirements.................................................................................................................... 141
`5.7.2
`Entity attributes requirements.................................................................................................... 141
`5.7.3
`Entity association requirements................................................................................................. 143
`5.8 RECEPTION DEADLINE MONITORING SPECIFICATION ............................................................................. 144
`5.8.1
`Entity requirements.................................................................................................................... 144
`5.8.2
`Entity attributes requirements.................................................................................................... 145
`5.8.3
`Entity association requirements................................................................................................. 145
`5.9 TRANSMISSION DEADLINE MONITORING SPECIFICATION ....................................................................... 146
`5.9.1
`Entity requirements.................................................................................................................... 146
`5.9.2
`Entity attributes requirements.................................................................................................... 147
`5.9.3
`Entity association requirements................................................................................................. 147
`TASK ............................................................................................................................................... 148
`5.10
`5.10.1 Entity requirements.................................................................................................................... 148
`5.10.2 Entity attributes requirements.................................................................................................... 148
`5.10.3 Entity association requirements................................................................................................. 149
`FUNCTION........................................................................................................................................ 150
`5.11
`5.11.1 Entity requirements.................................................................................................................... 150
`5.11.2 Entity attributes requirements.................................................................................................... 150
`5.11.3 Entity association requirements................................................................................................. 151
`CALLBACK....................................................................................................................................... 152
`5.12
`5.12.1 Entity requirements.................................................................................................................... 152
`5.12.2 Entity attributes requirements.................................................................................................... 152
`5.12.3 Entity association requirements................................................................................................. 153
`EVENT............................................................................................................................................. 155
`5.13
`5.13.1 Entity requirements.................................................................................................................... 155
`5.13.2 Entity attributes requirements.................................................................................................... 156
`5.13.3 Entity association requirements................................................................................................. 156
`FLAG ............................................................................................................................................... 158
`5.14
`5.14.1 Entity requirements.................................................................................................................... 158
`5.14.2 Entity attributes requirements.................................................................................................... 158
`5.14.3 Entity association requirements................................................................................................. 159
`NETWORK HANDLE.......................................................................................................................... 161
`5.15
`
`OSEK/VDX COM 2.2.2
`
` by OSEK
`
`- 3 -
`
`Page 3 of 185
`
`
`
`OSEK/VDX
`
`Communication
`Specification
`
`5.15.1 Entity requirements....................................................................................................................161
`5.15.2 Entity attributes requirements....................................................................................................161
`5.15.3 Entity association requirements.................................................................................................162
`APPLICATION ADDRESS.................................................................................................................... 163
`5.16
`5.16.1 Entity requirements....................................................................................................................163
`5.16.2 Entity attributes requirements....................................................................................................163
`5.16.3 Entity association requirements.................................................................................................163
`5.17
`UUDT ............................................................................................................................................. 164
`5.17.1 Entity requirements....................................................................................................................164
`5.17.2 Entity attributes requirements....................................................................................................165
`5.18
`USDT.............................................................................................................................................. 166
`5.18.1 Entity requirements....................................................................................................................167
`5.18.2 Entity attributes requirements....................................................................................................167
`
`6
`
`7
`
`CONFORMANCE CLASSES...............................................................................................................169
`
`6.1 OSEK OS SUPPORT.............................................................................................................................. 171
`
`ANNEX....................................................................................................................................................172
`
`7.1 CAN BUS BINDING INTERFACE (NORMATIVE) ....................................................................................... 173
`7.1.1
`Scope..........................................................................................................................................173
`7.1.2
`D_UUData.req...........................................................................................................................173
`7.1.3
`D_UUData.con ..........................................................................................................................173
`7.1.4
`D_UUData.ind...........................................................................................................................174
`7.2 USE OF ISO 15765-2 ADDRESSING FORMATS (INFORMATIVE) .............................................................. 175
`7.2.1
`Scope and concepts....................................................................................................................175
`7.2.2
`CAN frame data length ..............................................................................................................175
`7.2.3
`Normal addressing.....................................................................................................................175
`7.2.4
`Extended addressing ..................................................................................................................177
`7.3 USE OF ISO15765-2 ADDRESSING FORMATS WITH SAE J1939 (INFORMATIVE) ................................... 179
`7.3.1
`Overview ....................................................................................................................................179
`7.3.2
`Rules...........................................................................................................................................179
`FORMAT OF SERVICE PRIMITIVES (NORMATIVE).................................................................................... 181
`7.4
`7.5 DEFINITION OF TIMING SYMBOLS (NORMATIVE).................................................................................... 183
`
`8
`
`HISTORY ...............................................................................................................................................184
`
`OSEK/VDX COM 2.2.2
`
` by OSEK
`
`- 4 -
`
`Page 4 of 185
`
`
`
`OSEK/VDX
`
`Communication
`Specification
`
`List of Figures
`
`FIGURE 1-1: LAYER MODEL OF OSEK COM........................................................................................................ 14
`FIGURE 2-1: SYNCHRONOUS VS. ASYNCHRONOUS COMMUNICATION SCHEMES .................................................... 17
`FIGURE 2-2: OSEK COM INITIALISATION AND SHUTDOWN SERVICES.................................................................. 24
`FIGURE 2-3: MESSAGE ACCESSOR ........................................................................................................................ 27
`FIGURE 2-4: DIRECT TRANSMISSION MODE FOR EXTERNAL OR INTERNAL-EXTERNAL COMMUNICATION (WITHCOPY
`CONFIGURATION) ........................................................................................................................................ 30
`FIGURE 2-5: PERIODICAL TRANSMISSION MODE.................................................................................................... 31
`FIGURE 2-6: ACTIVATION/DE-ACTIVATION OF PERIODICAL TRANSMISSION MODE – ............................................. 31
`FIGURE 2-7: MIXED TRANSMISSION MODE............................................................................................................ 33
`FIGURE 2-8: BEHAVIOUR OF QUEUED MESSAGE .................................................................................................. 35
`FIGURE 2-9: BEHAVIOUR OF QUEUED MESSAGE WITH A QUEUE LENGTH EQUAL TO 1 .......................................... 35
`FIGURE 2-10: BEHAVIOUR OF UNQUEUED MESSAGE ............................................................................................ 36
`FIGURE 2-11: DIRECT TRANSMISSION MODE: EXAMPLE OF A SUCCESSFUL TRANSMISSION IN CASE OF UUDT
`PROTOCOL................................................................................................................................................... 39
`FIGURE 2-12: DIRECT TRANSMISSION MODE: EXAMPLE OF A FAILED TRANSMISSION IN CASE OF UUDT PROTOCOL
`................................................................................................................................................................... 39
`FIGURE 2-13: PERIODICAL TRANSMISSION MODE: SUCCESSFUL TRANSMISSION.................................................... 40
`FIGURE 2-14: PERIODICAL TRANSMISSION MODE: FAILED TRANSMISSIONS........................................................... 40
`FIGURE 2-15: MIXED TRANSMISSION MODE: SUCCESSFUL TRANSMISSIONS .......................................................... 41
`FIGURE 2-16: MIXED TRANSMISSION MODE: FAILED TRANSMISSIONS................................................................... 42
`FIGURE 2-17: PERIODICAL RECEPTION: CORRECT AND MISSING RECEPTIONS........................................................ 43
`FIGURE 2-18: CONDITIONAL NOTIFICATION DATA FLOW ....................................................................................... 46
`FIGURE 2-19: CONDITIONAL NOTIFICATION FLOW CHART ..................................................................................... 47
`FIGURE 3-1: UUDT MESSAGE TRANSMISSION ...................................................................................................... 74
`FIGURE 3-2: USDT SINGLE FRAME MESSAGE TRANSMISSION ............................................................................... 75
`FIGURE 3-3: USDT MULTIPLE FRAME MESSAGE TRANSMISSION........................................................................... 76
`FIGURE 3-4: N_HANDLE (UUDT) ........................................................................................................................ 81
`FIGURE 3-5: NETWORK DATA FIELD STRUCTURE (UUDT).................................................................................... 84
`FIGURE 3-6: SINGLE FRAME MESSAGE TRANSMISSION .......................................................................................... 85
`FIGURE 3-7: MAPPING-OUT (UUDT).................................................................................................................... 86
`FIGURE 3-8: MAPPING-IN (UUDT) ....................................................................................................................... 87
`FIGURE 3-9: N_HANDLE (USDT)......................................................................................................................... 88
`FIGURE 3-10: MULTIPLE FRAME MESSAGE TRANSMISSION.................................................................................... 95
`FIGURE 3-11: SINGLE FRAME MESSAGE TRANSMISSION ........................................................................................ 95
`FIGURE 3-12: N_DATA AND NPCI FIELDS TO DATA LINK USER DATA................................................................... 97
`FIGURE 3-13: PLACEMENT OF TIME INTERVALS .................................................................................................. 106
`FIGURE 3-14: MAPPING-OUT (USDT)................................................................................................................. 113
`FIGURE 3-15: MAPPING-IN (USDT).................................................................................................................... 114
`FIGURE 4-1: SEQUENCING OF D_UUDATA SERVICE PRIMITIVES......................................................................... 118
`FIGURE 6-1:CONFORMANCE CLASSES SUMMARY................................................................................................ 170
`FIGURE 7-1: LEGEND OF COMMUNICATION DEADLINE MONITORING ................................................................... 183
`
`OSEK/VDX COM 2.2.2
`
` by OSEK
`
`- 5 -
`
`Page 5 of 185
`
`
`
`OSEK/VDX
`
`Communication
`Specification
`
`List of Tables
`
`TABLE 2-1: TRANSMISSION MODE SUMMARY ....................................................................................................... 37
`TABLE 2-2: NOTIFICATION CLASSES AND MECHANISMS ........................................................................................ 48
`TABLE 2-3: SUMMARY OF NOTIFICATION CLASSES AND NOTIFICATION MECHANISMS .......................................... 49
`TABLE 2-4:ERROR CODES DEFINED BY OSEK COM ............................................................................................ 51
`TABLE 2-5: CONFIGURATIONS OF THE INTERACTION LAYER ................................................................................. 54
`TABLE 2-6: SUMMARY OF API COMMUNICATION SERVICES ................................................................................. 70
`TABLE 2-7: COM SERVICES AVAILABLE FOR TASK AND ISR.............................................................................. 71
`TABLE 2-8: INTERACTION LAYER / NETWORK LAYER INTERFACE......................................................................... 72
`TABLE 3-1: NPDU FORMAT ................................................................................................................................. 96
`TABLE 3-2: ENCODING OF NETWORK PROTOCOL CONTROL INFORMATION (NPCI) BYTES................................. 100
`TABLE 3-3: DEFINITION OF NETWORK PROTOCOL CONTROL INFORMATION (NPCI) : SF_NPCI . DL................ 101
`TABLE 3-4: DEFINITION OF NETWORK PROTOCOL CONTROL INFORMATION (NPCI) : FF_NPCI . DL................ 101
`TABLE 3-5: DEFINITION OF NETWORK PROTOCOL CONTROL INFORMATION (NPCI) : FC_NPCI . FS ................ 102
`TABLE 3-6: DEFINITION OF NETWORK PROTOCOL CONTROL INFORMATION (NPCI) : FC_NPCI . FS(CTS) ...... 102
`TABLE 3-7: DEFINITION OF NETWORK PROTOCOL CONTROL INFORMATION (NPCI) : FC_NPCI . FS(WT) ....... 103
`TABLE 3-8: DEFINITION OF NETWORK PROTOCOL CONTROL INFORMATION (NPCI) : FC_NPCI . BS................ 103
`TABLE 3-9: DEFINITION OF NETWORK PROTOCOL CONTROL INFORMATION (NPCI) : FC_NPCI . STMIN.......... 104
`TABLE 3-10: DEFINITION OF NETWORK PROTOCOL CONTROL INFORMATION (NPCI) : CF_NPCI . SN ............. 105
`TABLE 3-11: SUMMARY OF SEQUENCENUMBER (SN) DEFINITION ..................................................................... 105
`TABLE 3-12: TIME INTERVALS DEFINITION ......................................................................................................... 108
`TABLE 3-13— WAIT FRAME HANDLING.............................................................................................................. 109
`TABLE 3-14: ERROR HANDLING.......................................................................................................................... 110
`TABLE 3-15— HANDLING OF AN UNEXPECTED ARRIVAL OF A NETWORK LAYER NPDU..................................... 111
`TABLE 6-1: EVENT SETTING AND TASK ACTIVATION ........................................................................................... 171
`TABLE 7-1 : D_UUDATA.REQ SUMMARY........................................................................................................... 173
`TABLE 7-2 : D_UUDATA.CON SUMMARY........................................................................................................... 173
`TABLE 7-3 : D_UUDATA.IND SUMMARY............................................................................................................ 174
`TABLE 7-4:MAPPING OF NPDU PARAMETERS INTO CAN FRAME - NORMAL ADDRESSING.............................. 176
`TABLE 7-5:NORMAL FIXED ADDRESSING (PHYSICAL ADDRESS).................................................................... 177
`TABLE 7-6:NORMAL FIXED ADDRESSING, (FUNCTIONAL) ............................................................................. 177
`TABLE 7-7:MAPPING OF NPDU PARAMETERS INTO CAN FRAME - EXTENDED ADDRESSING.......................... 178
`TABLE 7-8:NORMAL ADDRESSING, PHYSICAL ADDRESSED MESSAGES................................................................ 179
`TABLE 7-9:NORMAL ADDRESSING, FUNCTIONAL ADDRESSED MESSAGES ........................................................... 179
`
`OSEK/VDX COM 2.2.2
`
` by OSEK
`
`- 6 -
`
`Page 6 of 185
`
`
`
`OSEK/VDX
`
`Communication
`Specification
`
`Index of services
`
`InitCOM ............................................................. 54
`
`essageInit ........................................................ 56
`
`M M
`
`R R
`
`eadFlag............................................................. 58
`ReceiveDynamicMessage................................... 66
`ReceiveMessage ................................................. 60
`ReceiveMessageFrom......................................... 64
`ReleaseMessageResource................................... 62
`ResetFlag ............................................................ 58
`
`S S
`
`endDynamicMessage........................................ 65
`SendMessage ...................................................... 59
`SendMessageTo.................................................. 62
`StartCOM ........................................................... 55
`StartPeriodical .................................................... 57
`StopCOM ........................................................... 55
`StopPeriodical .................................................... 57
`
`C C
`
`hangeProtocolParameters................................. 68
`CloseCOM.......................................................... 54
`
`D D
`
`_GetHandleStatus .......................................... 117
`D_GetLayerStatus............................................. 119
`D_Init....