peci1 / lumix-link-desktop

A unofficial desktop version of the Panasonic Lumix Link app for remote control of your Lumix camera.
BSD 3-Clause "New" or "Revised" License
154 stars 21 forks source link

G9 support? #9

Open META-DREAMER opened 4 years ago

META-DREAMER commented 4 years ago

Any chance this could support the Lumix G9?

IdrisTheDragon commented 4 years ago

Give it a try and see if it will, if not you'd have to capture a few exchanges between the imageapp and camera and see what API requests the app is making to the camera. From this it would be possible to reverse engineer support from it.

Ramulin commented 4 years ago

@IdrisTheDragon - Which packet capture methods do you typically use? None of the Android packet capture apps I've seen so far look convincingly reputable.

IdrisTheDragon commented 4 years ago

I used this one when I was playing about with it.

https://play.google.com/store/apps/details?id=app.greyshirts.sslcapture

peci1 commented 4 years ago

If you have a more capable router running Linux or openwrt, you can try installing tshark and capturing via that one.

peci1 commented 4 years ago

Or you can try to set your computer as a hotspot, connect the camera to the hotspot and run packet capture on it. However, I'm not sure how easy it is to capture hotspot devices in wireshark, I'd expect some quirks.

IdrisTheDragon commented 4 years ago

When I was playing about with capturing data between my G7 and lumix app, I did try using wireshark initially with some success. My main issue when using wireshark directly was trying to filter the packets on the network to only the ones between the camera and lumix app. Wireshark is powerful and definitely the recommended reputable tool, I should have mentioned it in my response earlier. The app linked above I found had a nicer UI, very easy to filter by app and could export in a format that wireshark could understand, which is why I thought of it first and I used it in the end over wireshark. Whether it's reputable is unknown.

Ramulin commented 4 years ago

I'd like to push some small changes. Can you give me permission to create branches and issue pull requests for this repo?

IdrisTheDragon commented 4 years ago

The way to contribute to most projects on GitHub, is you create your own fork of the project, create a branch in the fork, commit your code to your branch in the fork, then you can create a pull request back into the master repository when it's ready. Link any issues it relates to in the PR. Then the pull request can be reviewed by project owner before being merged, and is much safer and easier than giving out permissions.

Ramulin commented 4 years ago

Will do.