Difference between revisions of "Protocol decoder:Avclan"

From sigrok
Jump to navigation Jump to search
(Initial revision)
 
(Add some external implementations of AVC-LAN and IEBus)
 
Line 63: Line 63:


== Resources ==
== Resources ==
Available proof-of-concept implementations of IEBus and AVC-LAN protocols:
* [https://github.com/GadgetNutt/AVC-LAN-Module-Builder AVC-LAN-Module-Builder]
* [https://github.com/halleysfifthinc/Toyota-AVC-LAN Toyota-AVC-LAN]
* [https://github.com/halleysfifthinc/toyota-avc-lan-bluetooth toyota-avc-lan-bluetooth]
* [https://github.com/instalator/AVC-LAN-Toyota AVC-LAN-Toyota]
* [https://github.com/KostyaSha/arduino-iebus arduino-iebus]


[[Category:Protocol decoder]]
[[Category:Protocol decoder]]
[[Category:CAN]]
[[Category:CAN]]

Latest revision as of 14:50, 7 June 2023

avclan
Name AVC-LAN
Description A multi-drop multi-master differential CAN-like bus
Status 100%
License GPLv3+
Source code decoders/
Input iebus
Probes
Optional probes ?
Options

The avclan protocol decoder handles decoding IEBus frames which are used in the multimedia control AVC-LAN protcol. It handles communications between Audio Head Units, CD Changers, Amplifiers, Switches, Navigation and so on.

Protocol

The decoder matches hardware addresses to their known device names as well as device functions (aka. Logical Addresses) to known names. It also decodes frame contents for some devices such as CD-Player, Radio Tuner, CD Changer and so on.

Usage with Pulseview

An example session with Pulseview can be shown below:

Avclan-pulseview.png

Usage with sigrok-cli

➜  avclan git:(avclan-dumps) ✗ sigrok-cli -i CD-REPORT_PLAYBACK.sr -P iebus:bus=D0,avclan -A iebus=fields,avclan=devices:control:cmd:cd:audio:radio
iebus-1: Broadcast
iebus-1: Master: 0x190
avclan-1: AUDIO_HU2
iebus-1: Slave: 0x1ff
avclan-1: GROUP_AUDIO
iebus-1: Control: WRITE_DATA
iebus-1: Data Length: 11
iebus-1: Data: 0x62
iebus-1: Data: 0x31
iebus-1: Data: 0xf1
iebus-1: Data: 0x01
iebus-1: Data: 0x10
iebus-1: Data: 0x01
iebus-1: Data: 0x02
iebus-1: Data: 0x03
iebus-1: Data: 0x15
iebus-1: Data: 0x00
iebus-1: Data: 0x80
avclan-1: From Function: CD
avclan-1: To Function
avclan-1: State: CDStateCodes.PLAYBACK
avclan-1: CD #1
avclan-1: Track #2
avclan-1: Time: 03:15
avclan-1: Flags: CDFlags.0
avclan-1: Opcode: REPORT_PLAYBACK
➜  avclan git:(avclan-dumps) ✗ 

Resources

Available proof-of-concept implementations of IEBus and AVC-LAN protocols: