Skip to content

Commit

Permalink
added README
Browse files Browse the repository at this point in the history
  • Loading branch information
activeshadow committed Jul 29, 2024
1 parent 35c20bf commit 7c76a5b
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions src/go/intercom/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Intercom Module

> TODO: improve upon this README
The `intercom` module uses MQTT to extend an OT-sim device's message bus data
to other OT-sim devices. This is helpful when, for example, multiple other
OT-sim devices that are being used as HMI servers need to talk to the same
remote OT-sim device. This could be done using DNP3, for example, but the DNP3
module only supports a single client connection. Using the `intercom` module
also cuts down on configuration requirements since it simply mirrors all tags
automatically.

## TODO

* [ ] Update client and broker implementations to default to the following settings.

```
<intercom mode="broker">
<endpoint>:1883</endpoint>
<publish>
<status>true</status>
<update>false</update>
</publish>
<subscribe>
<status>false</status>
<update>true</update>
</subscribe>
</intercom>
```

```
<intercom mode="client">
<endpoint>tcp://10.2.2.2:1883</endpoint>
<publish>
<status>false</status>
<update>true</update>
</publish>
<subscribe>
<status>true</status>
<update>false</update>
</subscribe>
</intercom>
```

0 comments on commit 7c76a5b

Please sign in to comment.