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 revisionBoth sides next revision
articles:pentax_k-1_wifi [2016/11/17 22:58] – [/v1/photos/...] moritzarticles:pentax_k-1_wifi [2016/11/17 23:04] – [/v1/photos/...] moritz
Line 136: Line 136:
  
   GET /v1/photos/102_1117/IMGP1856.JPG?size=thumb&storage=sd1 HTTP/1.1   GET /v1/photos/102_1117/IMGP1856.JPG?size=thumb&storage=sd1 HTTP/1.1
-Reads a specific image from the SD card. The camera replies with a HTTP 200 OK and sends a jpeg encoded image.+Reads a specific thumbnail image from the SD card. The camera replies with a HTTP 200 OK and sends a jpeg encoded image
 + 
 +  GET /v1/photos/102_1117/IMGP1857.JPG?size=view&storage=sd1 HTTP/1.1 
 +Reads a larger resolution image from the SD card.
  
   GET /v1/photos/102_1117/IMGP1857.JPG/info?storage=sd1 HTTP/1.1   GET /v1/photos/102_1117/IMGP1857.JPG/info?storage=sd1 HTTP/1.1
Line 156: Line 159:
 </code> </code>
  
 +==== /v1/liveview ====
 +
 +  GET /v1/liveview HTTP/1.1
 +Seems to initiate live viewing. It didn't really work in the app.
 +
 +==== /v1//lens/focus ====
 +
 +  POST /v1/lens/focus HTTP/1.1
 +Parameters are ''pos=52,52''. I think they refer to where the focus point is set. The camera sends the following reply:
 +<code javascript>
 +{"errCode": 200,
 + "errMsg": "OK",
 + "focused": true,
 + "focusCenters": [],
 + "focusEffectiveArea": [70,64]}
 +</code>
articles/pentax_k-1_wifi.txt · Last modified: 2016/11/17 23:16 by moritz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki