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
521e54db
Commit
521e54db
authored
Sep 27, 2024
by
张金硕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:新增诊断写入uuid
parent
23454a7c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
BlueTooth.c
Firmware/Source/Application/BlueTooth.c
+8
-3
Components.h
Firmware/Source/Component/Components.h
+1
-0
UDS_ISO14229_Services.h
Firmware/Source/UDS/UDS_ISO14229_Services.h
+1
-0
No files found.
Firmware/Source/Application/BlueTooth.c
View file @
521e54db
...
...
@@ -11,8 +11,9 @@ uint16_t LastPhoneBookTotalCount = 0;
_PICID_Struct
PicObj
;
_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
UUIDConfigBuf
[
21
]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
//007502024092400000002
//0x30,0x30,0x37,0x35,0x30,0x32,0x30,0x32,0x34,0x30,0x39,0x32,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x31
uint8_t
SetBluetoothCloseCount
=
0
;
uint8_t
OSVersionASCLLList
[
20
]
=
{
...
...
@@ -97,7 +98,11 @@ void BlueToothService(void)
}
}
SetUUIDData
((
char
*
)
UUIDConfigBuf
,
22
);
for
(
uint8_t
i
=
0
;
i
<
21
;
i
++
)
{
UUIDConfigBuf
[
i
]
=
Diag_Write_Data
.
DID_5000
[
i
];
}
SetUUIDData
((
char
*
)
UUIDConfigBuf
,
21
);
if
(
OTA_Update_Flag
==
1
)
{
QRCode_Rect
.
x
=
650
;
...
...
Firmware/Source/Component/Components.h
View file @
521e54db
...
...
@@ -37,6 +37,7 @@
#include "Telltales\Telltales_Lib.h"
#include "Application\BlueTooth.h"
#include "cgc.h"
#include "UDS\UDS_ISO14229_Services.h"
#endif
Firmware/Source/UDS/UDS_ISO14229_Services.h
View file @
521e54db
...
...
@@ -348,6 +348,7 @@ typedef struct
// uint8_t fill_data[17]; /* 用于保证该结构体长度是4的倍数 */
}
Diag_Write_Data_t
;
extern
Diag_Write_Data_t
Diag_Write_Data
;
extern
void
UDS_Service_10_Indication
(
uint16_t
A_TA_type
,
uint16_t
A_Length
,
uint8_t
*
A_Data
);
extern
void
UDS_Service_11_Indication
(
uint16_t
A_TA_type
,
uint16_t
A_Length
,
uint8_t
*
A_Data
);
...
...
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