BlinkenArea - GitList
Repositories
Blog
Wiki
flaneth
Code
Commits
Branches
Tags
Search
Tree:
e8658d5
Branches
Tags
master
flaneth
firmware.dartboard
http_simple
index.html
initial commit after making CF identify work
Stefan Schuermans
commited
e8658d5
at 2012-04-15 19:57:57
index.html
Blame
History
Raw
<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> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope/" soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> <soap:Body xmlns="http://stefan.blinkenarea.org/flaneth/dartboard-mod/soap"> <GetHit> <timeout>5</timeout> </GetHit> </soap:Body> </soap:Envelope> </pre> timeout: time in seconds to wait for field to be hit<br> </li> <li> example response (double bull): <pre> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope/" soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> <soap:Body xmlns="http://stefan.blinkenarea.org/flaneth/dartboard-mod/soap"> <GetHitResponse> <factor>2</factor> <value>25</value> </GetHitResponse> </soap:Body> </soap:Envelope> </pre> factor: 1 for single, 2 for double, 3 for triple<br> value: value of field that was hit<br> </li> <li> example response (single one): <pre> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope/" soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> <soap:Body xmlns="http://stefan.blinkenarea.org/flaneth/dartboard-mod/soap"> <GetHitResponse> <factor>1</factor> <value>1</value> </GetHitResponse> </soap:Body> </soap:Envelope> </pre> factor: 1 for single, 2 for double, 3 for triple<br> value: value of field that was hit<br> </li> <li> example response (nothing hit): <pre> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope/" soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> <soap:Body xmlns="http://stefan.blinkenarea.org/flaneth/dartboard-mod/soap"> <GetHitResponse> </GetHitResponse> </soap:Body> </soap:Envelope> </pre> </li> </ul> <br><br> flaneth - __VERSION__ </body> </html>