* pdc320.html: Started documenting the pdc320 protocol.

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6253 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Marcus Meissner
2003-02-25 21:04:24 +00:00
parent b0d07f77f1
commit b7d3dab3d6

View File

@@ -0,0 +1,49 @@
<html>
<head><title>PDC320 protocol description</title></head>
<body>
<h1>Polaroid PDC320 protocol description</h1>
<hr>
Commands are prefixed with 4 E6.
<hr>
<table>
<tr>
<td>name</td>
<td>byte code</td>
<td>command length</td>
<td>reply length</td>
<td>reply desc</td>
</tr>
<tr>
<td>Init</td>
<td>0x00</td>
<td>None.</td>
<td>1 byte, 0x05</td>
<td>Just returns 1 byte.</td>
</tr>
<tr>
<td>Id</td>
<td>0x01</td>
<td>None.</td>
<td>12 bytes, starting with 0x00</td>
<td>Returns 12 byte. Byte 1-9 are the string "XIRLINK", these are followed
by a 0x02, 0x01 and 2 unknown additional bytes.
</td>
</tr>
<tr>
<td>State</td>
<td>0x02</td>
<td>None.</td>
<td>22 bytes, starting with 0x02</td>
<td>Returns 22 bytes. First byte is 0x02.
</td>
</tr>
<tr>
<td>End Init</td>
<td>0x0a</td>
<td>no additional parameters</td>
<td>1 byte, 0x09</td>
<td>Just returns 1 byte.</td>
</tr>
</table>
</body></html>