Open caullla opened 4 years ago
Try to be more verbose. How do you connect to the camera (which camera :) ), how you launch the app... Just anything that could help debugging the issue.
I have g85. I create a hot-spot on camera and connect my pc to that wifi.
I open. requests.html and it ask me to enter IP address. I figured out that camera IP is 192.168.54.1. If I click any button I get err_unsuitable_app
Do you have API/protocol documentation somewhere? I would appreciate if you can share it.
It is working if I connect camera to my home Wifi...
Good, so at least something. If you try connecting via the hotspot, can you try to open http://192.168.54.1/cam.cgi?mode=getstate
in your browser?
The API is not published anywhere I know, so this has been mostly reverse-engineering, which has its limits. Most of the reverse-engineered endpoints are in requests.html
.
GET: http://192.168.54.1/cam.cgi?mode=getstate
<camrply>
<result>err_unsuitable_app</result>
</camrply>
It's apparently not only a problem of this alternative app:
https://www.dpreview.com/forums/post/59890874 https://www.dpreview.com/forums/post/59361977
Maybe you can try an idea from the first link: before accessing this dekstop app, try to connect to the camera from the Android app.
Ok, I'm able to reproduce this on my GX-80. I'm having a look into it, but it's probably gonna be a tough one...
If anybody else wanted to help, here's a wireshark capture of the communication of a tablet and the camera. The capture starts at the moment the tablet connects to the hotspot, and ends with a command to take a picture. During most of the capture, a continuous video feed is transmitted over UDP, which shows the camera viewfinder. But that's probably not really helpful for this debugging.
I think I got this fixed in version 3.3.0.
If it still wouldn't work when connected to a hotspost, can you try manually opening http://192.168.54.1/cam.cgi?mode=accctrl&type=req_acc&value=0&value2=Lumix%20Link%20Desktop
before running the app? This seems to be the magical command that opens the connection. It also forces the camera to ask you to authorize the device on first connection.
Thanks for quick fix and sorry for late response. Was a bit busy. I will test it today.
I'm getting
err_unsuitable_app
for any request. Any idea why?