Anonymous

Project:Java-Rako/Published API: Difference between revisions

From London Hackspace Wiki
m
Reverted edits by Ytogohiga (Talk) to last revision by Robert
No edit summary
m (Reverted edits by Ytogohiga (Talk) to last revision by Robert)
Line 1: Line 1:
----
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
----
=[http://ucozisit.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
----
=[http://ucozisit.co.cc CLICK HERE]=
----
</div>
{{Project}}
{{Project}}


Line 27: Line 19:
following format:
following format:


     http://rakobridge/rako.cgi?room=5&amp;ch=4&amp;com=3
     http://rakobridge/rako.cgi?room=5&ch=4&com=3


The example would send Scene 1 command to room 5, channel 4. If channel is omitted it will default to 0 meaning all channels. A page containing the phrase &quot;Success!&quot; is returned.
The example would send Scene 1 command to room 5, channel 4. If channel is omitted it will default to 0 meaning all channels. A page containing the phrase "Success!" is returned.


=UDP/IP=
=UDP/IP=
Line 35: Line 27:
      
      


{| border=&quot;1&quot;
{| border="1"
|-
|-
|0||1||2||3||4||5||6 ...||n
|0||1||2||3||4||5||6 ...||n
|-
|-
|&quot;R&quot;||#Bytes to follow||Room# high||Room# low||Channel #||Instruction||0-7 bytes||CRC
|"R"||#Bytes to follow||Room# high||Room# low||Channel #||Instruction||0-7 bytes||CRC
|-
|-
|}
|}
Line 46: Line 38:
Sum of these bytes must equal zero.
Sum of these bytes must equal zero.


The reply is either &quot;AOK&quot; or &quot;AERROR&quot;
The reply is either "AOK" or "AERROR"
1,143

edits