From b1d52402bf4d54615f709c5c15963b5b2fc9f342 Mon Sep 17 00:00:00 2001 From: danielpeintner Date: Mon, 3 Aug 2020 15:36:11 +0200 Subject: [PATCH] docs: minor typos/issues # 7.13 The invokeAction() method Point 6: "create interaction datasteps" --> "create interaction data steps" # 8.6 Handling requests for reading multiple Poperties Typo in header: "Poperties" --> "Properties" Point 6, "Protocol Bindingsand" --> "Protocol Bindings and" # 8.13 The setPropertyWriteHandler() method "observeable" --> "observable" # 8.20 The EventSubscriptionHandler callback "with a options object" --> "with an options object " # 9. The ThingDiscovery interface "occured" --> "occurred" --- index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 75f3ab6d..a6f0b28d 100644 --- a/index.html +++ b/index.html @@ -1529,7 +1529,7 @@

The invokeAction() method

If |form| is failure, reject |promise| with a {{SyntaxError}} and abort these steps.
  • - Let |args| be the result of running the create interaction datasteps on |params|, |form| and |interaction|. If that throws, reject promise with that exception and abort these steps. + Let |args| be the result of running the create interaction data steps on |params|, |form| and |interaction|. If that throws, reject promise with that exception and abort these steps.
  • Make a request to the underlying platform (via the Protocol Bindings) to invoke the Action identified by |actionName| with parameters provided in |args| and optional URI templates given in |options|'s |uriVariables|. @@ -1934,7 +1934,7 @@

    The PropertyReadHandler callback

    -

    Handling requests for reading multiple Poperties

    +

    Handling requests for reading multiple Properties

    When a network request for reading multiple Properties given in an object |propertyNames| is received with |options:InteractionOptions|, @@ -1954,7 +1954,7 @@

    The PropertyReadHandler callback

  • Let |value| be the result of running the read server property steps on |name| and |options|. - If that throws, send back the error in the reply created by following the Protocol Bindingsand abort these steps. + If that throws, send back the error in the reply created by following the Protocol Bindings and abort these steps.
  • Set the value of |propertyNames|'s |name| to |value|. @@ -2216,7 +2216,7 @@

    The PropertyWriteHandler callback

    There MUST be at most one write handler for any given Property, so newly added handlers MUST replace the previous handlers. If no write handler is initialized for any given Property, implementations SHOULD implement default property update if the Property is writeable and notifying observers on change if the Property is - observeable, based on the Thing Description. + observable, based on the Thing Description.

    When the method is invoked given |name:string| and @@ -2435,7 +2435,7 @@

    The EventSubscriptionHandler callback

    A function that is called when an external request for subscribing to an Event is received and defines what to do with such requests. - It is invoked with a |options:InteractionOptions| object provided by the implementation and coming from subscribers. + It is invoked with an |options:InteractionOptions| object provided by the implementation and coming from subscribers. It returns a {{Promise}} that rejects with an error or resolves when the subscription is accepted.

    @@ -2931,7 +2931,7 @@

    The ThingDiscovery interface

    The done property is `true` if the discovery has been completed with no more results to report and discovery results is also empty.

    - The error property represents the last error that occured during the discovery process. Typically used for critical errors that stop discovery. + The error property represents the last error that occurred during the discovery process. Typically used for critical errors that stop discovery.

    Constructing {{ThingDiscovery}}