ztzhang / GoProWifiCommand

Gopro wifi command hack---a sniff result of Gopro App . The Json file can be used as a Gopro control API. Simply connect to yout Gopro hotspot and send the corresponding http request to control it via Wifi. Only Tested for Hero4.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Actual state of a command

phlegx opened this issue · comments

Hi!

Thank you for this list of commands. How can I get the actual state of a command? E.g. I want to know which primary modus is actually set.

Hi, I added a GetStatus command. You can send this request (http://10.5.5.9:8080/gp/gpControl/status) and decode the json returned. To decode, you may need to refer to the actual url. For example, to get resolution under video mode, you could look at ReturnedJson[settings][2]. I believe the Primary mode is [settings][0] and submode is [settings][1]