Skip to content

Commit

Permalink
Updated method discovery example.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfjlaros committed Feb 8, 2019
1 parent 6a0d7b2 commit c02549c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/protocol.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Method discovery is initiated by the host by writing one byte with value
``0xff`` to the serial device.

The device will respond with a list of method descriptions delimited by an end
of line signature (``\n``). The list is terminated by an additional end of line
of string signature (``\0``). The list is terminated by an additional end of line
signature.

Each method description consists of a struct_ formatted function signature and
Expand All @@ -34,9 +34,9 @@ follows.

::

<h: <h;inc: Increment a value. @a: Value. @return: a + 1.
: B;set_led: Set LED brightness. @brightness: Brightness.
<h: <h;inc: Increment a value. @a: Value. @return: a + 1.\0
: B;set_led: Set LED brightness. @brightness: Brightness.\0
\0


Remote procedure call
Expand Down

0 comments on commit c02549c

Please sign in to comment.