diff options
author | Julian T <julian@jtle.dk> | 2020-02-12 16:47:08 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-02-12 16:47:08 +0100 |
commit | f17e8e195bd1ee3f911ae311dce8e8f7df4f8457 (patch) | |
tree | f936824c4c893ce9b0f4da136cbcce143d0eb0cb /sem4/embedded/m3/EBNF.txt | |
parent | 6db1a2cdd3b96731f2e092d55d8c2136eabc52d0 (diff) |
Added assignments for emb_m3
Diffstat (limited to 'sem4/embedded/m3/EBNF.txt')
-rw-r--r-- | sem4/embedded/m3/EBNF.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sem4/embedded/m3/EBNF.txt b/sem4/embedded/m3/EBNF.txt new file mode 100644 index 0000000..8c1a81a --- /dev/null +++ b/sem4/embedded/m3/EBNF.txt @@ -0,0 +1,14 @@ +l2frame = 0x02, len, l3packet, checksum, 0x03; +len = byte; +checksum = byte, byte; +l3packet = type, recv_id, transducerl, quiet, nummasters, masters; +recv_id = byte, byte, byte; +transducerl = byte; +quiet = byte; +nummasters = byte; +masters = master | { master }; +master = rssi, txid, txidtime; +rssi = byte; +txid = byte, byte, byte; +txidtime = byte, byte; +byte = 0 | 1 | 2 | ... | 255; |