gopro / labs

GoPro Labs
Apache License 2.0
497 stars 40 forks source link

TUSB breaks media browsing over HTTP api #1141

Open pavloshargan opened 4 weeks ago

pavloshargan commented 4 weeks ago

Hi, I've noticed a very annoying bug that took several months of investigation for me to narrow down. The problem is that if the camera is configured with TUSB and was turned on by a blutooth connection, then gopro/media/list returns {"Unknown Error."} and media browsing doesn't work in both Quick and my application.

The workaround is to use WAKE, but it will still break if i power camera off by a bluetooth command and turn it on by bluetooth command again. Attaching the video demonstration: https://youtu.be/qxRQsNSvoEc?si=it2vc6nfFO5I2rzX

P.S The GoPro i have problem with is HERO10 with the latest labs.

I tested this with HERO12 and it works fine, wasn't able to reproduce

dnewman-gpsw commented 4 weeks ago

HERO10 is unlikely see any more updates. It is an odd conflict as TUSB only sets the supply of current to 3A. The error is likely in the base firmware, as HERO12 doesn't have the issue (same TUSB code.). Continue with WAKE and don't use BLE power off.