From 2a3bffdaa6b526632d0b84292cc1b0fc635e63d4 Mon Sep 17 00:00:00 2001 From: Mikayla Date: Sat, 12 Aug 2023 02:22:05 -0400 Subject: [PATCH] Updated Networking (markdown) --- Networking.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Networking.md b/Networking.md index ec833a9..e969be8 100644 --- a/Networking.md +++ b/Networking.md @@ -2,7 +2,15 @@ ## Network Architecture -Version 2 of the network architecture identifies devices using their unique computer ID's rather than the channel they are configured to use. This allows using only 5 channels for the whole system, which are common across all the configured devices. The default channels are shown in the diagram above. On multiplayer servers, it is highly encouraged (and necessary if there is more than one system) to not use the default channels, as having two systems on the same network will cause undesirable behavior, such as devices linking to the wrong system. +Version 2 of the network architecture identifies devices using their unique computer ID's rather than the channel they are configured to use. This allows using only 5 channels for the whole system, which are common across all the configured devices. The default channels are shown in the diagram above and the table below. On multiplayer servers, it is highly encouraged (and necessary if there is more than one system) to not use the default channels, as having two systems on the same network will cause undesirable behavior, such as devices linking to the wrong system. + +| Name | Default Channel | Purpose | +| --- | --- | --- | +| `SVR_CHANNEL` | `16240` | Channel for all devices to send messages to the supervisor | +| `PLC_CHANNEL` | `16241` | Channel for messages from the supervisor to the PLCs | +| `RTU_CHANNEL` | `16242` | Channel for messages from the supervisor to the RTUs | +| `CRD_CHANNEL` | `16243` | Channel for messages from the supervisor to the coordinator | +| `PKT_CHANNEL` | `16244` | Channel for messages from the supervisor/coordinator to pocket computers | ### HMAC Message Authentication