Updated protocol

This commit is contained in:
Tristan B. Kildaire 2020-09-25 19:32:06 +02:00
parent b81b7a37cd
commit a5a518f016
1 changed files with 16 additions and 0 deletions

View File

@ -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) --|-- ..
```