OpenWrt+Arduino: Difference between revisions
(Die Seite wurde neu angelegt: „== simple serial protocol == <blockquote> <pre> var ||| !R,011* <- read ||| val ||| ||| !W,011,001* <- write !D* <- dump all variables !S…“) |
No edit summary |
||
(2 intermediate revisions 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