-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35c20bf
commit 7c76a5b
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
``` |