OpenThermal / libseek-thermal

SEEK thermal compact camera driver supporting the thermal Compact, thermal CompactXR and and thermal CompactPRO
MIT License
286 stars 99 forks source link

How to get the initial usb command of seek pro #16

Closed Tonykids closed 6 years ago

Tonykids commented 6 years ago

Great project and I have modified the old SeekOFix on Windows with your initial command of seek pro and it works well. What i want to know is how did you manage to get the right initial command of seek pro ? just use the USB protocol analyzer or other ways?

maartenvds commented 6 years ago

Sniffing USB trafic with wireshark on a host machine while the android app was running on a virtual android machine (on the same host), communicating with the camera. I just mimicked the behavior of the initialization procedure.

Tonykids commented 6 years ago

I tried vmware workstation and vitrualbox but when i connect the device into the virtual machine , the device do not show in wireshark on the host. my host is windows 7,or I need a Linux platform?

maartenvds commented 6 years ago

I used genymotion android emulator on a native linux machine (ubuntu). Wireshark was running on the native linux. In addition I had to forward the usb device to the emulator so it could access it. You could install genymotion on windows and try the same thing. Never did that myself though.

Tonykids commented 6 years ago

Succeed ! Thanks a lot !