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
7e737154
Commit
7e737154
authored
Sep 15, 2024
by
王雅楠
🍎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://tyw-server.synology.me:12345/shihao/haojin750tft
into wangyanan
parents
fde2a2bb
8ba7c58d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
29 deletions
+39
-29
BlueTooth.c
Firmware/Source/Application/BlueTooth.c
+31
-21
CAN_CH0_CAN_Communication_Matrix.c
...are/Source/Application/CAN_CH0_CAN_Communication_Matrix.c
+1
-1
Key_user.c
Firmware/Source/Component/Key/Key_user.c
+4
-4
UDS_ISO14229_Services.h
Firmware/Source/UDS/UDS_ISO14229_Services.h
+3
-3
No files found.
Firmware/Source/Application/BlueTooth.c
View file @
7e737154
...
...
@@ -13,6 +13,7 @@ _QRCODE_RECT QRCode_Rect;
const
uint8_t
HJBlueToothName
[
9
]
=
{
"HJ750"
};
uint8_t
UUIDConfigBuf
[
22
]
=
{
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0x00
};
//"600032023120100000995"
uint8_t
SetBluetoothCloseCount
=
0
;
uint8_t
OSVersionASCLLList
[
20
]
=
{
0x56
,
0x00
,
...
...
@@ -47,33 +48,42 @@ void TextService(void);
void
BlueToothService
(
void
)
{
// SetUUIDTimes++;
if
(
Get_Dis_Bluetooth_Open_Close
()
==
0
)
if
(
SYS_OPR_STAT_IGN_ON
)
{
if
(
Get
BlueToothVaild
==
0
)
if
(
Get
_Dis_Bluetooth_Open_Close
()
==
0
)
{
SetBluetoothTurnXX
(
1
);
GetBlueToothVaild
=
1
;
if
(
GetBlueToothVaild
==
0
)
{
SetBluetoothTurnXX
(
1
);
GetBlueToothVaild
=
1
;
}
}
}
else
{
if
(
GetBlueToothVaild
==
1
)
else
{
SetBluetoothTurnXX
(
0
);
GetBlueToothVaild
=
0
;
if
(
GetBlueToothVaild
==
1
)
{
if
(
SetBluetoothCloseCount
<
30
)
{
SetBluetoothTurnXX
(
0
);
}
else
{
GetBlueToothVaild
=
0
;
SetBluetoothCloseCount
=
0
;
}
SetBluetoothCloseCount
++
;
}
}
}
if
((
BlueToothPhoneData
.
BlueToothSignalSate
==
BlueTooth_Connection
)
&&
(
GetPhoneBookVaild
==
0
))
{
PackedTransfer_GetPhoneBookCmd
();
GetPhoneBookVaild
=
1
;
}
else
if
(
BlueToothPhoneData
.
BlueToothSignalSate
==
BlueTooth_DisConnect
)
{
GetPhoneBookVaild
=
0
;
}
if
((
BlueToothPhoneData
.
BlueToothSignalSate
==
BlueTooth_Connection
)
&&
(
GetPhoneBookVaild
==
0
))
{
PackedTransfer_GetPhoneBookCmd
();
GetPhoneBookVaild
=
1
;
}
else
if
(
BlueToothPhoneData
.
BlueToothSignalSate
==
BlueTooth_DisConnect
)
{
GetPhoneBookVaild
=
0
;
}
if
((
BlueToothPhoneData
.
BlueToothPhoneSate
==
Phone_Outgoing
)
||
(
BlueToothPhoneData
.
BlueToothPhoneSate
==
Phone_Incoming
)
||
(
BlueToothPhoneData
.
BlueToothPhoneSate
==
Phone_Talking
))
{
...
...
Firmware/Source/Application/CAN_CH0_CAN_Communication_Matrix.c
View file @
7e737154
...
...
@@ -45,7 +45,7 @@ const st_CANMsgAttribute CAN_CH0_CAN_MSG_CONST_ARRAY[CAN_CH0_ID_TOTAL_MAX] =
{
0x00u
,
0x00u
,
0x00u
,
0x00u
,
0x00u
,
0x00u
,
0x00u
,
0x00u
},
{
0x00u
,
0x00u
,
0x00u
,
0x00u
,
0x00u
,
0x00u
,
0x00u
,
0x00u
},
{
0x00u
,
0x00u
,
0x00u
,
0x00u
,
0x00u
,
0x00u
,
0x00u
,
0x00u
},
5
000ul
,
1
000ul
,
0x402ul
,
((
void
*
)
0
),
((
void
*
)
0
),
...
...
Firmware/Source/Component/Key/Key_user.c
View file @
7e737154
...
...
@@ -306,7 +306,7 @@ void Get_Into_OTA_Update_Mode(void)
{
if
(
Menu_Get_Current_Cursor_Information
()
==
MENU_ITEM_FAULT_INFORMATION
)
{
OTA_Update_Flag
=
!
OTA_Update_Flag
;
OTA_Update_Flag
=
1U
;
}
}
void
KEY_LEFT_EVENT_NONE_Service
(
void
)
...
...
@@ -387,13 +387,13 @@ void Get_DisTime_Service(void)
void
My_Key_Service
(
void
)
{
/* 自检时不可操作按键 */
if
(
g_u8SelfCheck
)
/* 自检
和OTA界面
时不可操作按键 */
if
(
(
g_u8SelfCheck
)
&&
(
OTA_Update_Flag
==
0
))
{
if
((
Get_ActualVechileSpeed
()
==
0
)
||
((
Get_DispVechileSpeed
()
>=
1990
)
&&
(
Get_DispEngineSpeed
()
>=
12000
)))
{
Key_Service
();
}
}
}
}
...
...
Firmware/Source/UDS/UDS_ISO14229_Services.h
View file @
7e737154
...
...
@@ -29,12 +29,12 @@
/******************************************************************************
program version
*******************************************************************************/
#define SWV 0x10
5
// 0x100 = 1.00 software version 软件版本号
#define SWV 0x10
6
// 0x100 = 1.00 software version 软件版本号
#define HWV 0x110 // 0x100 = 1.00 hardware version 硬件版本号
#define BTV 0x104 // 0x100 = 1.00 bootloader version boot程序版本号
#define internal_version (10
5
UL)
/* 内部版本号 105 -> 1.05 */
#define internal_date (20240
80
5UL)
/* 内部版本日期 20240805 -> 2024.08.05 */
#define internal_version (10
6
UL)
/* 内部版本号 105 -> 1.05 */
#define internal_date (20240
91
5UL)
/* 内部版本日期 20240805 -> 2024.08.05 */
/**
*DFlash
...
...
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