sony_camera_api icon indicating copy to clipboard operation
sony_camera_api copied to clipboard

More undocumented functions from "imaging-edge-mobile-7-5-1"

Open mungewell opened this issue 3 years ago • 4 comments

It looks like there are more undocumented functions from "imaging-edge-mobile-7-5-1" (the APK that one would install on their phone).

For example

simon@thevoid:~/camera_fw/imaging_edge/imaging-edge-mobile-7-5-1/smali/com/sony/mexi/orb
/client/camera$ grep "const-string v1" CameraClient.smali | sort | uniq

    const-string v1, "actChangeFocalPosition"
    const-string v1, "actFormatStorage"
    const-string v1, "actHalfPressShutter"
    const-string v1, "actShiftFocalPosition"
    const-string v1, "actSuperSlowRecBuffering"
    const-string v1, "actSuperSlowRecRecording"
    const-string v1, "actTakePicture"
    const-string v1, "actTrackingFocus"
    ...

Attached below is an 'authenticate.py' which requests to use EVERYTHING that ImagingEdge knows about, wonder how much more capabilities this adds to various cameras. authenticate-imaging-edge-mobile-7-5-1.py.txt

mungewell avatar Apr 03 '21 03:04 mungewell

I had previously added some undocumented functions from 'PlayMemories v6.1.0' here: https://github.com/mungewell/sony_camera_api/tree/undoc_functions

Seems that 'Imaging Edge v 7.5.1' adds quite a few, and removes a couple... the total count in each is:

  185   Functions from CameraRemoteAPIbeta_SDK_2.40
  235   Functions from PlayMemories
  264   Functions from ImagingEdge

In pictorial form this looks like: Screenshot_2021-04-04_15-35-28

It would be a little bit of work to update my previous branch to current code, which I down for doing.

I'd suggest that the code is pysony.py has these as additional sections. ie # Additional functions from PlayMemories followed by # Additional functions from ImagingEdge. Thoughts??

mungewell avatar Apr 04 '21 21:04 mungewell

I also notice the pysony.py has all the 'def setXXX()' grouped together, and then followed by the 'get' 'getSupported' and 'getAvailable' are grouped together for a particular XXX function.

Is this how we want the undocumented functions to be grouped?

mungewell avatar Apr 04 '21 23:04 mungewell

Coded here, but not tested on camera yet... https://github.com/mungewell/sony_camera_api/tree/undoc2

mungewell avatar Apr 05 '21 04:04 mungewell

Are you aware of any commands to control this pan/tilt head? It's said to be controllable by "yt-26playmemories mobile app".

jumpjack avatar Mar 02 '23 09:03 jumpjack