DynamoBen,
should I post the data in hex or ascii or both ?
DynamoBen,
should I post the data in hex or ascii or both ?
Hex first.
OK,
Here it is.
Again, I want to be able to program a PIC to,for example, fold mirrors in when a pin goes high. Just don't know where to start ???
MIRROR FOLD IN:
02
06 03 00 0B
12 00 40
21 26
20 91 00
20 D8 00
06
06 03 00 0B
51
20 D8 00
30 01 01 16 02 12 01 17
0C B3 00
06 98
06 98
30 04 01 0C 02 10 01 0D
20 D8 00
05 B3 00 00
85 00
05 00
05 B3 00 00
20 D8 00
20 D8 00
20 D8 00
20 D8 00
20 D8 00
MIRROR FOLD OUT:
02
06 03 00 0B
86 1E
21 26
20 91 00
20 D8 00
07 02
47
61 22
06 00
20 D8 00
30 01 01 16 02 12 01 17
06
06 03 00 0B
06 98
30 04 01 0C 02 10 01 0D
20 D8 00
05 B3 00 00
05 B3 00 00
20 D8 00
20 D8 00
20 D8 00
20 D8 00
20 D8 00
I need you at do an ATH1, then ATMA. Then fold the mirrors.
This time post the ASCII version.
Here is what is supposed to be ASCII but it wont copy and paste accuratelyfor some reason.
ˆÿ xŠÂ @ϊá@8ŠÇ¡!&JˆÎ¦…jê@ ‘CŠê@ ØgŠë` žˆß@|õéÞ€Šê@ Øg«Æ@!&cëÆ@a&
Šë`0s
Šë`0Š”€³æ
Šë€0
Ë
Šë€0
¢j …3Šê@ ØŠ”€³ª•§³Šê@ ØgŠê@ ØgŠê@ ØjÞ@
ƒŠê@ Øg>
Here is HEX
>ATZ
ELM322 v2.0
>AT H1
OK
>ATMA
88 FF A0 02 78
8A C2 A0 12 00 40 CF
8A C3 A1 12 00 40 38
8A C7 A0 A1 22 78
6A EA 40 20 9E 00 E0
49 FE 1A 06 75
EB C6 40 61 22 62
8A EA 40 20 D8 00 67
49 FE 98 06 24
8A EB 60 30 01 01 16 02 12 01 17 73
6A 94 80 06 98 C5
8A EB 80 30 04 01 0C 02 10 01 0D A2
6A C2 A0 85 00 33
8A EA 40 20 D8 00 67
6A C2 A0 05 00 FA
AA 95 A7 05 B3 00 00 05
8A EA 40 20 D8 00 67
8A EA 40 20 D8 00 67
8A EA 40 20 D8 00 67
8A EA 40 20 D8 00 67
What do you think ?
Ok, that tells me a lot. Heres the story.
First off, yes this is the standard protocol that I had expected. It follows the J2178 SAE standard.
This is in a 3 byte form meaning the first byte is Priority/Type, second is Target Address (Functional), Third is Source Address.
All the Sources are "Body Controllers."
A0-BF are "Convience (Doors, Seats, Windows)"
The Target Address is Functional which means its value determines the item being controlled.
6A C2 A0 05 00 FA
Lets use the above to describe what is what. C2 is the mirrors being sent a message from A0 a source inside the vehicle. 05 is telling the mirror to retract.
05=retract mirror
06=extend mirror
SAE J2178 part 2 describes the packet, and J2178 Part 4 describes the functional addresses. If you google you may run across these documents.
Bookmarks