Skip to content

Commit

Permalink
Fix command names in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnstee committed May 21, 2024
1 parent e4f66b4 commit 21ff92e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion MQTTClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ private async Task HandleMessageAsync(MqttApplicationMessageReceivedEventArgs ar
response.Status = new UAClient().ReadUAVariable(_uAApplication, requestPayload);
response.Success = true;
}
else if (args.ApplicationMessage.Topic.StartsWith(requestTopic.TrimEnd('#') + "HistoryRead"))
else if (args.ApplicationMessage.Topic.StartsWith(requestTopic.TrimEnd('#') + "HistoricalRead"))
{
response.Status = new UAClient().ReadUAHistory(_uAApplication, requestPayload);
response.Success = true;
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The topic must include either Read, Write or Command as well as a request ID in

UA Commander will respond via the configured broker response topic in the form {broker topic path}/{status code}/?$rid={request id}, for example /myUAServer/response/200/?$rid=123. In this message, the request ID will match the one in the original command message.

### Read Payload
### `Read` Command Payload

Reads a UA Node on an OPC UA server that must be in the UA Cloud Commander's network, example parameters:

Expand All @@ -59,7 +59,7 @@ Reads a UA Node on an OPC UA server that must be in the UA Cloud Commander's net
}
```

### Historical Read (HDA) Payload
### `HistoricalRead` Command (HDA) Payload

Reads the histroy for a UA Node on an OPC UA server that must be in the UA Cloud Commander's network, example parameters:

Expand All @@ -75,7 +75,7 @@ Reads the histroy for a UA Node on an OPC UA server that must be in the UA Cloud
}
```

### Write Payload
### `Write` Command Payload

Writes a UA Node on an OPC UA server that must be in the UA Cloud Commander's network, example parameters:

Expand All @@ -95,7 +95,7 @@ Writes a UA Node on an OPC UA server that must be in the UA Cloud Commander's ne

The Body is the value and the associated Type can be looked-up in the table [here](https://reference.opcfoundation.org/v104/Core/docs/Part6/5.1.2/).

### Command Payload
### `MethodCall` Command Payload

Executes a command on an OPC UA server that must be in the UA Cloud Commander's network, example parameters:

Expand Down

0 comments on commit 21ff92e

Please sign in to comment.