This is an old revision of the document!
Table of Contents
Open Oly ImageShare
Import photos from Olympus cameras via Wi-Fi connection
- See the GitHub source code repository
- Available on the Google Play
App (Free and Open Source) to download images from an Olympus camera using the Wi-Fi connection. The app is written in Python using the Kivy framework; using the same codebase you can run the program in Android, GNU/Linux, Windows and others O.S. The app is actually tested in GNU/Linux and Android 13.
Olympus E-M10 Wi-Fi Protocol API examples
Once you cannet an host to the camera private access point, you can point an HTTP client to the camera web server (http://192.168.0.10/) and retrieve several data:
GET /get_caminfo.cgi GET /get_connectmode.cgi GET /get_commandlist.cgi GET /switch_cammode.cgi?mode=play GET /set_utctimediff.cgi?utctime=20230911T132038&diff=+0200 GET /get_rsvimglist.cgi GET /get_imglist.cgi?DIR=/DCIM GET /get_thumbnail.cgi?DIR=/DCIM/100OLYMP/P9100457.JPG GET /DCIM/100OLYMP/P9100457.JPG GET /get_camprop.cgi
See below the Specification of Communication Protocol for Open Platform Camera document for further explanation. Beware that not all the commands are available on all the cameras. E.g. the exec_erase.cgi is available on the E-M10 Mark IV, but is not supported by the Mark II.
Change Settings over Wi-Fi
Olympus made a severe downgrade in the E-M10 Mark IV model, removing the capability to store MySet which were available on the Mark II. Only a subset of the settings can be enforced using the Wi-Fi protocol, whereas the MySet provided an extensive coverage of user selectable options.
Based on the output of get_commandlist of the E-M10 Mark IV, here are the settings that you can restore using an hypothetical Wi-Fi procedure:
| Dials | |
|---|---|
| shutspeedvalue | Rear dial |
| expcomp | Front dial |
| focalvalue | Zoom ring |
| takemode | Mode dial |
| Super Control Panel/Live control | |
| drivemode | Sequential shooting/Self-timer |
| isospeedvalue | ISO sensitivity |
| wbvalue | White balance |
| artfilter | Picture mode |
| SceneSub | Scene mode |
| colorphase | Partial Color (Art Filter 14 I, II, III) |
| exposemovie | Movie exposure mode |
RTP Extension Header
The length of the fields is expressed in terms of the number of 32-bit words — that is, in multiples of 4 bytes. Values are transmitted in standard network byte order (big-endian), i.e. the Most Significant Byte is first.
| List of Individual Information | |||
|---|---|---|---|
| ID | Length | Identifier | Description |
| 1 | 1 | framesize | Frame Size of Live View Image |
| 2 | 5 | afframeinfo | Auto Focus Information |
| 3 | 1 | mntmediainfo | Status of Mounted Memory Card |
| 4 | 1 | rotation | Camera Orientation |
| 5 | 1 | maxtakenum | Storage Capacity (Number of Images) |
| 6 | 1 | | |
| 7 | | ||
| 8 | 3 | shutspeedvalue | Shutter Speed |
| 9 | 3 | focalvalue | F-Number |
| 10 | 3 | expcomp | Exposure Compensation |
| 11 | 2 | wbvalue | White Balance |
| 12 | 3 | isospeedvalue | ISO Sensitivity |
| 13 | | ||
| 14 | 1 | | |
| 15 | | ||
| 16 | 1 | expphotowarning | Exposure / Exposure Metering Warning |
| 17 | 1 | focusinfo | Focus Mode |
| 18 | 3 | zoominfo | Zoom |
| 19 | 2 | | |
| 20 | 1 | | |
| 26 | 6 | | |
| 106 | 2 | maxmovietime2 | Storage Capacity (Number of Seconds for Movie Recording) |
| 107 | 3 | levelvial | Level Meter |
| 108 | 2 | facerecognize1 | Face Detection 1 |
| 100 | 2 | facerecognize2 | Face Detection 2 |
| 110 | 2 | facerecognize3 | Face Detection 3 |
| 111 | 2 | facerecognize4 | Face Detection 4 |
| 112 | 2 | facerecognize5 | Face Detection 5 |
| 113 | 2 | facerecognize6 | Face Detection 6 |
| 114 | 2 | facerecognize7 | Face Detection 7 |
| 115 | 2 | facerecognize8 | Face Detection 8 |
| 200 | 1 | contrecview | Preview Image during Continuous Shooting |
ID 2 afframeinfo
The RTP Extension Header contains function ID 2, labeled afframeinfo.
ID 8 shutspeedvalue
The RTP Extension Header contains function ID 8, labeled shutspeedvalue.
ID 5 maxtakenum
The RTP Extension Header contains function ID 5, labeled maxtakenum. It contains the estimated maximum number of images that can be stored on the storage medium. The number is capped to 9999.
| Label | Hex | Dec | maxtakenum in the RTP header |
|---|---|---|---|
| maxtakenum | 0x0ff6 | 4086 | 00000ff6 |
ID 9 focalvalue
The RTP Extension Header contains function ID 9, labeled focalvalue. In this example we have a lens with max f/22.0, min f/3.5 and current f/3.5.
| Label | Dec | Hex | focalvalue in the RTP header |
|---|---|---|---|
| F-Number | 220, 35, 35 | 0x00dc, 0x0023, 0x0023 | 000000dc 00000023 00000023 |
Bytes breakdown:
| Field | Hex (4 bytes) | Decimal | F-Number (÷ 10) | Meaning |
|---|---|---|---|---|
| DWord 1 (Bytes 0–3) | 000000dc | 220 | f/22.0 | Max F-Number, smallest aperture available |
| DWord 2 (Bytes 4–7) | 00000023 | 35 | f/3.5 | Min F-Number, widest aperture at current zoom |
| DWord 3 (Bytes 8–11) | 00000023 | 35 | f/3.5 | Current F-Number, active / metered aperture |
ID 10 expcomp
The RTP Extension Header contains function ID 10, labeled expcomp.
| M.Zuiko Digital ED 14-42 mm F3.5-5.6 EZ Pancake | 00000032 ffffffce 00000000 |
| M.Zuiko Digital ED 40-150 mm F4.0-5.6 R | 00000032 ffffffce fffffff9 |
| TTArtisan 10mm F2 ASPH | 00000032 ffffffce fffffff9 |
ID 11 wbvalue
The RTP Extension Header contains function ID 11, labeled wbvalue, which carries the white balance value. It consists of two 32-bit words (8 bytes in total). The first word represents the white balance setting. The Keep Warm Color bit is not included in this field. Similarly, the Kelvin temperature for Custom White Balance is not included in this field.
| Label | Dec | Hex | wbvalue in the RTP header |
|---|---|---|---|
| Auto (Keep Warm Color On) | 0 | 0x0000 | 00000000 00010000 |
| Auto (Keep Warm Color Off) | 0 | 0x0000 | 00000000 00010000 |
| Sunny | 18 | 0x0012 | 00000012 00000000 |
| Shadow | 16 | 0x0010 | 00000010 00000000 |
| Cloudy | 17 | 0x0011 | 00000011 00000000 |
| Incandescent | 20 | 0x0014 | 00000014 00000000 |
| Flourescent | 35 | 0x0023 | 00000023 00000000 |
| WB Flash | 23 | 0x0017 | 00000017 00000000 |
| Capture WB1 | 256 | 0x0100 | 00000100 00000000 |
| Capture WB2 | 257 | 0x0101 | 00000101 00000000 |
| Capture WB3 | 258 | 0x0102 | 00000102 00000000 |
| Capture WB4 | 259 | 0x0103 | 00000103 00000000 |
| CWB (for any K setting) | 512 | 0x0200 | 00000200 00000000 |
ID 16 expphotowarning
The RTP Extension Header contains function ID 16, labeled expphotowarning.
Example values:
| M.Zuiko Digital ED 14-42 mm F3.5-5.6 EZ Pancake | 0000 0000 |
| M.Zuiko Digital ED 40-150 mm F4.0-5.6 R | 0000 0000 |
| TTArtisan 10mm F2 ASPH | 0001 0001 |
| Field | Meaning if value is 1 |
|---|---|
| Word 1 (Bytes 0–1) | Cannot determine ISO sensitivity, shutter speed or aperture value for a correct exposure. |
| Word 2 (Bytes 2–3) | Subject is too dark or too bright. |
ID 17 focusinfo
The RTP Extension Header contains function ID 17, labeled focusinfo.
Example values:
| M.Zuiko Digital ED 14-42 mm F3.5-5.6 EZ Pancake | 0000 0000 |
| M.Zuiko Digital ED 40-150 mm F4.0-5.6 R | 0000 0000 |
| TTArtisan 10mm F2 ASPH | 0002 0000 |
Only the first 16-bit word means:
| Value | Meaning |
|---|---|
| 0 | Single (S-AF) |
| 1 | Continuous (C-AF) |
| 2 | Manual (MF) |
ID 18 zoominfo
The RTP Extension Header contains function ID 18, labeled zoominfo.
| Mounted lens | Note | zoominfo value in the RTP header |
|---|---|---|
| M.Zuiko Digital ED 14-42 mm F3.5-5.6 EZ Pancake | AF, motorized zoom | 0009 000e 000e 002a 0000 0000 |
| M.Zuiko Digital ED 40-150 mm F4.0-5.6 R | AF, manual zoom | 0008 0028 003e 0096 0000 0000 |
| TTArtisan 10mm F2 ASPH | Manual focus | 0008 0000 0000 0000 0000 0000 |
Bytes breakdown:
| Field | Hex (2 bytes) | Decimal | Meaning |
|---|---|---|---|
| Word 1 (Bytes 0–1) | 0009 | 9 | |
| Word 2 (Bytes 2–3) | 000e | 14 | Minimum focal length / Wide limit (14mm) |
| Word 3 (Bytes 4–5) | 000e | 14 | Current focal length (14mm) |
| Word 4 (Bytes 6–7) | 002a | 42 | Maximum focal length / Telephoto limit (42mm) |
| Word 5 (Bytes 8–9) | 0000 | 0 | |
| Word 6 (Bytes 10–11) | 0000 | 0 | |
| Field | Hex (2 bytes) | Decimal | Meaning |
|---|---|---|---|
| Word 1 (Bytes 0–1) | 0008 | 9 | |
| Word 2 (Bytes 2–3) | 0028 | 40 | Minimum focal length / Wide limit (40mm) |
| Word 3 (Bytes 4–5) | 003e | 62 | Current focal length (62mm) |
| Word 4 (Bytes 6–7) | 0096 | 150 | Maximum focal length / Telephoto limit (150mm) |
| Word 5 (Bytes 8–9) | 0000 | 0 | |
| Word 6 (Bytes 10–11) | 0000 | 0 | |
Web References
- My projects
Open Oly ImageShare on Google Play(removed because unmantained)
- Documentation and other projects
- Specification of Communication Protocol for Open Platform Camera
Official documentation Copyright © 2015 Olympus Corporation, rather incomplete and outdated. - Olympus OM-D Firmware & WLAN Hacks
Documentation on protocol reverse engineering
