Страница 1 мировой engineering стандарты общая спецификация



Download 1,29 Mb.
Pdf ko'rish
bet319/435
Sana02.08.2022
Hajmi1,29 Mb.
#846314
1   ...   315   316   317   318   319   320   321   322   ...   435
Bog'liq
WORLDWIDE ENGINEERING STANDARDS General Motors Local Ar

CPID_Array[].CPID
This variable is the CPID Identifier number
$01 to $FE
CPID_Array[].Security
This is a flag used to track whether or not a CPID requires security access
before allowing the activation of any of the functions controllable via this CPID.
YES/NO
CPID_Array[].Length
This variable defines the expected number of bytes for a given CPID. It is used
to compare against the number of control bytes in the request message to
validate that the request is correctly formatted.
$00 to $05
CPID_Array[].SecurityCodeAccess
This is a flag used to track whether or not a CPID requires security code
access before allowing the activation of any of the functions controllable via this
CPID.
YES/NO
Page 244
GM WORLDWIDE ENGINEERING STANDARDS
GMW3110
Variable/Meaning
Values
Secure_CPID
This is a flag which is used to keep track of whether or not the requested CPID
is one which requires security access.
YES/NO
Valid_CPID_Data_Length
This is a flag which is used to keep track of whether or not the number of
control bytes in the request message is valid.
YES/NO
Valid_Msg_Length
This is a flag used in the initial message length check which verifies that the
request is a single frame and includes at least a CPID number.
YES/NO
SecurityCodeAccess_CPID
This is a flag which is used to keep track of whether or not the requested CPID
is one which requires security code access.
YES / NO
8.20.6.2 Node Interface Pseudo Code.
Powerup States:
Set all the individual device control status flags to FALSE
The following logic is executed each time a Mode $AE message is received by the device:
BEGINFUNCTION Serv_AE_Msg_Recvd()
IF ((message_data_length > 7) OR (message_data_length < 2)) THEN
send Negative Response ($7F $AE $12) /* Invalid Format.*/
Valid_Msg_Length ←
NO
ELSE
Valid_Msg_Length ←
YES
Valid_CPID ←
NO
Secure_CPID ←
NO
Valid_CPID_Data_Length ←
NO
FOR (CPID_Index ←
$00 TO (Num_Supported_CPIDs - $01) BY $01)
IF (CPID_Array[CPID_Index].CPID = $CPID) THEN
Valid_CPID ←
YES
IF (CPID_Array[CPID_Index].Security = YES) THEN
Secure_CPID ←
YES
ENDIF
IF (CPID_Array[CPID_Index].SecurityCodeAccess = YES) THEN
SecurityCodeAccess_CPID ←
YES
ENDIF
IF (CPID_Array[CPID_Index].Length=(message_data_length-$02)) THEN


25.06.2020
WORLDWIDE ENGINEERING STANDARDS General Motors Local Area Network Enhanced Diagnostic Test Mode Specification
https://translate.googleusercontent.com/translate_f
217/298
© Copyright 2010 General Motors All Rights Reserved
February 2010
Page 244 of 336
Valid_CPID_Data_Length ←
YES
ENDIF
CPID_Index ←
Num_Supported_CPIDs
ENDIF
ENDFOR
ENDIF
IF (Valid_Msg_Length = YES) THEN

Download 1,29 Mb.

Do'stlaringiz bilan baham:
1   ...   315   316   317   318   319   320   321   322   ...   435




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish