From a5a518f016268a1891e1353b8a5d3dc1b3e0c407 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Fri, 25 Sep 2020 19:32:06 +0200 Subject: [PATCH] Updated protocol --- protocol.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/protocol.md b/protocol.md index 4a989f6..87a301a 100644 --- a/protocol.md +++ b/protocol.md @@ -105,3 +105,19 @@ Request format: ### `chanprop` + +--- + +Anything that isn't a command above will return with `2` which means _unknown command_. +`0` generally means that everything went well but commands can send more data after it, +it depends, and `1` means error - also more data may follow. + +## notifications + +We know as tristanable tag 1, but then _types_ of notifications is the important factor described here. + +### TODO: message receive format + +``` +|-- notifyTYpe (1 byte) --|-- .. +``` \ No newline at end of file