OpenWrt+Arduino: Difference between revisions
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
<blockquote> | <blockquote> | ||
<pre> | <pre> | ||
variable id | |||
||| | ||| | ||
!R,011* <- read | !R,011* <- read | ||
||| | ||| value | ||
||| ||| | ||| ||| | ||
!W,011,001* <- write | !W,011,001* <- write | ||
!D* | !D* <- dump all variables | ||
!S* | !S* <- status | ||
!I* | !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