OpenWrt+Arduino: Difference between revisions

From Wiki
Line 3: Line 3:
<blockquote>
<blockquote>
<pre>
<pre>
   var
   variable id
   |||
   |||


!R,011* <- read
!R,011* <- read


   ||| val
   ||| value
   ||| |||
   ||| |||



Revision as of 13:46, 5 October 2012

simple serial protocol

   variable id
   |||	

!R,011*			<- read

   ||| value
   ||| |||

!W,011,001*		<- write

!D*				<- dump all variables

!S*				<- status

!I*				<- device id

!C,xxx*			<- command

$xxx			<- answer