Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.19 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.19 KB

Note: This has now been merged upstream (commit b094e81)

Sigrok protocol decoder for the SDQ protocol. The SDQ protocol was developed by Texas Instruments, and is used in devices like the bq26100 battery pack authentication IC. Apple uses SDQ in devices with MagSafe or Lightning connectors, as well as in some batteries.

Screenshot from PulseView: PulseView screenshot

Installation

The easiest way to use this protocol decoder is to drop it in its own subdirectory under ~/.local/share/libsigrokdecode/decoders (Linux) or %ProgramData%\libsigrokdecode\decoders (Windows). Create the directory if it does not exist.

Example:

mkdir -p ~/.local/share/libsigrokdecode/decoders
cd ~/.local/share/libsigrokdecode/decoders
git clone https://github.com/pakesson/sigrok-sdq-decoder.git sdq

Example data

An example dump of an iPhone SE being plugged into an untrusted computer can be found under examples/.

Alternatives

If you use Saleae Logic, check out SDQAnalyzer by Thomas Roth.