diff options
| author | s-ol <s+removethis@s-ol.nu> | 2024-02-18 19:17:25 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2024-02-18 19:17:25 +0000 |
| commit | eadeb98559ee1f4b896e016c598478fb0aebebcd (patch) | |
| tree | ed32f12740cd98b8a5ab40003b0156f7dac8ce5a | |
| parent | improve wireshark dissectors (diff) | |
| download | t937-serial-eadeb98559ee1f4b896e016c598478fb0aebebcd.tar.gz t937-serial-eadeb98559ee1f4b896e016c598478fb0aebebcd.zip | |
clean up and add README
| -rw-r--r-- | README.md | 25 | ||||
| -rwxr-xr-x | captures/handshake.pcapng (renamed from handshake.pcapng) | bin | 16260 -> 16260 bytes | |||
| -rwxr-xr-x | captures/ovencap.pcapng.gz (renamed from ovencap.pcapng.gz) | bin | 4912 -> 4912 bytes | |||
| -rwxr-xr-x | captures/statuscap.pcapng (renamed from statuscap.pcapng) | bin | 6500 -> 6500 bytes | |||
| -rwxr-xr-x | dissectors/ch340.lua (renamed from ch340.lua) | 0 | ||||
| -rwxr-xr-x | dissectors/pl2303.lua (renamed from pl2303.lua) | 0 | ||||
| -rwxr-xr-x | dissectors/t937.lua (renamed from t937.lua) | 0 |
7 files changed, 25 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..e840354 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +# T-937/M Serial Reverse Engineering + +This repo contains tools, notes and data from reverse engineering the Puhui T-937/M Reflow Oven's Serial protocol. + +- `captures`: Wireshark captures of Serial communications +- `dissectors`: Wireshark Lua plugins for dissecting messages + - `ch340.lua`: dissects USB captures for CH340/341-based USB-to-Serial converters + - `pl2303.lua`: dissects USB captures for PL2303-based USB-to-Serial converters + - `t937.lua`: dissects the actual Serial messages + +## Capturing USB-to-Serial communications on Windows + +- install Wireshark with USBPcap + - make sure you [have `USBPcapCMD.exe` in your extcap directory][usbpcapcmd] +- add the Lua scripts to your plugins or instruct wireshark to load them from elsewhere: + - `-Xlua_script:ch340.lua,t937.lua` +- set up capture options + - disable "Capture from all devices connected" + - disable "Capture from newly connected devices" + - enable Inject already connected devices' descriptors..." + - enable only the USB-to-Serial device +- start capturing +- connect from Pb-Free.exe + +[usbpcapcmd]: https://desowin.org/usbpcap/tour.html diff --git a/handshake.pcapng b/captures/handshake.pcapng Binary files differindex 875f79a..875f79a 100755 --- a/handshake.pcapng +++ b/captures/handshake.pcapng diff --git a/ovencap.pcapng.gz b/captures/ovencap.pcapng.gz Binary files differindex 4e63fa2..4e63fa2 100755 --- a/ovencap.pcapng.gz +++ b/captures/ovencap.pcapng.gz diff --git a/statuscap.pcapng b/captures/statuscap.pcapng Binary files differindex 6968bc6..6968bc6 100755 --- a/statuscap.pcapng +++ b/captures/statuscap.pcapng diff --git a/ch340.lua b/dissectors/ch340.lua index 14c92bb..14c92bb 100755 --- a/ch340.lua +++ b/dissectors/ch340.lua diff --git a/pl2303.lua b/dissectors/pl2303.lua index 6615166..6615166 100755 --- a/pl2303.lua +++ b/dissectors/pl2303.lua diff --git a/t937.lua b/dissectors/t937.lua index 9d37ba6..9d37ba6 100755 --- a/t937.lua +++ b/dissectors/t937.lua |
