X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=README.md;h=3872733ebd1122d22eb9dd9a53eeb9a0cb2622c0;hb=6e3b45dd6cef95c1577a91b15a1256fa4b06ca88;hp=17602cc831500e0c663871a786e27b0484f2f9f7;hpb=ff56601fe3bbca4a5d507de43f31de10a11dfdb5;p=mTask.git diff --git a/README.md b/README.md index 17602cc..3872733 100644 --- a/README.md +++ b/README.md @@ -40,12 +40,11 @@ The following programs are available as of now: This compiles a subset of *mTasks* to bytecode. ### Protocol -The engine starts with no tasks. To send a new task the following protocol must -be adhered. +The server can send task specifications to the microcontroller by sending: +| id | length +| 's' | n | n bytes | newline -Since the system consists only of stores and tasks they are send in different -ways. -**TODO** +Where n is a 16bit integer. ### Bytecode operations The header file for the interpreter with the corresponding bytevalues can be