Changes between Version 8 and Version 9 of spec/ComM


Ignore:
Timestamp:
Dec 6, 2022, 3:41:07 PM (17 months ago)
Author:
fujisft-kaji
Comment:

API一覧のID[Dec]を右詰に統一 / API仕様のComM_Initに、R21-11の記載がないため追加  / ComM_MainFunctionXXXを変更ではなく別関数扱いに修正

Legend:

Unmodified
Added
Removed
Modified
  • spec/ComM

    v8 v9  
    1111
    1212  ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||= R4.0.3 =||= R4.2.2 =||= R21-11 =||
    13   || [#ComM_Init ComM_Init]                                                                 ||  1|| 0x01||  ○  ||  ○  ||  ○  ||
    14   || [#ComM_DeInit ComM_DeInit]                                                             ||  2|| 0x02||  ○  ||  ○  ||  ○  ||
    15   || [#ComM_GetState ComM_GetState]                                                         || 52|| 0x34||  ○  ||  ○  ||  -   ||
    16   || [#ComM_GetStatus ComM_GetStatus]                                                       ||  3|| 0x03||  ○  ||  ○  ||  ○  ||
    17   || [#ComM_GetInhibitionStatus ComM_GetInhibitionStatus]                                   ||  4|| 0x04||  ○  ||  ○  ||  ○  ||
    18   || [#ComM_RequestComMode ComM_RequestComMode]                                             ||  5|| 0x05||  ○  ||  ○  ||  ○  ||
    19   || [#ComM_GetMaxComMode ComM_GetMaxComMode]                                               ||  6|| 0x06||  ○  ||  ○  ||  ○  ||
    20   || [#ComM_GetRequestedComMode ComM_GetRequestedComMode]                                   ||  7|| 0x07||  ○  ||  ○  ||  ○  ||
    21   || [#ComM_GetCurrentComMode ComM_GetCurrentComMode]                                       ||  8|| 0x08||  ○  ||  ○  ||  ○  ||
    22   || [#ComM_GetCurrentPNCComMode ComM_GetCurrentPNCComMode]                                 ||106|| 0x6A||  -   ||  -   ||  ○  ||
    23   || [#ComM_GetPncToChannelMapping ComM_GetPncToChannelMapping]                             ||104|| 0x68||  -   ||  -   ||  ○  ||
    24   || [#ComM_UpdatePncToChannelMapping ComM_UpdatePncToChannelMapping]                       || 98|| 0x62||  -   ||  -   ||  ○  ||
    25   || [#ComM_ResetPncToChannelMapping ComM_ResetPncToChannelMapping]                         || 99|| 0x63||  -   ||  -   ||  ○  ||
    26   || [#ComM_PnLearningRequest ComM_PnLearningRequest]                                       ||100|| 0x64||  -   ||  -   ||  ○  ||
    27   || [#ComM_UpdatePncMembership ComM_UpdatePncMembership]                                   ||101|| 0x65||  -   ||  -   ||  ○  ||
    28   || [#ComM_PreventWakeUp ComM_PreventWakeUp]                                               ||  9|| 0x09||  ○  ||  ○  ||  ○  ||
    29   || [#ComM_LimitChannelToNoComMode ComM_LimitChannelToNoComMode]                           || 11|| 0x0B||  ○  ||  ○  ||  ○  ||
    30   || [#ComM_LimitECUToNoComMode ComM_LimitECUToNoComMode]                                   || 12|| 0x0C||  ○  ||  ○  ||  ○  ||
    31   || [#ComM_ReadInhibitCounter ComM_ReadInhibitCounter]                                     || 13|| 0x0D||  ○  ||  ○  ||  ○  ||
    32   || [#ComM_ResetInhibitCounter ComM_ResetInhibitCounter]                                   || 14|| 0x0E||  ○  ||  ○  ||  ○  ||
    33   || [#ComM_SetECUGroupClassification ComM_SetECUGroupClassification]                       || 15|| 0x0F||  ○  ||  ○  ||  ○  ||
    34   || [#ComM_GetVersionInfo ComM_GetVersionInfo]                                             || 16|| 0x10||  ○  ||  ○  ||  ○  ||
    35   || [#ComM_Nm_NetworkStartIndication ComM_Nm_NetworkStartIndication]                       || 21|| 0x15||  ○  ||  ○  ||  ○  ||
    36   || [#ComM_Nm_NetworkMode ComM_Nm_NetworkMode]                                             || 24|| 0x18||  ○  ||  ○  ||  ○  ||
    37   || [#ComM_Nm_PrepareBusSleepMode ComM_Nm_PrepareBusSleepMode]                             || 25|| 0x19||  ○  ||  ○  ||  ○  ||
    38   || [#ComM_Nm_BusSleepMode ComM_Nm_BusSleepMode]                                           || 26|| 0x1A||  ○  ||  ○  ||  ○  ||
    39   || [#ComM_Nm_RestartIndication ComM_Nm_RestartIndication]                                 || 27|| 0x1B||  ○  ||  ○  ||  ○  ||
    40   || [#ComM_Nm_RepeatMessageLeftIndication ComM_Nm_RepeatMessageLeftIndication]             ||102|| 0x66||  -   ||  -   ||  ○  ||
    41   || [#ComM_Nm_PncLearningBitIndication ComM_Nm_PncLearningBitIndication]                   ||105|| 0x69||  -   ||  -   ||  ○  ||
    42   || [#ComM_Nm_ForwardSynchronizedPncShutdown ComM_Nm_ForwardSynchronizedPncShutdown]       ||107|| 0x6B||  -   ||  -   ||  ○  ||
    43   || [#ComM_Nm_UpdateEIRA ComM_Nm_UpdateEIRA]                                               ||108|| 0x6C||  -   ||  -   ||  ○  ||
    44   || [#ComM_Nm_UpdateERA ComM_Nm_UpdateERA]                                                 ||109|| 0x6D||  -   ||  -   ||  ○  ||
    45   || [#ComM_DCM_ActiveDiagnostic ComM_DCM_ActiveDiagnostic]                                 || 31|| 0x1F||  ○  ||  ○  ||  ○  ||
    46   || [#ComM_DCM_InactiveDiagnostic ComM_DCM_InactiveDiagnostic]                             || 32|| 0x20||  ○  ||  ○  ||  ○  ||
    47   || [#ComM_EcuM_WakeUpIndication ComM_EcuM_WakeUpIndication]                               || 42|| 0x2A||  ○  ||  ○  ||  ○  ||
    48   || [#ComM_EcuM_PNCWakeUpIndication ComM_EcuM_PNCWakeUpIndication]                         || 55|| 0x37||  -   ||  -   ||  ○  ||
    49   || [#ComM_CommunicationAllowed ComM_CommunicationAllowed]                                 || 53|| 0x35||  ○  ||  ○  ||  ○  ||
    50   || [#ComM_BusSM_ModeIndication ComM_BusSM_ModeIndication]                                 || 51|| 0x33||  ○  ||  ○  ||  ○  ||
    51   || [#ComM_BusSM_BusSleepMode ComM_BusSM_BusSleepMode]                                     || 52|| 0x34||  -   ||  -   ||  ○  ||
    52   || [#ComM_MainFunction_Channel_Id ComM_MainFunction_<Channel_Id>]                         || 96|| 0x60||  ○  ||  ○  ||  ○  ||
     13  || [#ComM_Init ComM_Init]                                                                 ||   1|| 0x01||  ○  ||  ○  ||  ○  ||
     14  || [#ComM_DeInit ComM_DeInit]                                                             ||   2|| 0x02||  ○  ||  ○  ||  ○  ||
     15  || [#ComM_GetState ComM_GetState]                                                         ||  52|| 0x34||  ○  ||  ○  ||  -   ||
     16  || [#ComM_GetStatus ComM_GetStatus]                                                       ||   3|| 0x03||  ○  ||  ○  ||  ○  ||
     17  || [#ComM_GetInhibitionStatus ComM_GetInhibitionStatus]                                   ||   4|| 0x04||  ○  ||  ○  ||  ○  ||
     18  || [#ComM_RequestComMode ComM_RequestComMode]                                             ||   5|| 0x05||  ○  ||  ○  ||  ○  ||
     19  || [#ComM_GetMaxComMode ComM_GetMaxComMode]                                               ||   6|| 0x06||  ○  ||  ○  ||  ○  ||
     20  || [#ComM_GetRequestedComMode ComM_GetRequestedComMode]                                   ||   7|| 0x07||  ○  ||  ○  ||  ○  ||
     21  || [#ComM_GetCurrentComMode ComM_GetCurrentComMode]                                       ||   8|| 0x08||  ○  ||  ○  ||  ○  ||
     22  || [#ComM_GetCurrentPNCComMode ComM_GetCurrentPNCComMode]                                 || 106|| 0x6A||  -   ||  -   ||  ○  ||
     23  || [#ComM_GetPncToChannelMapping ComM_GetPncToChannelMapping]                             || 104|| 0x68||  -   ||  -   ||  ○  ||
     24  || [#ComM_UpdatePncToChannelMapping ComM_UpdatePncToChannelMapping]                       ||  98|| 0x62||  -   ||  -   ||  ○  ||
     25  || [#ComM_ResetPncToChannelMapping ComM_ResetPncToChannelMapping]                         ||  99|| 0x63||  -   ||  -   ||  ○  ||
     26  || [#ComM_PnLearningRequest ComM_PnLearningRequest]                                       || 100|| 0x64||  -   ||  -   ||  ○  ||
     27  || [#ComM_UpdatePncMembership ComM_UpdatePncMembership]                                   || 101|| 0x65||  -   ||  -   ||  ○  ||
     28  || [#ComM_PreventWakeUp ComM_PreventWakeUp]                                               ||   9|| 0x09||  ○  ||  ○  ||  ○  ||
     29  || [#ComM_LimitChannelToNoComMode ComM_LimitChannelToNoComMode]                           ||  11|| 0x0B||  ○  ||  ○  ||  ○  ||
     30  || [#ComM_LimitECUToNoComMode ComM_LimitECUToNoComMode]                                   ||  12|| 0x0C||  ○  ||  ○  ||  ○  ||
     31  || [#ComM_ReadInhibitCounter ComM_ReadInhibitCounter]                                     ||  13|| 0x0D||  ○  ||  ○  ||  ○  ||
     32  || [#ComM_ResetInhibitCounter ComM_ResetInhibitCounter]                                   ||  14|| 0x0E||  ○  ||  ○  ||  ○  ||
     33  || [#ComM_SetECUGroupClassification ComM_SetECUGroupClassification]                       ||  15|| 0x0F||  ○  ||  ○  ||  ○  ||
     34  || [#ComM_GetVersionInfo ComM_GetVersionInfo]                                             ||  16|| 0x10||  ○  ||  ○  ||  ○  ||
     35  || [#ComM_Nm_NetworkStartIndication ComM_Nm_NetworkStartIndication]                       ||  21|| 0x15||  ○  ||  ○  ||  ○  ||
     36  || [#ComM_Nm_NetworkMode ComM_Nm_NetworkMode]                                             ||  24|| 0x18||  ○  ||  ○  ||  ○  ||
     37  || [#ComM_Nm_PrepareBusSleepMode ComM_Nm_PrepareBusSleepMode]                             ||  25|| 0x19||  ○  ||  ○  ||  ○  ||
     38  || [#ComM_Nm_BusSleepMode ComM_Nm_BusSleepMode]                                           ||  26|| 0x1A||  ○  ||  ○  ||  ○  ||
     39  || [#ComM_Nm_RestartIndication ComM_Nm_RestartIndication]                                 ||  27|| 0x1B||  ○  ||  ○  ||  ○  ||
     40  || [#ComM_Nm_RepeatMessageLeftIndication ComM_Nm_RepeatMessageLeftIndication]             || 102|| 0x66||  -   ||  -   ||  ○  ||
     41  || [#ComM_Nm_PncLearningBitIndication ComM_Nm_PncLearningBitIndication]                   || 105|| 0x69||  -   ||  -   ||  ○  ||
     42  || [#ComM_Nm_ForwardSynchronizedPncShutdown ComM_Nm_ForwardSynchronizedPncShutdown]       || 107|| 0x6B||  -   ||  -   ||  ○  ||
     43  || [#ComM_Nm_UpdateEIRA ComM_Nm_UpdateEIRA]                                               || 108|| 0x6C||  -   ||  -   ||  ○  ||
     44  || [#ComM_Nm_UpdateERA ComM_Nm_UpdateERA]                                                 || 109|| 0x6D||  -   ||  -   ||  ○  ||
     45  || [#ComM_DCM_ActiveDiagnostic ComM_DCM_ActiveDiagnostic]                                 ||  31|| 0x1F||  ○  ||  ○  ||  ○  ||
     46  || [#ComM_DCM_InactiveDiagnostic ComM_DCM_InactiveDiagnostic]                             ||  32|| 0x20||  ○  ||  ○  ||  ○  ||
     47  || [#ComM_EcuM_WakeUpIndication ComM_EcuM_WakeUpIndication]                               ||  42|| 0x2A||  ○  ||  ○  ||  ○  ||
     48  || [#ComM_EcuM_PNCWakeUpIndication ComM_EcuM_PNCWakeUpIndication]                         ||  55|| 0x37||  -   ||  -   ||  ○  ||
     49  || [#ComM_CommunicationAllowed ComM_CommunicationAllowed]                                 ||  53|| 0x35||  ○  ||  ○  ||  ○  ||
     50  || [#ComM_BusSM_ModeIndication ComM_BusSM_ModeIndication]                                 ||  51|| 0x33||  ○  ||  ○  ||  ○  ||
     51  || [#ComM_BusSM_BusSleepMode ComM_BusSM_BusSleepMode]                                     ||  52|| 0x34||  -   ||  -   ||  ○  ||
     52  || [#ComM_MainFunction_Channel_Id ComM_MainFunction_<Channel_Id>]                         ||  96|| 0x60||  ○  ||  ○  ||  -   ||
     53  || [#ComM_MainFunction_ComMChannel.ShortName ComM_MainFunction_<ComMChannel.ShortName>] ||  96|| 0x60||  -   ||  -   ||  ○  ||
    5354
    5455* コンフィギュレーション一覧 (R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11/R21-11)
     
    129130}}}
    130131
    131 * R4.2.2
     132* R4.2.2 / R21-11
    132133{{{
    133134void ComM_Init(const ComM_ConfigType* ConfigPtr)
     
    331332
    332333== ComM_MainFunction_<Channel_Id> ==
    333 * R4.0.3 / R4.2.2
    334334{{{
    335335void ComM_MainFunction_<Channel_Id>(void)
    336336}}}
    337337
    338 * R21-11
     338== ComM_MainFunction_<ComMChannel.ShortName> ==
    339339{{{
    340340void ComM_MainFunction_<ComMChannel.ShortName> (void)