User Tools

Site Tools


articles:pentax_k-1_wifi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
articles:pentax_k-1_wifi [2016/11/17 23:04] – [/v1/photos/...] moritzarticles:pentax_k-1_wifi [2016/11/17 23:16] (current) – [Extracting the APK] moritz
Line 16: Line 16:
   adb pull /data/app/com.ricohimaging.imagesync-2/base.apk .   adb pull /data/app/com.ricohimaging.imagesync-2/base.apk .
  
 +See the second half of [[http://android.stackexchange.com/a/75436/34272]] for good instructions.
 ==== ARC Welder ==== ==== ARC Welder ====
  
Line 174: Line 175:
  "focusCenters": [],  "focusCenters": [],
  "focusEffectiveArea": [70,64]}  "focusEffectiveArea": [70,64]}
 +</code>
 +
 +==== /v1/camera/shoot ====
 +
 +  POST /v1/camera/shoot HTTP/1.1
 +Parameters are ''af=off''. It shoots a picture.
 +<code javascript>
 +{"errCode": 200,
 + "errMsg": "OK",
 + "focused": true,
 + "focusCenters": [],
 + "focusEffectiveArea": [70,64],
 + "captured": false}
 +</code>
 +
 +==== /v1/params/camera ====
 +
 +  PUT /v1/params/camera HTTP/1.1
 +Sets various camera paramters. Here are some examples:
 +  sv=auto
 +  xv=0.0
 +
 +Without form encoded data, it replies:
 +<code javascript>
 +{"errCode": 200,
 + "errMsg": "OK",
 + "avList": [ "4.0", "4.5", "5.0", "5.6", "6.3", "7.1", "8.0", "9.0", "10", "11", "13", "14", "16", "18", "20", "22", "25", "29"],
 + "tvList": [ "30.1", "25.1", "20.1", "15.1", "13.1", "10.1", "8.1", "6.1", "5.1", "4.1", "3.1", "25.10", "2.1", "16.10", "13.10", "1.1", "8.10", "6.10", "5.10", "4.10", "3.10", "1.4", "1.5", "1.6", "1.8", "1.10", "1.13", "1.15", "1.20", "1.25", "1.30", "1.40", "1.50", "1.60", "1.80", "1.100", "1.125", "1.160", "1.200", "1.250", "1.320", "1.400", "1.500", "1.640", "1.800", "1.1000", "1.1250", "1.1600", "1.2000", "1.2500", "1.3200", "1.4000", "1.5000", "1.6400", "1.8000"],
 + "svList": ["auto", "100", "200", "400", "800", "1600", "3200", "6400", "12800", "25600", "51200", "102400", "204800"],
 + "xvList": [ "+5.0", "+4.7", "+4.3", "+4.0", "+3.7", "+3.3", "+3.0", "+2.7", "+2.3", "+2.0", "+1.7", "+1.3", "+1.0", "+0.7", "+0.3", "0.0", "-0.3", "-0.7", "-1.0", "-1.3", "-1.7", "-2.0", "-2.3", "-2.7", "-3.0", "-3.3", "-3.7", "-4.0", "-4.3", "-4.7", "-5.0"],
 + "exposureModeOption": "",
 + "state": "idle",
 + "av": "4.0",
 + "tv": "1.40",
 + "sv": "800",
 + "xv": "0.0",
 + "WBMode": "auto",
 + "shootMode": "single",
 + "exposureMode": "U1",
 + "stillSize": "L3",
 + "movieSize": "FHD30p",
 + "effect": "cim_natural",
 + "filter": "off",
 + "timerExposure": false}
 +</code>
 +
 +==== /v1/photos/latest/... ====
 +
 +  GET /v1/photos/latest/info?storage=sd1 HTTP/1.1
 +Gets information about the latest picture. Camera replies
 +<code javascript>
 +{"errCode": 200,
 + "errMsg": "OK",
 + "captured": true,
 + "dir": "102_1117",
 + "file": "IMGP1857.JPG",
 + "av": "4.0",
 + "sv": "200",
 + "xv": "0",
 + "tv": "1.8",
 + "orientation": 1,
 + "cameraModel": "PENTAX K-1",
 + "latlng": "47.000000,8.000000",
 + "datetime": "2016-11-17T23:20:17"}
 </code> </code>
articles/pentax_k-1_wifi.1479420282.txt.gz · Last modified: 2016/11/17 23:04 by moritz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki