Stefan Schuermans
initial commit after making CF identify work
Stefan Schuermans commited e8658d5 at 2012-04-15 19:57:57
<html>
<head>
<title>flaneth - dartboard mod</title>
<meta http-equiv="pragma" content="no-cache">
</head>
<body>
<h1>UDP interface</h1>
<ul>
<li>send empty UDP datagram to UDP port 501</li>
<li>receive UDP datagrams containing hit field (e.g. 2x25 for double bull)</li>
</ul>
<br><br>
<h1>SOAP interface</h1>
<ul>
<li>URL: http://flaneth-dartboard-mod:80/dart</li>
</ul>
<ul>
<li>
example request:
<pre>
&lt;soap:Envelope
xmlns:soap=&quot;http://www.w3.org/2001/12/soap-envelope/&quot;
soap:encodingStyle=&quot;http://www.w3.org/2001/12/soap-encoding&quot;&gt;
&lt;soap:Body xmlns=&quot;http://stefan.blinkenarea.org/flaneth/dartboard-mod/soap&quot;&gt;
&lt;GetHit&gt;
&lt;timeout&gt;5&lt;/timeout&gt;
&lt;/GetHit&gt;
&lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;
</pre>
timeout: time in seconds to wait for field to be hit<br>
</li>
<li>
example response (double bull):
<pre>
&lt;soap:Envelope
xmlns:soap=&quot;http://www.w3.org/2001/12/soap-envelope/&quot;
soap:encodingStyle=&quot;http://www.w3.org/2001/12/soap-encoding&quot;&gt;
&lt;soap:Body xmlns=&quot;http://stefan.blinkenarea.org/flaneth/dartboard-mod/soap&quot;&gt;
&lt;GetHitResponse&gt;
&lt;factor&gt;2&lt;/factor&gt;
&lt;value&gt;25&lt;/value&gt;
&lt;/GetHitResponse&gt;
&lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;
</pre>
factor: 1 for single, 2 for double, 3 for triple<br>
value: value of field that was hit<br>
</li>
<li>
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX