Changes between Version 1 and Version 2 of spec/V2xM


Ignore:
Timestamp:
Dec 12, 2022, 2:53:19 PM (17 months ago)
Author:
fujisft-kaji
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • spec/V2xM

    v1 v2  
    77[[BR]]
    88
    9 {{{#!comment
    10 [執筆開始時削除エリア]ここから
    11 ※コメントごと削除してください
    12 }}}
    13 * '''本項目は、まだ執筆されていません'''
    14 * '''要望等ございましたら、[wiki: Wikiトップページ]にあります[wiki:#本サイトに関して 問い合わせ先]までお願いします'''
     9= 概要 =
     10
     11* API一覧
     12
     13  ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||= R21-11 =||
     14  || [#V2xM_Init V2xM_Init]                                           ||   1|| 0x01||  ○  ||
     15  || [#V2xM_GetVersionInfo V2xM_GetVersionInfo]                       ||   2|| 0x02||  ○  ||
     16  || [#V2xM_GetPositionAndTime V2xM_GetPositionAndTime]               ||   3|| 0x03||  ○  ||
     17  || [#V2xM_GetRefTimePtr V2xM_GetRefTimePtr]                         ||   4|| 0x04||  ○  ||
     18  || [#V2xM_V2xGn_ReqEncap V2xM_V2xGn_ReqEncap]                       ||   6|| 0x06||  ○  ||
     19  || [#V2xM_V2xGn_ReqDecap V2xM_V2xGn_ReqDecap]                       ||   7|| 0x07||  ○  ||
     20  || [#V2xM_TriggerPseudonymChange V2xM_TriggerPseudonymChange]       ||   8|| 0x08||  ○  ||
     21  || [#V2xM_LockPseudonymChange V2xM_LockPseudonymChange]             ||   9|| 0x09||  ○  ||
     22  || [#V2xM_UnlockPseudonymChange V2xM_UnlockPseudonymChange]         ||  10|| 0x0A||  ○  ||
     23  || [#V2xM_V2xGn_SetGlobalRxParams V2xM_V2xGn_SetGlobalRxParams]     ||  11|| 0x0B||  ○  ||
     24  || [#V2xM_V2xGn_GetGlobalTxParams V2xM_V2xGn_GetGlobalTxParams]     ||  12|| 0x0C||  ○  ||
     25  || [#V2xM_CalcDistance V2xM_CalcDistance]                           ||  14|| 0x0E||  ○  ||
     26  || [#V2xM_CalcHeadingInTolerance V2xM_CalcHeadingInTolerance]       ||  15|| 0x0F||  ○  ||
     27  || [#V2xM_SetTollingZoneInformation V2xM_SetTollingZoneInformation] ||  16|| 0x10||  ○  ||
     28  || [#V2xM_MainFunction V2xM_MainFunction]                           ||  13|| 0x0D||  ○  ||
     29
     30* コンフィギュレーション一覧 (R4.3.1/R4.4.0/R19-11/R20-11/R21-11)
     31  * [#V2xMConfig V2xMConfig] (○/○/○/○/○)
     32    * [#V2xMSecurityConfig V2xMSecurityConfig] (○/○/○/○/○)
     33      * [#V2xMSecurityNvMBlockDescriptorLongTermCertificates V2xMSecurityNvMBlockDescriptorLongTermCertificates] (○/○/○/○/○)
     34      * [#V2xMSecurityNvMBlockDescriptorPseudonymCertificates V2xMSecurityNvMBlockDescriptorPseudonymCertificates] (○/○/○/○/○)
     35      * [#V2xMSecurityVerificationOnDemand V2xMSecurityVerificationOnDemand] (○/○/○/○/○)
     36      * [#V2xMSignatureGenerationConfigRef V2xMSignatureGenerationConfigRef] (○/○/○/○/○)
     37      * [#V2xMSignatureVerifyConfigRef V2xMSignatureVerifyConfigRef] (○/○/○/○/○)
     38  * [#V2xMGeneral V2xMGeneral] (○/○/○/○/○)
     39    * [#V2xMDevErrorDetect V2xMDevErrorDetect] (○/○/○/○/○)
     40    * [#V2xMEthIfCtrlRef V2xMEthIfCtrlRef] (○/○/○/○/○)
     41    * [#V2xMGptChannelConfigurationRef V2xMGptChannelConfigurationRef] (○/○/○/○/○)
     42    * [#V2xMMainFunctionPeriod V2xMMainFunctionPeriod] (○/○/○/○/○)
     43    * [#V2xMNvMBlockDescriptor V2xMNvMBlockDescriptor] (○/○/○/○/○)
     44    * [#V2xMStbMSynchronizedTimeBaseRef V2xMStbMSynchronizedTimeBaseRef] (○/○/-/-/-)
     45    * [#V2xMVersionInfoApi V2xMVersionInfoApi] (○/○/○/○/○)
     46
     47* エラーコード一覧
     48
     49  ||= エラーコード =||= Dec =||= Hex =||= R21-11 =||
     50  || V2XM_E_PARAM         ||  1|| 0x01||  ○  ||
     51  || V2XM_E_PARAM_POINTER ||  2|| 0x02||  ○  ||
     52  || V2XM_E_INIT_FAILED   ||  3|| 0x03||  ○  ||
     53  || V2XM_E_UNINIT        ||  4|| 0x04||  ○  ||
     54
    1555----
    16 {{{#!comment
    17 [執筆開始時削除エリア]ここまで
    18 ※コメントごと削除してください
    19 }}}
    20 
    21 = 概要 =
     56
     57= API仕様 =
     58
     59== V2xM_Init ==
     60{{{
     61void V2xM_Init (const void * CfgPtr)
     62}}}
     63
     64== V2xM_GetVersionInfo ==
     65{{{
     66void V2xM_GetVersionInfo (Std_VersionInfoType* VersionInfoPtr)
     67}}}
     68
     69== V2xM_GetPositionAndTime ==
     70{{{
     71Std_ReturnType V2xM_GetPositionAndTime (V2xM_PositionAndTimeType* Poti)
     72}}}
     73
     74== V2xM_GetRefTimePtr ==
     75{{{
     76Std_ReturnType V2xM_GetRefTimePtr (const uint32** RefTimePtr)
     77}}}
     78
     79== V2xM_V2xGn_ReqEncap ==
     80{{{
     81V2x_SecReturnType V2xM_V2xGn_ReqEncap (uint16 TransactionId16, V2x_SecProfileType SecProfile, uint16 UnsecuredDataLength, const uint8* UnsecuredDataPtr, uint16* SecuredDataLength, uint8* SecuredDataPtr)
     82}}}
     83
     84== V2xM_V2xGn_ReqDecap ==
     85{{{
     86V2x_SecReturnType V2xM_V2xGn_ReqDecap (uint32 TransactionId32, uint16 SecuredDataLength, const uint8* SecuredDataPtr, uint16* UnsecuredDataLength, uint8* UnsecuredDataPtr, V2xM_SecReportType* SecReport,  uint64* CertificateId, uint32* ItsAid, uint8* SspLength, uint8* SspBits)
     87}}}
     88
     89== V2xM_TriggerPseudonymChange ==
     90{{{
     91Std_ReturnType V2xM_TriggerPseudonymChange (void)
     92}}}
     93
     94== V2xM_LockPseudonymChange ==
     95{{{
     96Std_ReturnType V2xM_LockPseudonymChange (uint16 Duration, uint64* HandleId)
     97}}}
     98
     99== V2xM_UnlockPseudonymChange ==
     100{{{
     101Std_ReturnType V2xM_UnlockPseudonymChange (uint64 HandleId)
     102}}}
     103
     104== V2xM_V2xGn_SetGlobalRxParams ==
     105{{{
     106void V2xM_V2xGn_SetGlobalRxParams (const uint16* Cbr_Gs, const V2x_ChanType* Channel)
     107}}}
     108
     109== V2xM_V2xGn_GetGlobalTxParams ==
     110{{{
     111void V2xM_V2xGn_GetGlobalTxParams (const V2x_ChanType* channel, uint16* Cbr)
     112}}}
     113
     114== V2xM_CalcDistance ==
     115{{{
     116Std_ReturnType V2xM_CalcDistance (sint32 LatitudeA, sint32 LongitudeA, sint32 LatitudeB, sint32 LongitudeB, float32* Distance)
     117}}}
     118
     119== V2xM_CalcHeadingInTolerance ==
     120{{{
     121boolean V2xM_CalcHeadingInTolerance (float32 Heading1, float32 Heading2, float32 Tolerance)
     122}}}
     123
     124== V2xM_SetTollingZoneInformation ==
     125{{{
     126void V2xM_SetTollingZoneInformation (sint32 protectedZoneLatitude, sint32 protectedZoneLongitude, uint32 protectedZoneRadius, uint8 protectedZoneID)
     127}}}
     128
     129== V2xM_MainFunction ==
     130{{{
     131void V2xM_MainFunction (void)
     132}}}
    22133
    23134----
    24135
    25 = API仕様 =
    26 
    27 ----
    28 
    29136= コンフィギュレーション仕様 =
     137
     138== V2xMConfig ==
     139{{{
     140/AUTOSAR/EcucDefs/V2xM/V2xMConfig
     141}}}
     142* 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
     143* SWSタグ: ECUC_V2xM_00001
     144* タイプ: PARAM-CONF-CONTAINER
     145* 多重度: 1
     146
     147== V2xMSecurityConfig ==
     148{{{
     149/AUTOSAR/EcucDefs/V2xM/V2xMConfig/V2xMSecurityConfig
     150}}}
     151* 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
     152* SWSタグ: ECUC_V2xM_00002
     153* タイプ: PARAM-CONF-CONTAINER
     154* 多重度: 1
     155
     156== V2xMSecurityNvMBlockDescriptorLongTermCertificates ==
     157{{{
     158/AUTOSAR/EcucDefs/V2xM/V2xMConfig/V2xMSecurityConfig/V2xMSecurityNvMBlockDescriptorLongTermCertificates
     159}}}
     160* 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
     161* SWSタグ: ECUC_V2xM_00004
     162* タイプ:
     163  * R4.3.1: SYMBOLIC-NAME-REFERENCE
     164  * R4.4.0/R19-11/R20-11/R21-11: REFERENCE
     165* 多重度: 1
     166* 参照先: [wiki:spec/NvM#NvMBlockDescriptor /AUTOSAR/EcucDefs/NvM/NvMBlockDescriptor]
     167
     168== V2xMSecurityNvMBlockDescriptorPseudonymCertificates ==
     169{{{
     170/AUTOSAR/EcucDefs/V2xM/V2xMConfig/V2xMSecurityConfig/V2xMSecurityNvMBlockDescriptorPseudonymCertificates
     171}}}
     172* 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
     173* SWSタグ: ECUC_V2xM_00003
     174* タイプ:
     175  * R4.3.1: SYMBOLIC-NAME-REFERENCE
     176  * R4.4.0/R19-11/R20-11/R21-11: REFERENCE
     177* 多重度: 1
     178* 参照先: [wiki:spec/NvM#NvMBlockDescriptor /AUTOSAR/EcucDefs/NvM/NvMBlockDescriptor]
     179
     180== V2xMSecurityVerificationOnDemand ==
     181{{{
     182/AUTOSAR/EcucDefs/V2xM/V2xMConfig/V2xMSecurityConfig/V2xMSecurityVerificationOnDemand
     183}}}
     184* 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
     185* SWSタグ: ECUC_V2xM_00005
     186* タイプ: BOOLEAN-PARAM
     187* 多重度: 1
     188
     189== V2xMSignatureGenerationConfigRef ==
     190{{{
     191/AUTOSAR/EcucDefs/V2xM/V2xMConfig/V2xMSecurityConfig/V2xMSignatureGenerationConfigRef
     192}}}
     193* 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
     194* SWSタグ: ECUC_V2xM_00007
     195* タイプ: REFERENCE
     196* 多重度: 1
     197* 参照先: [wiki:spec/Csm#CsmSignatureGenerateConfig /AUTOSAR/EcucDefs/Csm/CsmPrimitives/CsmSignatureGenerate/CsmSignatureGenerateConfig]
     198
     199== V2xMSignatureVerifyConfigRef ==
     200{{{
     201/AUTOSAR/EcucDefs/V2xM/V2xMConfig/V2xMSecurityConfig/V2xMSignatureVerifyConfigRef
     202}}}
     203* 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
     204* SWSタグ: ECUC_V2xM_00006
     205* タイプ: REFERENCE
     206* 多重度: 1
     207* 参照先: [wiki:spec/Csm#CsmSignatureVerifyConfig /AUTOSAR/EcucDefs/Csm/CsmPrimitives/CsmSignatureVerify/CsmSignatureVerifyConfig]
     208
     209== V2xMGeneral ==
     210{{{
     211/AUTOSAR/EcucDefs/V2xM/V2xMGeneral
     212}}}
     213* 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
     214* SWSタグ: ECUC_V2xM_00008
     215* タイプ: PARAM-CONF-CONTAINER
     216* 多重度: 1
     217
     218== V2xMDevErrorDetect ==
     219{{{
     220/AUTOSAR/EcucDefs/V2xM/V2xMGeneral/V2xMDevErrorDetect
     221}}}
     222* 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
     223* SWSタグ: ECUC_V2xM_00009
     224* タイプ: BOOLEAN-PARAM
     225* 多重度: 1
     226* デフォルト値: false
     227
     228== V2xMEthIfCtrlRef ==
     229{{{
     230/AUTOSAR/EcucDefs/V2xM/V2xMGeneral/V2xMEthIfCtrlRef
     231}}}
     232* 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
     233* SWSタグ: ECUC_V2xM_00012
     234* タイプ:
     235  * R4.3.1: SYMBOLIC-NAME-REFERENCE
     236  * R4.4.0/R19-11/R20-11/R21-11: REFERENCE
     237* 多重度: 1
     238* 参照先: [wiki:spec/EthIf#EthIfController /AUTOSAR/EcucDefs/EthIf/EthIfConfigSet/EthIfController]
     239
     240== V2xMGptChannelConfigurationRef ==
     241{{{
     242/AUTOSAR/EcucDefs/V2xM/V2xMGeneral/V2xMGptChannelConfigurationRef
     243}}}
     244* 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
     245* SWSタグ: ECUC_V2xM_00013
     246* タイプ:
     247  * R4.3.1: SYMBOLIC-NAME-REFERENCE
     248  * R4.4.0/R19-11/R20-11/R21-11: REFERENCE
     249* 多重度: 0..1
     250* 参照先: [wiki:spec/Gpt#GptChannelConfiguration /AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration]
     251
     252== V2xMMainFunctionPeriod ==
     253{{{
     254/AUTOSAR/EcucDefs/V2xM/V2xMGeneral/V2xMMainFunctionPeriod
     255}}}
     256* 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
     257* SWSタグ: ECUC_V2xM_00015
     258* タイプ: FLOAT-PARAM
     259* 多重度: 1
     260* 上限値: 0.1
     261* 下限値: 0
     262* デフォルト値: 0.1
     263
     264== V2xMNvMBlockDescriptor ==
     265{{{
     266/AUTOSAR/EcucDefs/V2xM/V2xMGeneral/V2xMNvMBlockDescriptor
     267}}}
     268* 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
     269* SWSタグ: ECUC_V2xM_00011
     270* タイプ:
     271  * R4.3.1: SYMBOLIC-NAME-REFERENCE
     272  * R4.4.0/R19-11/R20-11/R21-11: REFERENCE
     273* 多重度: 1
     274* 参照先: [wiki:spec/NvM#NvMBlockDescriptor /AUTOSAR/EcucDefs/NvM/NvMBlockDescriptor]
     275
     276== V2xMStbMSynchronizedTimeBaseRef ==
     277{{{
     278/AUTOSAR/EcucDefs/V2xM/V2xMGeneral/V2xMStbMSynchronizedTimeBaseRef
     279}}}
     280* 対象リビジョン: R4.3.1/R4.4.0
     281* SWSタグ: ECUC_V2xM_00014
     282* タイプ:
     283  * R4.3.1: SYMBOLIC-NAME-REFERENCE
     284  * R4.4.0: REFERENCE
     285* 多重度: 0..1
     286* 参照先: [wiki:spec/StbM#StbMSynchronizedTimeBase /AUTOSAR/EcucDefs/StbM/StbMSynchronizedTimeBase]
     287
     288== V2xMVersionInfoApi ==
     289{{{
     290/AUTOSAR/EcucDefs/V2xM/V2xMGeneral/V2xMVersionInfoApi
     291}}}
     292* 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
     293* SWSタグ: ECUC_V2xM_00010
     294* タイプ: BOOLEAN-PARAM
     295* 多重度: 1
     296* デフォルト値: false
     297