From 12876be5e12682defe8b9679edf4192efbcfb732 Mon Sep 17 00:00:00 2001 From: Izaya Date: Fri, 16 Feb 2018 22:49:42 +1100 Subject: [PATCH] specified character set restrictions on addresses and such --- protocol-3.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/protocol-3.md b/protocol-3.md index fe9e9ed..9769ffe 100644 --- a/protocol-3.md +++ b/protocol-3.md @@ -41,6 +41,15 @@ Packets are made up of separated parts, as allowed by OpenComputers modems. - port: virtual port, number \< 65536 - data: the actual packet data, or in the case of an acknowledgement packet, the original packet ID, string +Strings in Minitel packets, with the exception of the data portion, have the following restrictions: + +- Maximum length of 255 characters +- ASCII 0 through 31 are not allowed +- ASCII 127 is not allowed +- ASCII 128 and above (ie unicode) behavior is undefined and should be used with caution. + +The data part of the packet can contain any characters. + ### Example exchange: Node bob sends a reliable packet to node alice, on port 44: