Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
haoJin750TFT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
时昊
haoJin750TFT
Commits
f086b2a3
Commit
f086b2a3
authored
Sep 06, 2024
by
张金硕
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://tyw-server.synology.me:12345/shihao/haojin750tft
into jinshuo
parents
63456160
3acfc682
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
194 additions
and
33 deletions
+194
-33
HaoJin750TFT.uvprojx
.../Project/Cmsemicon/BAT32A279/MDK_ARM/HaoJin750TFT.uvprojx
+5
-5
BlueTooth.h
Firmware/Source/Application/BlueTooth.h
+6
-0
AMT630H_Datas.c
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
+100
-21
AMT630H_Datas.h
Firmware/Source/Component/AMT630H/AMT630H_Datas.h
+1
-0
PicBin.c
Firmware/Source/Component/AMT630H/PicBin.c
+1
-1
PicBin.h
Firmware/Source/Component/AMT630H/PicBin.h
+6
-2
Key_user.c
Firmware/Source/Component/Key/Key_user.c
+13
-1
Key_user.h
Firmware/Source/Component/Key/Key_user.h
+2
-0
Menu_Interface.c
Firmware/Source/Component/Menu/Menu_Interface.c
+7
-0
PowerManag_user.c
Firmware/Source/Component/PowerManagement/PowerManag_user.c
+1
-0
Telltales_user.c
Firmware/Source/Component/Telltales/Telltales_user.c
+38
-0
Telltales_user.h
Firmware/Source/Component/Telltales/Telltales_user.h
+5
-0
Sys_Task_List.c
Firmware/Source/System/Sys_Task_List.c
+3
-2
UDS_ISO14229_Server.c
Firmware/Source/UDS/UDS_ISO14229_Server.c
+6
-1
No files found.
Firmware/Project/Cmsemicon/BAT32A279/MDK_ARM/HaoJin750TFT.uvprojx
View file @
f086b2a3
...
...
@@ -978,11 +978,6 @@
<FileType>
5
</FileType>
<FilePath>
..\..\..\..\Source\Component\AMT630H\PicBin.h
</FilePath>
</File>
<File>
<FileName>
kei_S1.0.6_20240827.lib
</FileName>
<FileType>
4
</FileType>
<FilePath>
..\..\..\..\Source\Component\AMT630H\kei_S1.0.6_20240827.lib
</FilePath>
</File>
<File>
<FileName>
UartProtocol.h
</FileName>
<FileType>
5
</FileType>
...
...
@@ -1018,6 +1013,11 @@
<FileType>
5
</FileType>
<FilePath>
..\..\..\..\Source\Component\System_Monitor\System_Monitor_User.h
</FilePath>
</File>
<File>
<FileName>
kei_S1.0.6_20240827.lib
</FileName>
<FileType>
4
</FileType>
<FilePath>
..\..\..\..\Source\Component\AMT630H\kei_S1.0.6_20240827.lib
</FilePath>
</File>
</Files>
</Group>
<Group>
...
...
Firmware/Source/Application/BlueTooth.h
View file @
f086b2a3
...
...
@@ -23,6 +23,9 @@ typedef struct {
uint16_t
Vaild
;
}
TEXT_STRUCT
;
/*QRCode X Y height Width*/
#define QRCode_X 178
#define QRCode_Y 130
...
...
@@ -34,5 +37,8 @@ typedef struct {
extern
void
BlueToothService
(
void
);
extern
_PICID_Struct
PicObj
;
extern
_QRCODE_RECT
QRCode_Rect
;
extern
uint8_t
PhoneNumber
[
40
];
extern
uint8_t
CurBlueToothPhoneName
[
100
];
extern
TEXT_STRUCT
TextPara
[];
#endif
\ No newline at end of file
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
View file @
f086b2a3
...
...
@@ -2972,7 +2972,7 @@ static void AMT630H_GUI_Light()
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0737_875_23
);
}
if
(
Get_TelltalesLedSts
(
em_LED_Bluetooth
)
)
if
(
BlueToothPhoneData
.
BlueToothSignalSate
==
BlueTooth_Connection
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0740_682_21
);
}
...
...
@@ -3143,33 +3143,111 @@ static void AMT630H_GUI_PhoneConnect_TIME(uint16_t Hour ,uint16_t Minute)
*/
static
void
AMT630H_GUI_Telephone
()
{
if
(
BlueToothPhoneData
.
BlueToothPhoneSate
==
Phone_Outgoing
)
{
//SetPagePic(GRAPHICS_PAGE_0, );
}
else
if
(
BlueToothPhoneData
.
BlueToothPhoneSate
==
Phone_Talking
)
{
//SetPagePic(GRAPHICS_PAGE_0, );
}
else
if
(
BlueToothPhoneData
.
BlueToothPhoneSate
==
Phone_Incoming
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0548_62_401
);
if
(
BlueToothPhoneData
.
BlueToothSignalSate
==
BlueTooth_Connection
)
{
if
(
BlueToothPhoneData
.
BlueToothPhoneSate
==
Phone_Outgoing
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0939_62_401
);
if
(
g_u8Display_Mode
==
ModeDAY
)
{
if
(
TextPara
[
TEXT_NUM_BLUETOOTH_PHONENAME
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x4022
,(
uint8_t
*
)
CurBlueToothPhoneName
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4022
,
53
,
463
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
if
(
TextPara
[
TEXT_NUM_PHONE_NUMBER
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x4009
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4009
,
54
,
499
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
else
if
(
g_u8Display_Mode
==
ModeNIGHT
)
{
if
(
TextPara
[
TEXT_NUM_BLUETOOTH_PHONENAME
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x4022
,(
uint8_t
*
)
CurBlueToothPhoneName
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4022
,
53
,
463
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
if
(
TextPara
[
TEXT_NUM_PHONE_NUMBER
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x4009
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4009
,
54
,
499
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
}
else
if
(
BlueToothPhoneData
.
BlueToothPhoneSate
==
Phone_Talking
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0938_62_399
);
if
(
g_u8Display_Mode
==
ModeDAY
)
{
if
(
TextPara
[
TEXT_NUM_BLUETOOTH_PHONENAME
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x4022
,(
uint8_t
*
)
CurBlueToothPhoneName
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4022
,
53
,
463
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
if
(
TextPara
[
TEXT_NUM_PHONE_NUMBER
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x4009
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4009
,
54
,
499
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
else
if
(
g_u8Display_Mode
==
ModeNIGHT
)
{
if
(
TextPara
[
TEXT_NUM_BLUETOOTH_PHONENAME
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x4022
,(
uint8_t
*
)
CurBlueToothPhoneName
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4022
,
53
,
463
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
if
(
TextPara
[
TEXT_NUM_PHONE_NUMBER
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x4009
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4009
,
54
,
499
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
}
else
if
(
BlueToothPhoneData
.
BlueToothPhoneSate
==
Phone_Incoming
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0548_62_401
);
if
(
g_u8Display_Mode
==
ModeDAY
)
{
if
(
TextPara
[
TEXT_NUM_BLUETOOTH_PHONENAME
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x4022
,(
uint8_t
*
)
CurBlueToothPhoneName
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4022
,
53
,
463
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
if
(
TextPara
[
TEXT_NUM_PHONE_NUMBER
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x4009
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4009
,
54
,
499
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
else
if
(
g_u8Display_Mode
==
ModeNIGHT
)
{
if
(
TextPara
[
TEXT_NUM_BLUETOOTH_PHONENAME
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x4022
,(
uint8_t
*
)
CurBlueToothPhoneName
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4022
,
53
,
463
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
if
(
TextPara
[
TEXT_NUM_PHONE_NUMBER
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x4009
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4009
,
54
,
499
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
}
else
{
;
}
}
else
{
;
}
uint8_t
*
BLUETOOTH_PHONENAME
=
(
uint8_t
*
)
TEXT_NUM_BLUETOOTH_PHONENAME
;
uint8_t
*
PHONE_NUMBER
=
(
uint8_t
*
)
TEXT_NUM_PHONE_NUMBER
;
/*联系人*/
PackedTransfer_LabelsList
(
0x4007
,
BLUETOOTH_PHONENAME
,
22
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4007
,
200
,
200
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
/*手机号码*/
PackedTransfer_LabelsList
(
0x4009
,
PHONE_NUMBER
,
22
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4009
,
200
,
200
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
/*
*NAME : AMT630H_GUI_Fuel
*FUNCTION : 燃油显示函数
...
...
@@ -4179,6 +4257,7 @@ void AMT630H_GUI_BACKGRAND()
AMT630H_GUI_Light
();
AMT630H_GUI_TIME
(
Get_Dis_Hour_Time
(),
Get_Dis_Minute_Time
());
AMT630H_GUI_Telephone
();
/*燃油*/
if
(
Get_Fuel_Sensor_State
()
==
FuelSensorNormal
)
{
...
...
Firmware/Source/Component/AMT630H/AMT630H_Datas.h
View file @
f086b2a3
...
...
@@ -61,6 +61,7 @@ extern void AMT630H_GUI_SELFCHECK_STS_INIT(void);
extern
uint8_t
g_u8Display_Mode
;
extern
uint8_t
g_u8Display_Mode_select
;
extern
uint8_t
g_u8SelfCheck
;
...
...
Firmware/Source/Component/AMT630H/PicBin.c
View file @
f086b2a3
...
...
@@ -118,7 +118,7 @@ static const uint16_t PicIndexData[] = {
Pic_0910
,
13
,
639
,
293
,
Pic_0911
,
17
,
636
,
292
,
Pic_0912
,
13
,
639
,
293
,
Pic_0913
,
17
,
636
,
292
,
Pic_0914
,
13
,
638
,
293
,
Pic_0915
,
16
,
636
,
293
,
Pic_0916
,
11
,
640
,
293
,
Pic_0917
,
14
,
639
,
293
,
Pic_0899
,
11
,
638
,
293
,
Pic_0918
,
3
,
643
,
293
,
Pic_0898
,
14
,
637
,
293
,
Pic_0897
,
15
,
637
,
292
,
Pic_0919
,
11
,
640
,
293
,
Pic_0920
,
12
,
639
,
293
,
Pic_0921
,
14
,
638
,
293
,
Pic_0922
,
14
,
638
,
292
,
Pic_0923
,
14
,
638
,
293
,
Pic_0924
,
15
,
637
,
293
,
Pic_0925
,
221
,
501
,
160
,
Pic_0926
,
50
,
619
,
240
,
Pic_0926
,
50
,
619
,
175
,
Pic_0927
,
50
,
619
,
240
,
Pic_0927
,
50
,
619
,
175
,
Pic_0928
,
75
,
894
,
310
,
Pic_0929
,
75
,
894
,
310
,
Pic_0930
,
64
,
612
,
240
,
Pic_0930
,
64
,
612
,
175
,
Pic_0931
,
64
,
612
,
240
,
Pic_0931
,
64
,
612
,
175
,
Pic_0932
,
777
,
124
,
85
,
Pic_0933
,
317
,
101
,
210
,
Pic_0934
,
209
,
102
,
260
,
Pic_0935
,
461
,
36
,
367
,
Pic_0936
,
350
,
92
,
367
,
Pic_0937
,
323
,
564
,
521
,
Pic_0933
,
317
,
101
,
210
,
Pic_0934
,
209
,
102
,
260
,
Pic_0935
,
461
,
36
,
367
,
Pic_0936
,
350
,
92
,
367
,
Pic_0937
,
323
,
564
,
521
,
Pic_0938
,
41
,
62
,
399
,
Pic_0939
,
41
,
62
,
401
,
};
#define PicIndexData_LEN 14888
//uint32_t PicIndexDataLEN = 0;
...
...
Firmware/Source/Component/AMT630H/PicBin.h
View file @
f086b2a3
#ifndef PICBIN_H
#define PICBIN_H
/* Flash Bin Version:20240
828 2024-08-28 15:55:32
Compression ratio:70.00% */
/* Flash Bin Version:20240
902 2024-09-02 13:18:34
Compression ratio:70.00% */
#define Pic_0001 1
#define Pic_0002 2
#define Pic_0003 3
...
...
@@ -939,6 +939,8 @@
#define Pic_0935 935
#define Pic_0936 936
#define Pic_0937 937
#define Pic_0938 938
#define Pic_0939 939
enum
{
Pic_0001_0_0
=
0
,
...
...
@@ -2121,9 +2123,11 @@ enum {
Pic_0935_36_367
,
Pic_0936_92_367
,
Pic_0937_564_521
,
Pic_0938_62_399
,
Pic_0939_62_401
,
};
#define PIC_INDEX_DATA_CRC 0x
D0B47BE
6
#define PIC_INDEX_DATA_CRC 0x
53F47F4
6
extern
void
User_PicIndexDataInit
(
void
);
#endif
Firmware/Source/Component/Key/Key_user.c
View file @
f086b2a3
...
...
@@ -5,7 +5,7 @@
__align
(
4
)
#define BACK_MENU_TIME
10
00
#define BACK_MENU_TIME
8
00
_Menu_Data
MenuData
;
RTC_TimeTypeDef
RTC_TimeStruct
;
RTC_DateTypeDef
RTC_DateStruct
;
...
...
@@ -385,6 +385,18 @@ void Get_DisTime_Service(void)
}
void
My_Key_Service
(
void
)
{
/* 自检时不可操作按键 */
if
(
g_u8SelfCheck
)
{
if
(
Get_ActualVechileSpeed
()
==
0
)
{
Key_Service
();
}
}
}
uint8_t
Get_Dis_Hour_Time
(
void
)
{
return
MenuData
.
u8Dis_Hour
;
...
...
Firmware/Source/Component/Key/Key_user.h
View file @
f086b2a3
...
...
@@ -77,6 +77,8 @@ uint8_t Get_Dis_Bluetooth_Open_Close(void);
uint8_t
Get_Dis_Language
(
void
);
void
Get_DisTime_Service
(
void
);
extern
void
My_Key_Service
(
void
);
#endif
Firmware/Source/Component/Menu/Menu_Interface.c
View file @
f086b2a3
...
...
@@ -395,6 +395,13 @@ void Menu_Logic_Operation_Clock_Hour_Tenb_Set(Menu_Key_en_t enKeyType)
datmax
=
2u
;
datmin
=
0u
;
Menu_u8Data_Updata_Process
(
updataDir
,
datmax
,
datmin
,
1u
,
(
uint8_t
*
)
&
(
MenuData
.
Dis_Hour_Tenb
));
if
(
MenuData
.
Dis_Hour_Tenb
==
2U
)
{
if
(
MenuData
.
Dis_Hour_Bit
>
3U
)
{
MenuData
.
Dis_Hour_Bit
=
0U
;
}
}
MenuData
.
u8Dis_Hour
=
(
MenuData
.
Dis_Hour_Tenb
*
10
+
MenuData
.
Dis_Hour_Bit
);
MenuData
.
u8Dis_Minute
=
(
MenuData
.
Dis_Minute_Tenb
*
10
+
MenuData
.
Dis_Minute_Bit
);
}
...
...
Firmware/Source/Component/PowerManagement/PowerManag_user.c
View file @
f086b2a3
...
...
@@ -137,6 +137,7 @@ static void Power_IG_ON_Init(void)
AMT630H_Animation_IGON
();
// Amt630hInit();
AMT630H_GUI_SELFCHECK_STS_INIT
();
Menu_Service
(
MENU_KEY_TIMEOUT
);
/* 菜单回到初始界面 */
}
static
void
Power_Sleep_Init
(
void
)
...
...
Firmware/Source/Component/Telltales/Telltales_user.c
View file @
f086b2a3
...
...
@@ -470,3 +470,41 @@ static void LED_E_Execution(Tellib_uint16_t led_status)
;
}
Tellib_uint8_t
g_u8UDSreadprec
=
0U
;
Tellib_uint8_t
g_u8UDSreadprec_flag
=
0U
;
Tellib_uint16_t
g_u16UDSreadprec_time
=
0U
;
void
UDS_Read_Preconditions
(
void
)
{
if
(
g_u8UDSreadprec
>
0
)
{
g_u16UDSreadprec_time
++
;
}
if
(
Get_TelltalesLedSts
(
em_LED_High_Beam
))
{
if
(
g_u8UDSreadprec_flag
==
0U
)
{
g_u8UDSreadprec_flag
=
1U
;
}
}
else
{
if
(
g_u8UDSreadprec_flag
==
1U
)
{
g_u8UDSreadprec_flag
=
0U
;
if
(
g_u8UDSreadprec
<
5U
)
{
g_u8UDSreadprec
++
;
}
}
}
if
(
g_u8UDSreadprec
<
5
)
{
if
(
g_u16UDSreadprec_time
>
100U
)
{
g_u16UDSreadprec_time
=
0U
;
g_u8UDSreadprec
=
0U
;
}
}
}
Firmware/Source/Component/Telltales/Telltales_user.h
View file @
f086b2a3
...
...
@@ -26,4 +26,9 @@ typedef enum
extern
Tellib_uint8_t
Auto_Start_Stop
;
void
Telltales_Init
(
void
);
Tellib_uint8_t
Telltales_Voltage_Date
(
void
);
extern
Tellib_uint8_t
g_u8UDSreadprec
;
extern
Tellib_uint16_t
g_u16UDSreadprec_time
;
extern
void
UDS_Read_Preconditions
(
void
);
#endif
Firmware/Source/System/Sys_Task_List.c
View file @
f086b2a3
...
...
@@ -20,7 +20,7 @@ void Sys_2ms_Tasks(void)
Sys_Status_Update_Service
();
Analog_Signal_Conv_Service
();
AMT630H_Main
();
Check_MCU_Info_in_630H
();
//
Check_MCU_Info_in_630H();
DoCAN_Timer_Update
(
2000u
);
//Can_Write_Fun(&CAN_CH0_CanMsgTxOp, 2000u);无外发
CanMSg_XMS_Analysis
(
&
CAN_CH0_CanMsgOp
,
2u
);
...
...
@@ -35,7 +35,7 @@ void Sys_10ms_Tasks(void)
{
FaultCode_Service
(
10u
);
Line_In_Debounce_Service
(
10u
);
Key_Service
();
My_
Key_Service
();
Data_Mileage_Write_EEPROM
();
Key_Clear_Time
();
Key_TimeOut_Service
();
...
...
@@ -54,6 +54,7 @@ void Sys_50ms_Tasks(void)
{
BackLight_Service
();
Telltales_Management
();
UDS_Read_Preconditions
();
g_u8Cursor_Posittion
=
Menu_Get_Current_Cursor_Information
();
...
...
Firmware/Source/UDS/UDS_ISO14229_Server.c
View file @
f086b2a3
...
...
@@ -6,6 +6,7 @@
日 期:2016.11.1
******************************************************************************/
#include "UDS_ISO14229_Server.h"
#include "Telltales\Telltales_user.h"
UDS_APP_RX_Union
UDS_APP_RX
;
UDS_APP_TX_Union
UDS_APP_TX
;
...
...
@@ -211,7 +212,11 @@ void UDS_Process_Service_Request(void)
{
case
0x10
:
UDS_Service_10_Indication
(
UDS_APP_RX
.
A_PDU
.
TA_type
,
UDS_APP_RX
.
A_PDU
.
Length
,
UDS_APP_RX
.
A_PDU
.
Data
);
break
;
case
0x22
:
UDS_Service_22_Indication
(
UDS_APP_RX
.
A_PDU
.
TA_type
,
UDS_APP_RX
.
A_PDU
.
Length
,
UDS_APP_RX
.
A_PDU
.
Data
);
case
0x22
:
if
(
g_u8UDSreadprec
>=
5U
)
{
UDS_Service_22_Indication
(
UDS_APP_RX
.
A_PDU
.
TA_type
,
UDS_APP_RX
.
A_PDU
.
Length
,
UDS_APP_RX
.
A_PDU
.
Data
);
}
break
;
/* case 0x2E: UDS_Service_2E_Indication(UDS_APP_RX.A_PDU.TA_type, UDS_APP_RX.A_PDU.Length, UDS_APP_RX.A_PDU.Data);
break;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment