OpenWrt+Arduino: Difference between revisions

From Wiki
(Die Seite wurde neu angelegt: „== simple serial protocol == <blockquote> <pre> var ||| !R,011* <- read ||| val ||| ||| !W,011,001* <- write !D* <- dump all variables !S…“)
 
Line 5: Line 5:
   var
   var
   |||
   |||
!R,011* <- read
!R,011* <- read
   ||| val
   ||| val
   ||| |||
   ||| |||
!W,011,001* <- write
!W,011,001* <- write



Revision as of 13:45, 5 October 2012

simple serial protocol

   var
   |||	

!R,011*			<- read

   ||| val
   ||| |||

!W,011,001*		<- write

!D*				<- dump all variables

!S*				<- status

!I*				<- device id

!C,xxx*			<- command

$xxx			<- answer