aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2024-02-18 19:17:25 +0000
committers-ol <s+removethis@s-ol.nu>2024-02-18 19:17:25 +0000
commiteadeb98559ee1f4b896e016c598478fb0aebebcd (patch)
treeed32f12740cd98b8a5ab40003b0156f7dac8ce5a
parentimprove wireshark dissectors (diff)
downloadt937-serial-eadeb98559ee1f4b896e016c598478fb0aebebcd.tar.gz
t937-serial-eadeb98559ee1f4b896e016c598478fb0aebebcd.zip
clean up and add README
-rw-r--r--README.md25
-rwxr-xr-xcaptures/handshake.pcapng (renamed from handshake.pcapng)bin16260 -> 16260 bytes
-rwxr-xr-xcaptures/ovencap.pcapng.gz (renamed from ovencap.pcapng.gz)bin4912 -> 4912 bytes
-rwxr-xr-xcaptures/statuscap.pcapng (renamed from statuscap.pcapng)bin6500 -> 6500 bytes
-rwxr-xr-xdissectors/ch340.lua (renamed from ch340.lua)0
-rwxr-xr-xdissectors/pl2303.lua (renamed from pl2303.lua)0
-rwxr-xr-xdissectors/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
index 875f79a..875f79a 100755
--- a/handshake.pcapng
+++ b/captures/handshake.pcapng
Binary files differ
diff --git a/ovencap.pcapng.gz b/captures/ovencap.pcapng.gz
index 4e63fa2..4e63fa2 100755
--- a/ovencap.pcapng.gz
+++ b/captures/ovencap.pcapng.gz
Binary files differ
diff --git a/statuscap.pcapng b/captures/statuscap.pcapng
index 6968bc6..6968bc6 100755
--- a/statuscap.pcapng
+++ b/captures/statuscap.pcapng
Binary files differ
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