OpenWrt+Arduino: Difference between revisions

From Wiki
No edit summary
 
Line 13: Line 13:
!W,011,001* <- write
!W,011,001* <- write


!D* <- dump all variables
!D* <- dump all variables


!S* <- status
!S* <- status


!I* <- device id
!I* <- device id


!C,xxx* <- command
!C,xxx* <- command


$xxx <- answer
$xxx <- answer


</pre>
</pre>
</blockquote>
</blockquote>

Latest revision as of 19:15, 1 November 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